# Mcpdo

Access MCP (Model Context Protocol) servers and their tools, resources, and prompts...

- Repository: https://github.com/modelcontextprotocol/inspector (11208 stars)
- Category: Testing
- License: see repository
- Last updated: 2026-10-29
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add modelcontextprotocol/inspector --skill mcpdo -g -a claude-code -y`
Codex: `npx skills add modelcontextprotocol/inspector --skill mcpdo -g -a codex -y`
Cursor: `npx skills add modelcontextprotocol/inspector --skill mcpdo -g -a cursor -y`
Gemini CLI: `npx skills add modelcontextprotocol/inspector --skill mcpdo -g -a gemini-cli -y`

## Description

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.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# mcpdo, MCP Inspector connection CLI

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

```bash
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

The rest: https://github.com/modelcontextprotocol/inspector/blob/HEAD/skills/mcpdo/SKILL.md
