trackmcp
Back to directory
kazuki-oshino

go-mcp-abc

View on GitHub

go-mcp実験場

0 stars GoOthers Updated Jun 21, 2025

Documentation

go-mcp実験場

MEMO

MCPの指定方法(main.go)

NG: go.modが見つからずに依存解決失敗でエラーになる

json
{
  "mcpServers": {
    "go-mcp-abc": {
      "command": "go",
      "args": ["run", "/path/to/go-mcp-abc/main.go"]
    }
  }
}

OK: go.modが見つかる方法

json
{
  "mcpServers": {
    "go-mcp-abc": {
      "command": "go",
      "args": ["-C", "/path/to/go-mcp-abc", "run", "main.go"]
    }
  }
}

OK: buildしてもいい

json
{
  "mcpServers": {
    "go-mcp-abc": {
      "command": "/path/to/go-mcp-abc/go-mcp-abc"
    }
  }
}

Stdioの場合、余計な出力があるとエラーになる

Unexpected token 'S', "Starting server..." is not valid JSON

https://github.com/AgentDeskAI/browser-tools-mcp/issues/103#issuecomment-2824548286

`fmt.Println("Starting server...")` とかやるとエラーになる

Frequently asked questions

What is go-mcp-abc?

go-mcp-abc is go-mcp実験場

How do I install go-mcp-abc?

Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.

Is go-mcp-abc open source?

Yes — it is hosted on GitHub at https://github.com/kazuki-oshino/go-mcp-abc.

Related MCP tools

Run your own MCP server? See who uses it and what to fix.

Measure it with TrackMCP