mark3labs

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
8.9k
Stars
852
Forks
52
Watchers
12
Issues

Star 增长

今日0
近 7 天0
近 30 天+46
综合评分69.39
默认分支main