convez.ai
MCP ServerIntegração & APIsAvançado
discord-userdoccers

Discord Assets MCP

discord-userdoccers/discord-assets-mcp

Pesquise código compilado do Discord via MCP com cache inteligente

Ver no GitHub
InicialPluginScore · de 0 a 100

Servidor MCP que permite pesquisar e inspecionar código JavaScript e CSS compilado do cliente Discord. Acessa ativos cached de múltiplas superfícies Discord (app, dev portal, ads) com busca semântica e índices estruturados.

Instalação

$npx convez-ai discord-userdoccers/discord-assets-mcp

1 comando no terminal: detecta o formato do repositório (marketplace ou plugin avulso) e instala via Claude Code. Requer Node 18+ e o Claude Code instalado.

Métricas

Estrelas
3
Forks
0
Acompanhando
0
Saúde
37%
Último commit
há 5 meses
Versão
—
Issues abertas
0
Contribuidores
1

Casos de uso

  • Investigar implementações de features no cliente Discord
  • Buscar endpoints, rotas e identifiers específicos em bundles JS/CSS
  • Analisar mudanças entre versões do cliente Discord
  • Inspecionar tokens, exports e estrutura interna do código compilado

Veredito

Ferramenta especializada para quem precisa analisar profundamente internals do cliente Discord. Excelente para reverse engineering e pesquisa técnica, mas requer familiaridade com JavaScript compilado e estrutura interna da plataforma.

README

A tradução para o português deste README ainda está na fila.

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_app — https://canary.discord.com/app
  • canary_dev_portal — https://canary.discord.com/developers/applications
  • ads_portal — https://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 and reports each target's last_cached_at timestamp, or null when no cache exists yet.
  • 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>
Ver o original no GitHub

Bom para

Relacionados