Vibe Coding Discover

MCP

A Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools.

★ 9.1K886 forksGoMITmark3labs

mcp-go is a Go SDK implementing the Model Context Protocol, with server and client packages for exposing tools, resources and prompts to LLM applications over stdio, SSE or HTTP. It handles protocol details, sessions, OAuth metadata and task-augmented tools so you write minimal boilerplate.

Use Cases

Build MCP servers in Go to expose tools, resources and prompts to LLM appsConnect Claude/Cursor-style clients to custom internal data sourcesImplement stdio, SSE and streamable HTTP MCP transportsAdd OAuth-protected resource metadata to MCP serversSupport long-running tools via async task augmentation and pollingWire MCP client sessions, sampling, elicitation and roots into Go apps

Built With

Language
Go
Frameworks
Model Context Protocol · Go · jsonschema-go · spf13/cast · testify

Tags

mcp · go · model-context-protocol · sdk · server · client · llm-integration · tools · resources · prompts · stdio · sse · streamable-http · oauth · session-management · json-schema