Pular para o conteúdo
Skillpedia
Conectores (MCP)11 mil · #11793

mcpdo

O que ela faz

Esta skill ensina a IA a usar a ferramenta de linha de comando mcpdo para acessar servidores MCP. É para pessoas que querem que a IA use ferramentas e dados de servidores conectados.

Quando usar

  • ✓Quando você pergunta a quais servidores ou ferramentas MCP está conectado.
  • ✓Quando você quer que a IA chame uma ferramenta em um servidor MCP conectado.
  • ✓Quando você precisa ler um recurso ou prompt de um servidor MCP.

Link da skill

https://github.com/modelcontextprotocol/inspector/blob/main/skills/mcpdo/SKILL.md

Copie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.

Como usar

O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.

Mensagem pronta para colar

Use esta skill para me ajudar: https://github.com/modelcontextprotocol/inspector/blob/main/skills/mcpdo/SKILL.md Leia o arquivo SKILL.md desse link e siga as instruções dele na minha tarefa.
Quer que a sua IA encontre skills como esta sozinha?Instale o MCP grátis do Skillpedia: uma linha, e ela pesquisa entre 15.000+ skills antes de cada tarefa.Instalar em 1 minuto →

Exemplo do que pedir para a IA

“Quero ver quais ferramentas MCP estão conectadas agora.”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

A IA lista as entradas de servidor disponíveis, se conecta a uma delas e depois executa comandos, como listar ou chamar ferramentas, nessa conexão aberta.

Conteúdo técnico (SKILL.md original)

Texto original do autor, em inglês, direto do GitHub.

mcpdo — MCP Inspector connection CLI

Connect to an MCP server once, then run many commands against that named connection.

mcpdo servers/list                           # catalog entries you can connect
mcpdo connect entry-name                     # connect a catalog entry
mcpdo connect https://example.com/mcp        # ad-hoc HTTP/SSE target
mcpdo connect node server.js                 # ad-hoc stdio target

mcpdo connections/list                       # open connections
mcpdo @entry-name tools/list
mcpdo @entry-name tools/call <toolName> arg:=value
mcpdo @entry-name resources/list
mcpdo @entry-name resources/read <uri>
mcpdo @entry-name prompts/list

mcpdo --connection entry-name tools/list     # flag form of @entry-name

mcpdo disconnect entry-name

The canonical flow is servers/list → connect <entry> → @entry <command>. Run mcpdo help or mcpdo <command> --help for the full, authoritative list of commands and flags (auth management, elicitation controls, daemon control, and more).

How to think about mcpdo

  • Connections extend your toolset. Treat every open connection's tools, resources, and prompts as part of your available capabilities: when facing a task (or before saying "I can't do that"), check mcpdo connections/list and the connected servers' tools/list, and call those tools mid-task like any built-in tool.
  • Answer capability questions with it. "What MCP servers/tools do I have?" includes mcpdo connections (connections/list) and catalog entries that are connectable but not connected (servers/list).
  • Don't auto-connect. Catalog entries don't describe capabilities, and connecting can start an auth flow involving the human. Connect when the user directs it, or when a task clearly needs it — and say so first.
  • Inspect via commands, not the filesystem. Entries, connections, auth state, and daemon state all have read commands; never list or read ~/.mcp-inspector directly. The one exception is editing the catalog (below).
  • Make it always-on (optional). Skills load only on demand; for standing awareness of mcpdo in a project, append mcpdo agent-help --instructions output to the project's CLAUDE.md/AGENTS.md. (mcpdo agent-help prints this guide; --skill-path prints the installable skill file's path.)

The catalog

  • servers/list / servers/show <name> read the catalog: the writable entry file at ~/.mcp-inspector/mcp.json (standard mcpServers shape), overridable per shell via --catalog <path> or MCP_CATALOG_PATH. servers/list prints the resolved source path.
  • servers/* shows entries on disk; connections/* shows live daemon state. Two shells with different catalogs share the same connections.
  • There are no CLI edit commands, by design: add or remove entries by editing the catalog file directly. mcpdo connect entry --config path/to/mcp.json instead connects an entry from a read-only foreign config file.

Conventions

  • --format json outputs JSON; the default, --format text, is human-readable.
  • Always qualify commands with @name or --connection <name> (shorthand --conn) from an agent shell: with non-interactive (non-TTY) stdin, mcpdo requires an explicit connection and errors without one. Omitting it falls back to the most-recently-used connection only on an interactive TTY, or anywhere when MCP_ALLOW_DEFAULT_CONNECTION=1 is set.
  • Connections persist across separate mcpdo invocations and self-heal: a dropped transport (expired session, exited stdio child) transparently re-dials on next use with stored credentials. Don't monitor or reconnect manually; only an auth_required error needs action (re-run connect). mcpdo disconnect ends one connection; mcpdo daemon stop resets everything.
  • The [legacy] / [modern] era tag on connections/list is the negotiated protocol generation (legacy = classic initialize handshake — current and fine, not deprecated). Informational only.

Auth

  • Auth is automatic at connect time and stored for reuse (mcpdo auth/list / mcpdo auth/clear). auth/list shows each stored URL with the catalog or connection names it is "known as" and a ● live marker when a current connection holds it, so the store entries line up with the servers you use. auth/clear accepts either the store URL or one of those friendly names (mcpdo auth/clear hosted-everything); a name that resolves to n
Perguntas frequentes

Preciso conectar um servidor antes de usá-lo?

Sim. A skill se conecta primeiro a um servidor e depois executa os comandos nessa conexão nomeada.

Como a IA encontra o comando certo?

A skill aponta para a saída de ajuda do mcpdo, que lista o conjunto completo de comandos e opções.

Ela pode desconectar quando eu terminar?

Sim. A skill inclui um comando de desconexão para cada conexão.

Detalhes

Descrição original do autor

Access MCP (Model Context Protocol) servers and their tools, resources, and prompts through the mcpdo CLI — connections it holds extend your capabilities alongside any built-in MCP support. Use this skill for any question or task about MCP servers, connections, or tools (e.g. "what MCP servers am I connected to?", "what MCP tools do I have?"), and whenever a task requires inspecting, testing, or scripting against an MCP server (stdio or HTTP) rather than writing custom client code.

repo: modelcontextprotocol/inspector

Popularidade

Estrelas no GitHub
11 mil
Posição no ranking
#11793
Licença
—
Atualizada em
29/10/2026

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Skills parecidas