- Golang Mcp Server
Golang Mcp Server
MCP Go Server connects AI assistants like Claude directly to the Go runtime. It acts as a bridge, giving your AI the necessary tools to execute, manage, and optimize Go-based development workflows efficiently.
Content
Empower your AI assistant to build with Go. MCP Go Server gives LLMs the ability to control Go development workflows from execution to optimization by serving as a secure bridge between the model and the runtime.
Features
- 22 Comprehensive Tools: Code execution, Go operations, optimization, server management, package documentation, and optional LSP support
- 8 Discovery Resources: Access Go modules, build tags, tests, workspace structure, and package documentation
- 7 Guided Prompts: Step-by-step guides for project setup, testing, optimization, debugging, dependencies, code review, and deployment
- Code Execution: Execute Go files directly with
go run - Go Operations: Build, test, format, and manage Go modules
- Optimization Tools: Performance profiling, benchmarking, and race detection
- Server Management: Start, stop, and monitor long-running Go servers
- Package Documentation: Fetch package documentation from go.dev (pkg.go.dev)
- Project Discovery: Discover Go modules, build tags, test files, and workspace structure
- LSP Support: Optional Language Server Protocol integration (requires
ENABLE_LSP=true) - Cross-Platform: Support for Linux, macOS, and Windows
- Cross-Compilation: Build for different platforms and architectures
Tools (22 total)
Code Execution (1):
go_run- Execute Go files directly
Go Operations (7):
go_build- Build Go packagesgo_test- Run tests with coveragego_fmt- Format Go codego_mod- Manage Go modulesgo_doc- Generate documentationgo_lint- Lint Go codego_cross_compile- Cross-compile for different platforms
Optimization (6):
go_profile- Generate performance profilesgo_trace- Generate execution tracesgo_benchmark- Run benchmarksgo_race_detect- Detect race conditionsgo_memory_profile- Generate memory profilesgo_optimize_suggest- Get optimization suggestions
Server Management (5):
go_server_start- Start background serversgo_server_stop- Stop serversgo_server_list- List running serversgo_server_logs- Get server logsgo_server_status- Get server status
Package Documentation (3):
go_pkg_docs- Fetch package docs from go.devgo_pkg_search- Search for packagesgo_pkg_examples- Extract examples
LSP Tools (5, optional - requires ENABLE_LSP=true):
lsp_start_session- Start LSP sessionlsp_shutdown_session- Shutdown LSP sessionlsp_request- Send LSP requestlsp_notify- Send LSP notificationlsp_subscribe_diagnostics- Subscribe to diagnostics
Resources (8 total)
go://modules- Go modules and dependenciesgo://build-tags- Build tags and constraintsgo://tests- Test files and benchmarksgo://workspace- Workspace structurego://pkg-docs/{path}- Package documentationgo://tools- List all available toolsgo://prompts- List all available promptsgo://resources- List all available resources
Prompts (7 total)
setup-go-project- Project setup guidewrite-go-tests- Test writing templateoptimize-go-performance- Performance optimization guidedebug-go-issue- Debugging guideadd-go-dependency- Dependency management guidego-code-review- Code review checklistgo-server-deployment- Deployment guide
Server Config
{
"mcpServers": {
"mcp-go": {
"command": "/usr/local/bin/mcp-go",
"args": [],
"env": {
"DISABLE_NOTIFICATIONS": "true"
}
}
}
}Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Amap Maps高德地图官方 MCP Server
WindsurfThe new purpose-built IDE to harness magic
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Playwright McpPlaywright MCP server
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
Serper MCP ServerA Serper MCP Server
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
DeepChatYour AI Partner on Desktop
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题;
Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
CursorThe AI Code Editor
Tavily Mcp
ChatWiseThe second fastest AI chatbot™
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.