mcpdo
यह क्या करती है
यह स्किल AI को mcpdo कमांड लाइन टूल से MCP सर्वर तक पहुँचना सिखाती है। यह उन लोगों के लिए है जो चाहते हैं कि उनका AI जुड़े सर्वरों के टूल और डेटा इस्तेमाल करे।
कब इस्तेमाल करें
- ✓जब आप पूछते हैं कि आप किन MCP सर्वर या टूल से जुड़े हैं।
- ✓जब आप चाहते हैं कि आपका AI किसी जुड़े MCP सर्वर का टूल चलाए।
- ✓जब आपको किसी MCP सर्वर से कोई संसाधन या prompt पढ़ना हो।
Skill का लिंक
https://github.com/modelcontextprotocol/inspector/blob/main/skills/mcpdo/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मुझे दिखाइए कि अभी कौन से MCP टूल मेरे साथ जुड़े हुए हैं।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
AI उपलब्ध सर्वर प्रविष्टियाँ सूचीबद्ध करता है, किसी एक से जुड़ता है, और फिर उस खुले कनेक्शन पर टूल सूचीबद्ध करने या चलाने जैसे कमांड चलाता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे 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
अक्सर पूछे जाने वाले सवाल
क्या इस्तेमाल से पहले सर्वर से जुड़ना ज़रूरी है?
हाँ। स्किल पहले सर्वर से जुड़ती है, फिर उस नामित कनेक्शन पर कमांड चलाती है।
AI सही कमांड कैसे ढूँढता है?
स्किल mcpdo की मदद वाली जानकारी की ओर इंगित करती है, जिसमें कमांड और फ़्लैग की पूरी सूची होती है।
क्या काम खत्म होने पर डिस्कनेक्ट हो सकता है?
हाँ। स्किल में हर कनेक्शन के लिए एक डिस्कनेक्ट कमांड शामिल है।
जानकारी
लेखक का मूल विवरण
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.
लोकप्रियता
- GitHub स्टार
- 11k
- रैंकिंग में स्थान
- #11793
- लाइसेंस
- —
- अपडेट की गई
- 29/10/2026
कमेंट
- …
मिलती-जुलती skills
mcporter
394kयह आपके एजेंट को HTTP या stdio पर MCP सर्वर और उनके टूल सूचीबद्ध करने, चलाने और जांचने देती है, और उनकी साइन-इन सेटिंग्स प्रबंधित करती है।
fastmcp
260kआपको Python में MCP सर्वर बनाने, जाँचने और तैनात करने में मदद करती है, जो AI सहायकों को आपके API, डेटाबेस या फ़ाइलों तक टूल के रूप में पहुँच देता है।
mcp-oauth-remote-gateway
260kजब Hermes किसी सर्वर पर चलता है, तो रिमोट MCP सर्वर के लिए OAuth साइन-इन हाथ से करने में मदद करती है, जहाँ सामान्य ब्राउज़र साइन-इन नहीं पहुँच पाता।