
mcp-go
mark3labs
A Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools.
AI 简介
mcp-go 是一个用 Go 实现的 Model Context Protocol(MCP)协议库,用于在大语言模型(LLM)应用与外部数据源、工具之间建立标准化通信桥梁。它提供轻量级 MCP 服务器框架,支持快速注册工具(Tool)、管理资源(Resource)和处理 Prompt 请求,内置 Stdio 传输层,兼容 MCP 规范核心能力。项目强调高可用性、低样板代码和协议合规性,适用于构建 LLM Agent 工具集成层、本地开发测试环境以及需要解耦模型与业务系统的边缘/服务端场景。
Go
MIT License 最后更新 2026年11月24日活跃9.3k
Stars
962
Forks
50
Watchers
27
Issues
Star 增长
今日+3
近 7 天+9
近 30 天+68
综合评分39.95
默认分支main