MCP.so
登录

MCP Go 🚀

@mark3labs

关于 MCP Go 🚀

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

基本信息

分类

其他

许可证

MIT

运行时

go

传输方式

stdio

发布者

mark3labs

配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is MCP Go 🚀?

MCP Go is a Go implementation of the Model Context Protocol (MCP), enabling developers to build servers that expose data and functionality to LLM applications in a secure, standardized way. It provides a high-level, easy‑to‑use SDK for creating MCP servers with minimal boilerplate.

How to use MCP Go 🚀?

Install the package with go get github.com/mark3labs/mcp-go, then create an MCP server using server.NewMCPServer(), add tools, resources, or prompts, and start the server with server.ServeStdio(). The README includes code examples for a calculator tool and a static resource.

Key features of MCP Go 🚀

  • Go implementation of the Model Context Protocol (MCP)
  • High-level interface for rapid development
  • Minimal boilerplate for building MCP servers
  • Supports Resources, Tools, and Prompts
  • Task-augmented tools for asynchronous execution
  • Session management and request hooks

Use cases of MCP Go 🚀

  • Expose data from files, APIs, or databases to LLMs as Resources
  • Provide executable actions (Tools) for LLMs to perform side effects
  • Define reusable prompt templates for LLM interactions
  • Build custom MCP servers for AI agent integration

FAQ from MCP Go 🚀

What MCP specification version does MCP Go support?

MCP Go implements MCP specification version 2025‑11‑25, with backward compatibility for versions 2025‑06‑18, 2025‑03‑26, and 2024‑11‑05.

Is MCP Go complete and stable?

No, MCP Go is under active development. Core features are working, but some advanced capabilities are still in progress.

What language/runtime is required?

MCP Go is a Go library; you need the Go programming language to use it.

How do I start an MCP Go server?

The README demonstrates starting a server using stdio transport with server.ServeStdio(s). Other transports are mentioned in the extras section of the documentation.

What are the core building blocks of an MCP Go server?

A server can expose Resources

评论

其他 分类下的更多 MCP 服务器