modelcontextprotocol-go-sdk

This repository provides a Go SDK for the Model Context Protocol (MCP), enabling developers to build MCP clients and servers for integrating with LLM surfaces using standardized context provision.

1
0

MCP Go SDK

MIT licensed
Specification

Go SDK for the Model Context Protocol

This is a Go implementation of the Model Context Protocol (MCP), offering both client and server functionalities for integration with Large Language Model (LLM) platforms.

[!WARNING]
This is a VERY early repo. Open an issue or contact me at [email protected] if you'd like to get involved. Discord coming soon!

Overview

The Model Context Protocol standardizes how applications provide context to LLMs, decoupling context provision from LLM interaction. This Go SDK fully implements the MCP specification, simplifying the process to:

  • Develop MCP clients capable of connecting to any MCP server.
  • Build MCP servers that expose resources, prompts, and tools.
  • Utilize standard transports such as stdio and Server-Sent Events (SSE).
  • Manage all MCP protocol messages and lifecycle events.

Repository

JE
jeanlucthumm

jeanlucthumm/modelcontextprotocol-go-sdk

Created

November 29, 2024

Updated

November 29, 2024

Category

AI