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...") とかやるとエラーになる
相關伺服器
Scout Monitoring MCP
贊助Put performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
贊助Access financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
Windows Command Line MCP Server
Enables AI models to interact with the Windows command-line safely and efficiently.
MCP Docs Provider
Provides documentation context to LLMs from local markdown files via MCP.
SonarQube
Provides seamless integration with SonarQube Server or Cloud, and enables analysis of code snippets directly within the agent context
Gentoro
Gentoro generates MCP Servers based on OpenAPI specifications.
MCP Domain Availability Checker
Check domain availability directly from MCP clients using the Namecheap API.
Baidu iRAG MCP Server
Generate images using Baidu's iRAG API through a standardized MCP interface.
MCP Proxy Server
Aggregates multiple MCP resource servers into a single interface with stdio/sse support.
TransformerBee.MCP
An MCP server for the transformer.bee service, configurable via environment variables.
Stability AI
Integrates with the Stability AI API for image generation, editing, and upscaling.
Sentry
Interact with the Sentry API to monitor application errors and performance.