Documentation
¶
Overview ¶
Package testserver is a small but real MCP server. It backs `make dev`, the end-to-end test and the proxy unit tests, so that agentgate is always exercised against an actual MCP implementation rather than a mock of one.
Index ¶
Constants ¶
const Name = "agentgate-echo"
Name is the implementation name the demo server reports.
Variables ¶
This section is empty.
Functions ¶
func New ¶
New returns a demo MCP server with one tool per behaviour agentgate needs to be able to handle: a plain result, a structured result, a slow call, a tool error, and a result that contains something a redaction rule should catch.
Nothing here touches the filesystem or runs a command; write_file and exec only describe what they would have done.
Types ¶
This section is empty.