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...") とかやるとエラーになる
संबंधित सर्वर
Alpha Vantage MCP Server
प्रायोजकAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
Coding Prompt Engineer MCP Server
Rewrites coding prompts for optimal results with AI IDEs like Cursor AI, powered by Claude by Anthropic.
Code Reaper
CodeReaper is an AI-driven MCP tool for Cursor that finds and removes dead JavaScript by exploring real UIs and capturing V8 coverage
Gurobi MCP
Solve optimization problems formulated by an LLM using the on-device Gurobi solver.
Sistema de Predicción Energética con IA
An AI-powered system for analyzing and predicting domestic energy consumption. It offers precise forecasts, historical pattern analysis, and personalized optimization recommendations through a conversational interface.
Image
Fetch and process images from URLs, local file paths, and numpy arrays, returning them as base64-encoded strings.
IDA MCP Server
A Model Context Protocol server for the IDA Pro disassembler.
Sonic Pi MCP
Interact with Sonic Pi, the live coding music synth, using OSC messages.
Rust Docs Server
Fetches Rust crate documentation from docs.rs using the rustdoc JSON API.
Floom
Deploy Python functions as web apps. Type hints become UI, API, and shareable links. 32 MCP tools for deploy, run, storage, secrets, scheduling, versioning, and sharing.
Image Generation
Generate images from text using the Stable Diffusion WebUI API (ForgeUI/AUTOMATIC-1111).