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...") とかやるとエラーになる
İlgili Sunucular
Scout Monitoring MCP
sponsorPut performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
sponsorAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
AI Image Generation
Generate images using the Together AI API. Supports custom aspect ratios, save paths, and batch generation.
VSCode MCP
Interact with VSCode through the Model Context Protocol, enabling AI agents to perform development tasks.
Futarchy MCP
Interact with the Futarchy protocol on the Solana blockchain.
Profile MCP Server
An example MCP server deployable on Cloudflare Workers without authentication.
Azure DevOps
Integrate with Azure DevOps services to manage work items, repositories, and pipelines.
Enkrypt AI
Integrate red-teaming, prompt auditing, and AI safety analysis into any MCP-compatible client.
Remote MCP Server (Authless)
An example of a remote MCP server deployable on Cloudflare Workers, without authentication.
Glider
Roslyn-powered C# code analysis server for LLMs. Supports stdio and HTTP transports.
MCP Server Starter Template
A starter template for building Model Context Protocol (MCP) servers, designed for UI libraries and component registries.
Square
A Model Context Protocol (MCP) server for square