/mcp-development:mcp-clifrom mcp-development
Discovers MCP servers, inspects tool schemas, and calls MCP tools from the command line with JSON, raw text, or stdin arguments. Useful for scripting MCP access or exploring available tools.
Ships in mcp-development. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Discover available MCP servers, inspect each tool's JSON input schema, then execute external tools, APIs, data sources, filesystems, databases, or GitHub integrations from the command line with explicit arguments and parseable output.
mcp-cli executable must be installed and configured for the current environment.| Command | Purpose | Notes |
|---|---|---|
mcp-cli | List all configured servers and tool names. | Add -d to include descriptions. |
mcp-cli <server> | Show the tools exposed by one server with parameters. | Use before calling an unfamiliar tool. |
mcp-cli <server> -d | Show the server tools with descriptions. | More verbose; useful for discovery. |
mcp-cli <server>/<tool> | Print the full JSON schema for one tool. | Inspect required fields, types, enums, and defaults. |
mcp-cli <server>/<tool> '<json>' | Call a tool with inline JSON arguments. | Quote JSON safely; prefer stdin for complex text. |
mcp-cli grep "<glob>" | Search tools by name. | Use shell-style patterns such as *file*. |
mcp-cli <server>/<tool> --json | Emit JSON output for scripting. | Pipe to jq, Python, or other parsers. |
mcp-cli <server>/<tool> --raw | Emit raw text content. | Use only when the downstream command expects plain text. |
mcp-cli unless the server/tool is already known.mcp-cli <server>; add -d when names alone are ambiguous.mcp-cli <server>/<tool> before constructing arguments.mcp-cli <server>/<tool> '<json>', stdin, or piped JSON; use --json when automation needs structured output.| Pattern | Use | Example |
|---|---|---|
| Inline JSON | Short, simple argument objects | mcp-cli filesystem/read_file '{"path": "./README.md"}' |
| Heredoc stdin | JSON containing quotes, newlines, or generated content | mcp-cli server/tool <<EOF followed by {"content": "Text with 'quotes' inside"} and EOF |
| Pipe from file | Reusable argument payloads | `cat args.json |
| Parseable output | Machine processing | mcp-cli filesystem/read_file '{"path": "./README.md"}' --json |
| Tool search | Unknown capability name | mcp-cli grep "*file*" |
# List all servers and tool names
mcp-cli
# See all tools with parameters
mcp-cli filesystem
# Include descriptions
mcp-cli filesystem -d
# Get JSON schema for a specific tool
mcp-cli filesystem/read_file
# Call the tool
mcp-cli filesystem/read_file '{"path": "./README.md"}'
# Search for tools
mcp-cli grep "*file*"
# JSON output for parsing
mcp-cli filesystem/read_file '{"path": "./README.md"}' --json
# Complex JSON with quotes through stdin
mcp-cli server/tool <<EOF
{"content": "Text with 'quotes' inside"}
EOF
# Pipe from a file or command
cat args.json | mcp-cli server/tool
# Find TypeScript files, extract the first path, then read it
mcp-cli filesystem/search_files '{"path": "src/", "pattern": "*.ts"}' --json | jq -r '.content[0].text' | head -1 | xargs -I {} sh -c 'mcp-cli filesystem/read_file "{"path": "{}"}"'
| Flag | Purpose |
|---|---|
-j, --json | JSON output for scripting; equivalent in intent to long-form JSON output. |
-r, --raw | Raw text content for consumers that do not want structured envelopes. |
-d | Include descriptions, for example mcp-cli filesystem -d. |
Use discovery to move from servers/tools lists to specific schemas, and pipe from a file/command when arguments are generated outside the shell.
| Code | Meaning | Response |
|---|---|---|
0 | Success | Read the returned content and continue. |
1 | Client error: bad arguments or missing config | Re-inspect the schema and server configuration. |
2 | Server error: the MCP tool failed | Report the tool error and retry only after changing inputs or context. |
3 | Network error | Check connectivity, server process state, credentials, or proxy settings. |
1 client errors and can hide required nested objects.--json for scripts: parsing human text output is brittle when descriptions or formatting change.## MCP CLI result — <server/tool or discovery target>
**Status:** success | client error | server error | network error | blocked
**Command:** `<mcp-cli command>`
**Exit code:** 0 | 1 | 2 | 3 | not run
### Result
<server list, schema summary, or tool output>
### Follow-up
- <next command, schema fix, credential check, or none>
mcp-cli <server>/<tool> schema was inspected before constructing non-trivial JSON.--json or --raw was used only when the downstream consumer required that format.0, 1, 2, or 3 was interpreted and reported with the command that produced it.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub gbb-acelerators/awesome-harness-primitives --plugin mcp-development7 skills in this plugin
/dotnet-mcp-builderBuild and debug C#/.NET MCP servers and clients with current ModelContextProtocol 2.x packages. Use when the user mentions ModelContextProtocol, McpServerTool, MapMcp, WithStdioServerTransport, Streamable HTTP, STDIO, prompts, resources, tools, completions, elicitation, MCP Apps, Tasks, OAuth, reverse proxy deployment, or .NET MCP errors./mcp-builderGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK)./mcp-implementation-security-reviewReview MCP server, client, and tool-handler source code for security. Use when asked to review an MCP server before release, audit Model Context Protocol implementation controls MCP-01 through MCP-05, check OWASP MCP Top 10, inspect auth, sessions, rate limiting, input-schema validation, official SDK use, or RCE vectors with file and line evidence./mcp-release-qaVerify an MCP server before release by exercising a real protocol session, comparing runtime capabilities with source and documentation, testing failure paths, and recording reproducible evidence. Use when shipping or reviewing an MCP server, tool, resource, prompt, catalog, or install path./mcp-security-auditAudits MCP server configurations such as .mcp.json for hardcoded secrets, dangerous shell patterns, unpinned dependencies, unsafe npx usage, unapproved servers, and governance risks. Use this skill when asked to check MCP security, audit MCP servers, review .mcp.json, validate server args, detect shell injection, or verify environment-variable based credentials./webmcpifyMake a web app agent-ready with WebMCP by detecting app actions, building a manifest, integrating document.modelContext tools, verifying in a real browser, healing failures, and auditing diffs. Use when the user says "webmcpify", "add WebMCP", "expose app actions to AI agents", or asks to make a browser app controllable through WebMCP tools.Other plugins' skills for the same job