testserver

command
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

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

Jump to

Keyboard shortcuts

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