What problem does it solve?
MCP servers are standardized to expose tools, resources, and prompts to LLM clients via JSON-RPC over streamable HTTP, with a secure transport, per-session lifecycle, and a compliance model for versioning and safety.
Core Features & Use Cases
- Exposes tools, resources, and prompts with typed input/output schemas and descriptive tool annotations.
- Streamable HTTP transport with session management, optional subscriptions, and server-initiated interactions.
- OAuth 2.1 with RFC 8707 resource indicators, PKCE requirements, and audience-bound token validation.
- Built-in safety guardrails against SSRF, prompt injection, and data leakage, plus testing support via MCP Inspector.
- Useful for designing, auditing, or wrapping REST/gRPC backends for LLM-driven workflows.
Quick Start
Create a minimal MCP server using the official Go SDK or FastMCP and expose a sample tool to validate initialization and tool invocation.