MCP.so
登录

Go MCP Server Service

@AndrewDonelson

基本信息

分类

开发工具

许可证

MIT

传输方式

stdio

作者

AndrewDonelson

关于 Go MCP Server Service

A JSON-RPC 2.0 compliant server implementing the Model Context Protocol (MCP) for note management (as an example)

Go MCP Server Service 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "go-mcp-server-service": {
      "command": "npx",
      "args": [
        "@modelcontextprotocol/inspector",
        "./bin/dev/<platform>/notes-server"
      ]
    }
  }
}

Go MCP Server Service 工具

1

Adds a new note to the server

概览

What is go-mcp-server-service?

go-mcp-server-service is a JSON-RPC 2.0 compliant server implementing the Model Context Protocol (MCP) for note management. It serves as an example and boilerplate that you can modify for your own MCP server projects.

How to use go-mcp-server-service?

Build all components with make dev or make release-all, then run the command-line interface with make run-cmd or the service with make run-service. Configure Claude Desktop by adding the binary path to claude_desktop_config.json under the mcpServers section.

Key features of go-mcp-server-service

  • JSON-RPC 2.0 compliant API
  • Cross-platform support (Windows, Linux, macOS)
  • Thread-safe note management
  • Development and release build configurations
  • Command-line interface and service components
  • Custom note:// URI scheme for notes

Use cases of go-mcp-server-service

  • Manage notes via the MCP protocol in a local environment
  • Use as a boilerplate to build your own MCP server
  • Integrate with Claude Desktop for note‑based workflows
  • Experiment with thread‑safe resource and tool implementations

常见问题

1

What transport does go-mcp-server-service use?

The server runs over stdio.

2

What are the build dependencies?

Go 1.21 or later, GNU Make or a compatible build tool, and Git for version information.

3

How can I debug the server?

Use the MCP Inspector by running `npx @modelcontextprotocol/inspector ./bin/dev/<platform>/notes-server`.

4

What custom error codes are implemented?

Custom error codes include `-32001` (Resource not found) and `-32002` (Unsupported operation), in addition to standard JSON‑RPC error codes.

5

How do I configure Claude Desktop to use the server?

Add the binary path (e.g., `./bin/dev/<platform>/notes-server`) and an empty arguments list to `claude_desktop_config.json` under `mcpServers`.

评论

开发工具 分类下的更多 MCP 服务器