Documentation
¶
Overview ¶
testserver is a minimal MCP server for manual testing and conformance validation. It registers three tools (echo, add, fail) and serves MCP transports on :8787.
By default, serves SSE transport. Set STREAMABLE=1 for Streamable HTTP, or BOTH=1 for both transports simultaneously.
Usage:
go run ./cmd/testserver STREAMABLE=1 go run ./cmd/testserver
Click to show internal directories.
Click to hide internal directories.