Golang Mcp Server
@inja-online
关于 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.
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mcp-go": {
"command": "/usr/local/bin/mcp-go",
"args": [],
"env": {
"DISABLE_NOTIFICATIONS": "true"
}
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Golang Mcp Server?
Golang MCP Server is a Model Context Protocol server that enables AI assistants to control Go development workflows, from code execution to optimization and deployment. It acts as a secure bridge between large language models and the Go runtime, providing 22 tools, 8 resources, and 7 guided prompts for interacting with Go projects.
How to use Golang Mcp Server?
Integrate the server into an MCP client by configuring its path and optional settings. To enable Language Server Protocol features, set the environment variable ENABLE_LSP=true before starting the server.
Key features of Golang Mcp Server
- 22 tools covering execution, build, test, format, optimization, and server management
- 8 resources to discover modules, build tags, tests, and workspace structure
- 7 guided prompts for project setup, testing, debugging, and deployment
- Code execution directly via
go runand full Go operations (build, test, format, lint) - Optimization tools: profiling, tracing, benchmarking, race detection, memory profiling
- Optional LSP integration (requires
ENABLE_LSP=true) - Cross-platform support for Linux, macOS, and Windows
Use cases of Golang Mcp Server
- Set up a new Go project with module initialization and best practices
- Run tests with coverage and debug failing tests
- Profile and optimize Go code for performance and memory usage
- Manage dependencies and perform code reviews through guided prompts
- Deploy Go servers, monitor status, and retrieve logs
FAQ from Golang Mcp Server
What tools does Golang Mcp Server provide?
It offers 22 tools: 1 for code execution, 7 for Go operations (build, test, format, module, doc, lint, cross-compile), 6 for optimization, 5 for server management, 3 for package documentation from go.dev, and 5 optional LSP tools.
Does Golang Mcp Server require LSP?
No, LSP support is optional. Set the environment variable ENABLE_LSP=true to activate five LSP-related tools for session management, requests, notifications, and diagnostics.
What platforms are supported?
The server supports Linux, macOS, and Windows, and can cross-compile Go code for different platforms and architectures.
How does Golang Mcp Server help with code optimization?
It provides tools for performance profiling, execution tracing, benchmarking, race condition detection, memory profiling, and generating optimization suggestions.
What resources does Golang Mcp Server expose?
Eight resources: go://modules, go://build-tags, go://tests, go://workspace, go://pkg-docs/{path}, go://tools, go://prompts, and go://resources.
其他 分类下的更多 MCP 服务器
Inbox Zero AI
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
MaxKB
1Panel-dev🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。
MCP Registry
modelcontextprotocolA community driven registry service for Model Context Protocol (MCP) servers.

EverArt
modelcontextprotocolModel Context Protocol Servers
IDA Pro MCP
mrexodiaAI-powered reverse engineering assistant that bridges IDA Pro with language models through MCP.
评论