MCP.so
登录

MCP Server Go

@DillonEnge

关于 MCP Server Go

A simple MCP server implementation written in Go

基本信息

分类

其他

运行时

go

传输方式

stdio

发布者

DillonEnge

配置

暂无标准配置

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

代码仓库

工具

未检测到工具

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

概览

What is MCP Server Go?

MCP Server Go is a lightweight implementation of the Model Control Protocol (MCP) that communicates over standard input/output streams using JSON-RPC 2.0. It is designed for Go developers who need to enable communication between AI models and their applications via the MCP protocol.

How to use MCP Server Go?

Build the server with go build -o mcp_server ./cmd and run it with ./mcp_server. Optionally set the MCP_SERVER_NAME and MCP_SERVER_VERSION environment variables to customize the server’s identity. The server listens on stdio and responds to JSON-RPC requests for initialization, resource listing/reading, and tool listing/calling.

Key features of MCP Server Go

  • stdio-based transport using JSON-RPC 2.0
  • Supports initialize, resources/list, resources/read, tools/list, tools/call
  • Configurable server name and version via environment variables
  • Thread-safe map implementation for concurrent access
  • Clean modular code with separate packages for server, JSON-RPC, stdio, and safety

Use cases of MCP Server Go

FAQ from MCP Server Go

评论

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