Documentation
¶
Overview ¶
Command server is a fake MCP server used to exercise mcp-shield's manifest/diff/approval pipeline. Its tool set is selected one of two ways:
- -version / TEST_SERVER_VERSION picks a fixed built-in tool set (v1/v2/v3), used by the automated integration test.
- -tools-file / TOOLS_FILE points at a JSON file of tool definitions that is re-read on every tools/list call — no restart needed. This is the knob for manual testing: edit the file, hit the gateway again, watch a new PENDING manifest appear.
-tools-file takes precedence over -version when both are set.
Click to show internal directories.
Click to hide internal directories.