MCP Servers

A collection of Model Context Protocol servers, templates, tools and more.

MCP server for accessing compiled Discord client code

Created 5/26/2026
Updated about 4 hours ago
Repository documentation and setup instructions

Discord Assets Scraper

This workspace includes a VS Code-compatible MCP server for searching cached compiled JavaScript and CSS from Discord web surfaces.

Targets

  • canary_apphttps://canary.discord.com/app
  • canary_dev_portalhttps://canary.discord.com/developers/applications
  • ads_portalhttps://ads.discord.com

Cache Behavior

The server stores downloaded JavaScript, CSS, and manifests in .discord_js_cache/ by default. Normal overview, search, inspect, and view calls use the cache and do not redownload bundles. Refresh only happens when you call refresh_discord_js, when a target has no cache yet, or when you force refresh from the tool.

Set DISCORD_JS_MCP_CACHE to use a different cache directory.

VS Code MCP Config

Install the package in your active Python environment:

pip install -e .

Then add a server entry similar to this in your VS Code MCP configuration:

{
  "servers": {
    "discord-js-search": {
      "type": "stdio",
      "command": "discord-js-mcp",
      "cwd": "c:/Users/Dolfies/Workspace/discord-assets-scraper"
    }
  }
}

This workspace also includes .vscode/mcp.json, so VS Code can launch the server directly from the workspace when dependencies are installed.

If the script entry point is not on PATH, use Python directly:

{
  "servers": {
    "discord-js-search": {
      "type": "stdio",
      "command": "python",
      "args": ["-m", "discord_js_mcp.server"],
      "cwd": "c:/Users/Dolfies/Workspace/discord-assets-scraper"
    }
  }
}

Tools

  • discord_targets lists supported surfaces.
  • refresh_discord_js downloads and indexes the latest compiled JS and CSS.
  • discord_build_overview summarizes cached builds with useful labels, routes, endpoints, and identifiers.
  • search_discord_js searches cached JS/CSS and returns compact snippets.
  • search_discord_js_context searches cached JS/CSS and returns larger snippets.
  • inspect_discord_js_match expands a search result by target, filename, and character offset.
  • view_discord_js_file reads a slice of a cached JS or CSS asset.
  • discord_js_index views index sections such as routes, endpoints, exports, notable_identifiers, and tokens.
  • list_discord_js_files exists for completeness and includes both JS and CSS assets, but the overview and index tools are usually more useful than hashed filenames.

Typical Workflow

  1. Run refresh_discord_js for one or more targets.
  2. Run discord_build_overview to see meaningful bundle labels and indexed surfaces.
  3. Search by product language, route, API endpoint, store/action name, or feature token.
  4. Use inspect_discord_js_match to expand the interesting result.

The server also exposes read-only resources:

  • discord-js://<target>/<filename>
  • discord-js-index://<target>/<section>
Quick Setup
Installation guide for this server

Install Package (if required)

uvx discord-assets-mcp

Cursor configuration (mcp.json)

{ "mcpServers": { "discord-userdoccers-discord-assets-mcp": { "command": "uvx", "args": [ "discord-assets-mcp" ] } } }