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`.

コメント

「開発者ツール」の他のコンテンツ