- Home
- MCP servers
- MCP Go Tools
MCP Go Tools
- go
5
GitHub Stars
go
Language
6 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"ksysoev-mcp-go-tools": {
"command": "mcp-go-tools",
"args": [
"server",
"--config=/Users/user/mcp-go-tools/example.config.yaml"
]
}
}
}You run a Go-focused MCP server that generates idiomatic Go code, enforces style guidelines, and provides Go project templates to help language models understand and produce high-quality Go code in established patterns.
How to use
Use a client that supports MCP to interact with the Go Tools MCP server. You’ll send requests to generate code, apply Go-specific patterns, and receive structured responses that reflect Go conventions and templates. Start by starting the server with your configuration, then invoke the code-generation or style tools as needed. You can manage server lifecycle and observe request traces for debugging or quiet operation as required.
How to install
Prerequisites you need before installation are installed Go tooling and a compatible environment for running MCP servers.
Install the MCP Go Tools command line binary.
Additional sections
Configuration: You can configure the MCP server with a file that defines resources, templates, and patterns for Go code generation. The server uses stdio transport for communication and supports graceful shutdown and concurrent processing.
Security and maintenance: Ensure you run with appropriate access controls and enable logging. Use the provided logging options to capture request traces for debugging, and apply security patches as they are released.
Examples and troubleshooting: If you encounter issues during code generation or template processing, verify that your configuration paths are correct, the Go toolchain is installed, and the MCP server is started with the proper config file. Check logs for any errors related to resource loading or template rendering.
Available tools
codestyle
Go-specific code style enforcement and project templates to ensure generated code follows idiomatic Go patterns.
codegen
Go code generation tools tailored to MCP, enabling automatic creation of Go boilerplate and templates.
project_templates
Go project structure templates that standardize repository layout and module organization.
mockery_support
Support for generating mocks and test scaffolding aligned with Go best practices.