mock-mcp-server

command
v0.1.0-alpha.9 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Mock MCP Server for testing external HTTP/SSE MCP server support. This simple server responds to MCP protocol requests with dummy data.

Usage:

go run main.go                   # HTTP mode on :8080
go run main.go -port 9000        # Custom port
go run main.go -sse              # Enable SSE response format

Supports:

  • initialize - MCP handshake
  • tools/list - Returns sample tools
  • tools/call - Echo tool that returns arguments

Jump to

Keyboard shortcuts

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