go-mcp実験場
A Go-based MCP server example demonstrating correct usage of go.mod and build/run commands.
go-mcp実験場
MEMO
MCPの指定方法(main.go)
NG: go.modが見つからずに依存解決失敗でエラーになる
{
"mcpServers": {
"go-mcp-abc": {
"command": "go",
"args": ["run", "/path/to/go-mcp-abc/main.go"]
}
}
}
OK: go.modが見つかる方法
{
"mcpServers": {
"go-mcp-abc": {
"command": "go",
"args": ["-C", "/path/to/go-mcp-abc", "run", "main.go"]
}
}
}
OK: buildしてもいい
{
"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...") とかやるとエラーになる
Máy chủ liên quan
Scout Monitoring MCP
nhà tài trợPut performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
nhà tài trợAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
MCP Go Generator Node.js
Generate Go microservices with a hexagonal architecture in a Node.js environment.
Solana Docs
Access Solana documentation context through a simple notes system with resources, tools, and prompts.
flyto-core
Deterministic execution engine for AI agents. 412 MCP tools across 78 categories — browser, file, Docker, data, crypto, scheduling, and more.
MCP Server for Drupal
A TypeScript-based MCP server that acts as a companion to the Drupal MCP module, communicating via STDIO.
BlenderMCP
Connects Blender to Claude AI via the Model Context Protocol (MCP), enabling direct interaction and control for prompt-assisted 3D modeling, scene creation, and manipulation.
Onyx MCP Server
Search and query Onyx programming language documentation and GitHub code examples.
MCP Sourcify Server
Verify and retrieve smart contract source code using the Sourcify API.
DDEV MCP Server
Manage DDEV projects, enabling LLM applications to interact with local development environments through the MCP protocol.
Unimus MCP Server
A read-only server for the Unimus network configuration management system.
tachibot-mcp
Stop AI Hallucinations Before They Start Run models from OpenAI, Google, Anthropic, xAI, Perplexity, and OpenRouter in parallel. They check each other's work, debate solutions, and catch errors before you see them.