mcp-shield-testserver

command
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 27, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL