一键导入
mcp-span-cli
Use the released mcp-span-cli binary to inspect configured MCP servers, call their tools, and generate SKILL.md content for those servers.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use the released mcp-span-cli binary to inspect configured MCP servers, call their tools, and generate SKILL.md content for those servers.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | mcp-span-cli |
| description | Use the released mcp-span-cli binary to inspect configured MCP servers, call their tools, and generate SKILL.md content for those servers. |
Use this skill when you want to turn a configured MCP server into a reusable SKILL.md, inspect the server's tools, or verify a real MCP tool call before generating documentation.
SKILL.md from an MCP server that already exists in the local config.Install the CLI first:
curl -fsSL https://raw.githubusercontent.com/mrdear/MCPSpanCLI/main/scripts/install.sh | bash
The tool reads config from ~/.config/mcp-span-cli/config.json by default.
The config should define servers under mcpServers. Older servers config is still readable.
Each URL-based server can use one of these types:
httpssestreamable_httpstreamable-httpOmitted type, http, streamable_http, and streamable-http use the same HTTP transport. sse uses the legacy MCP SSE handshake. Each CLI command connects, performs the requested operation, then disconnects.
URL-based servers can include headers; the CLI sends them with every HTTP/SSE request.
Stdio servers define command and optional args directly on the server object.
~/.config/mcp-span-cli/config.json.list-tools first when the server's available tools are unknown.call if you need to validate a specific MCP tool or understand its output.gen-skill to produce markdown and redirect it to the target file.List tools:
mcp-span-cli list-tools --server <SERVER_NAME>
Call a tool:
mcp-span-cli call --server <SERVER_NAME> --tool <TOOL_NAME> --args '<JSON_ARGS>'
Generate a full skill:
mcp-span-cli gen-skill --server <SERVER_NAME> > SKILL.md
Generate a filtered skill:
mcp-span-cli gen-skill --server <SERVER_NAME> --tool <TOOL_NAME> > SKILL.md
Generate a filtered skill with multiple tools:
mcp-span-cli gen-skill --server <SERVER_NAME> --tool <TOOL_A> --tool <TOOL_B> > SKILL.md
gen-skill writes markdown to standard output. The markdown includes:
Required parameters are listed before optional parameters.
list-tools before gen-skill when the server is new.call for unfamiliar servers before trusting the generated skill blindly.--tool to keep generated skills focused when the server exposes many tools.