Documentation
¶
Overview ¶
Command mcp-selfcheck 在部署机上直接跑 MCP server 自检。
用途:把「server 起来了没」「工具在不在」「调不调得通」三件事从 「看日志猜」变成一条命令的机器可读输出(JSON / 文本)。
用法:
mcp-selfcheck selfcheck --url http://127.0.0.1:8931/mcp --server fs
mcp-selfcheck selfcheck --url http://127.0.0.1:8931/mcp --server fs \
--expect read --expect write --json
mcp-selfcheck selfcheck --command ./my-mcp-server --server local --json
退出码:0 = healthy;1 = degraded;2 = down;3 = 用法/连接错误。
Click to show internal directories.
Click to hide internal directories.