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...") とかやるとエラーになる
Related Servers
Remote MCP Server for Odoo
An example of a remote MCP server for Odoo, deployable on Cloudflare Workers without authentication.
MCP Resources
Provides MCP server configurations for accessing the Brave Search and GitHub APIs.
Azure MCP Server
All Azure MCP tools in a single server. The Azure MCP Server implements the MCP specification to create a seamless connection between AI agents and Azure services. Azure MCP Server can be used alone or with the GitHub Copilot for Azure extension in VS Code.
ChuckNorris
A specialized MCP gateway for LLM enhancement prompts and jailbreaks with dynamic schema adaptation. Provides prompts for different LLMs using an enum-based approach.
Taeks MCP Server
An example MCP server designed for deployment on Cloudflare Workers, operating without authentication.
Screeny
A macOS-only server that enables LLMs to capture screenshots of specific application windows, providing visual context for development and debugging.
Damn Vulnerable MCP Server
A server designed to be intentionally vulnerable for security testing and educational purposes.
Chrome Debug MCP Server
Control Chrome with debugging capabilities, userscript injection, and extension support.
CocoaPods Package README
Retrieve README files and package information from CocoaPods.
DevContext
Provides developers with continuous, project-centric context awareness. Requires a TursoDB database.