mcp-cli
SKILL.md
MCP CLI Testing Playbook
Validate MCP servers with direct terminal commands and a strict pass/fail workflow.
Core rules
- Execute commands directly and sequentially.
- Do not write helper scripts unless explicitly requested.
- Treat server work as incomplete until verification checks pass.
- Prefer single-server commands while debugging.
- After rebuilding a server, retest with
MCP_NO_DAEMON=1.
What to load first
Use this progressive order to keep context tight:
- This file (
SKILL.md) for command strategy and execution rules. - Skill references for concrete command blocks:
references/testing-flow.mdreferences/configuration-and-arguments.mdreferences/output-debugging-and-chaining.mdreferences/errors-and-recovery.md
- Read only the relevant packaged references instead of looking for external repo docs.
- Return to this file only when you need the overall workflow again.
Repository-specific execution mode
When validating this repository source code itself, run the local CLI implementation:
bun run src/index.ts -c ./mcp_servers.json info filesystem
bun run src/index.ts -c ./mcp_servers.json call filesystem read_file '{"path":"./README.md"}'
Use globally installed mcp-cli for normal external workflows.
Execution workflow
- Follow the five-step verification order in
references/testing-flow.md. - Use config and JSON argument patterns from
references/configuration-and-arguments.md. - Use stream handling, chaining, and env controls from
references/output-debugging-and-chaining.md. - If any command fails unexpectedly, apply fixes in
references/errors-and-recovery.md. - Do not report done until all checklist commands pass.
Minimal quick start
# Install if missing
which mcp-cli || curl -fsSL https://raw.githubusercontent.com/philschmid/mcp-cli/main/install.sh | bash
# Inspect server and schema
mcp-cli info my-server
mcp-cli info my-server my-tool
# Happy path + failure path
mcp-cli call my-server my-tool '{"param":"value"}'
mcp-cli call my-server my-tool '{}'
# Fresh-connection check after rebuild
MCP_NO_DAEMON=1 mcp-cli call my-server my-tool '{"param":"value"}'
If any step fails, continue debugging; do not claim completion.
Weekly Installs
1
Repository
yigitkonur/skil…gitkonurFirst Seen
7 days ago
Security Audits
Installed on
mcpjam1
github-copilot1
junie1
windsurf1
zencoder1
crush1