mcpdo
What it does
This skill teaches the AI how to use the mcpdo command line tool to reach MCP servers. It is for people who want their AI to use tools and data from connected servers.
When to use it
- βWhen you ask which MCP servers or tools you are connected to.
- βWhen you want your AI to call a tool on a connected MCP server.
- βWhen you need to read a resource or prompt from an MCP server.
Skill link
https://github.com/modelcontextprotocol/inspector/blob/main/skills/mcpdo/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βI want to see which MCP tools I have connected right now.β
5 new skills a week. 1 minute to read.
How it works
The AI lists the available server entries, connects to one, and then runs commands such as listing or calling tools on that open connection.
Technical content (original SKILL.md)
Original text by the author, straight from 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/listand 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-inspectordirectly. 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 --instructionsoutput to the project'sCLAUDE.md/AGENTS.md. (mcpdo agent-helpprints this guide;--skill-pathprints 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(standardmcpServersshape), overridable per shell via--catalog <path>orMCP_CATALOG_PATH.servers/listprints 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.jsoninstead connects an entry from a read-only foreign config file.
Conventions
--format jsonoutputs JSON; the default,--format text, is human-readable.- Always qualify commands with
@nameor--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 whenMCP_ALLOW_DEFAULT_CONNECTION=1is set. - Connections persist across separate
mcpdoinvocations 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 anauth_requirederror needs action (re-runconnect).mcpdo disconnectends one connection;mcpdo daemon stopresets everything. - The
[legacy]/[modern]era tag onconnections/listis the negotiated protocol generation (legacy= classicinitializehandshake β 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/listshows each stored URL with the catalog or connection names it is "known as" and aβ livemarker when a current connection holds it, so the store entries line up with the servers you use.auth/clearaccepts either the store URL or one of those friendly names (mcpdo auth/clear hosted-everything); a name that resolves to n
FAQ
Do I need to connect a server before using it?
Yes. The skill connects to a server first and then runs commands against that named connection.
How does the AI find the right command?
The skill points to mcpdo's help output, which lists the full set of commands and flags.
Can it disconnect when I am done?
Yes. The skill includes a disconnect command for each connection.
Details
Original description by the author
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.
Popularity
- GitHub stars
- 11k
- Ranking position
- #11793
- License
- β
- Updated
- 10/29/2026
Comments
- β¦
Similar skills
mcporter
394kHelps your agent list, call, and inspect MCP servers and their tools over HTTP or stdio, and manage their sign-in settings.
fastmcp
260kHelps you build, test, and deploy a Python MCP server that gives AI assistants access to your API, database, or files as tools.
mcp-oauth-remote-gateway
260kWalks you through OAuth sign-in for a remote MCP server when Hermes runs on a server, where the normal browser sign-in cannot reach it.