From Napkin
Lists, inspects, and calls MCP server tools from the command line. Use to discover available servers, explore tool parameters, get JSON schemas, and execute tools with arguments.
How this skill is triggered — by the user, by Claude, or both
Slash command
/napkin:mcp-cliThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Access MCP servers through the command line. MCP enables interaction with external systems like GitHub, filesystems, databases, and APIs.
Access MCP servers through the command line. MCP enables interaction with external systems like GitHub, filesystems, databases, and APIs.
| Command | Output |
|---|---|
mcp-cli | List all servers and tool names |
mcp-cli <server> | Show tools with parameters |
mcp-cli <server>/<tool> | Get tool JSON schema |
mcp-cli <server>/<tool> '<json>' | Call tool with arguments |
mcp-cli grep "<glob>" | Search tools by name |
Add -d to include descriptions (e.g., mcp-cli filesystem -d)
mcp-cli → see available servers and toolsmcp-cli <server> → see tools with parametersmcp-cli <server>/<tool> → get full JSON input schemamcp-cli <server>/<tool> '<json>' → run with arguments# List all servers and tool names
mcp-cli
# See all tools with parameters
mcp-cli filesystem
# With descriptions (more verbose)
mcp-cli filesystem -d
# Get JSON schema for 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 (use heredoc or stdin)
mcp-cli server/tool <<EOF
{"content": "Text with 'quotes' inside"}
EOF
# Or pipe from a file/command
cat args.json | mcp-cli server/tool
# Find all TypeScript files and read the first one
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 |
-r, --raw | Raw text content |
-d | Include descriptions |
0: Success1: Client error (bad args, missing config)2: Server error (tool failed)3: Network errornpx claudepluginhub ani1797/forge --plugin copilot-sdk3plugins reuse this skill
First indexed Jun 6, 2026
List tools and invoke calls on MCP servers using fastmcp CLI. Handles HTTP/Python files/configs/stdio targets, schemas, JSON output, auth, and discovery for workflows.
Discovers and invokes MCP server capabilities on-demand using the mcp CLI tool. Useful for one-off calls, testing, and avoiding permanent integration.
Discovers, analyzes, and executes MCP server tools/prompts/resources. Use for MCP integration, capability discovery, tool filtering, and multi-server management.