Langsung ke konten
Skillpedia
Konektor (MCP)11k ยท #11793

mcpdo

Fungsinya

Skill ini mengajari AI cara memakai alat baris perintah mcpdo untuk menjangkau server MCP. Skill ini ditujukan untuk orang yang ingin AI mereka memakai alat dan data dari server yang terhubung.

Kapan dipakai

  • โœ“Saat Anda bertanya server atau alat MCP mana yang sedang terhubung.
  • โœ“Saat Anda ingin AI memanggil sebuah alat di server MCP yang terhubung.
  • โœ“Saat Anda perlu membaca sumber daya atau prompt dari server MCP.

Link skill

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

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/modelcontextprotocol/inspector/blob/main/skills/mcpdo/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit โ†’

Contoh permintaan ke AI

โ€œSaya ingin melihat alat MCP mana saja yang sedang terhubung ke saya sekarang.โ€

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

AI mendaftar entri server yang tersedia, terhubung ke salah satunya, lalu menjalankan perintah seperti mendaftar atau memanggil alat pada koneksi yang sudah terbuka tersebut.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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
Pertanyaan umum

Apakah perlu menghubungkan server sebelum memakainya?

Ya. Skill terlebih dahulu terhubung ke sebuah server, lalu menjalankan perintah terhadap koneksi bernama itu.

Bagaimana AI menemukan perintah yang tepat?

Skill mengarahkan ke keluaran bantuan mcpdo, yang mencantumkan seluruh perintah dan flag.

Bisakah saya memutus koneksi setelah selesai?

Bisa. Skill menyertakan perintah putus koneksi untuk setiap koneksi.

Detail

Deskripsi asli dari pembuat

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

Popularitas

Bintang GitHub
11k
Peringkat
#11793
Lisensi
โ€”
Diperbarui
29/10/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • โ€ฆ

Skill serupa