MCP GO Tools
A Go-focused Model Context Protocol (MCP) server that provides idiomatic Go code generation, style guidelines, and best practices. This tool helps Language Models understand and generate high-quality Go code following established patterns and conventions.
Overview
MCP GO Tools is a Go-focused Model Context Protocol (MCP) server designed to assist in idiomatic Go code generation, style guidelines, and best practices, enabling Language Models to understand and produce high-quality Go code.
To use MCP GO Tools, install it via Go with the command go install github.com/ksysoev/mcp-go-tools/cmd/mcp-go-tools@latest, and then run commands like mcp-go-tools start --config config.yaml to start the server with your configuration.
- Go-specific code generation and style guidelines - Command-line interface built with Cobra - Flexible configuration using YAML/JSON files - Structured logging with various output formats - Server management commands and graceful shutdown handling
- Generating idiomatic Go code for new projects
- Enforcing Go code style across teams
- Assisting in the development of Go applications with best practices
Add to your AI client
Use these steps to connect MCP GO Tools in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"mcp-go-tools-ksysoev": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-go-tools-ksysoev"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"mcp-go-tools-ksysoev": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-go-tools-ksysoev"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcp-go-tools-ksysoev": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-go-tools-ksysoev"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"mcp-go-tools-ksysoev": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-go-tools-ksysoev"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-go-tools-ksysoev": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-go-tools-ksysoev"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcp-go-tools-ksysoev": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-go-tools-ksysoev"
]
}
}
}FAQ
Is MCP GO Tools suitable for beginners in Go?
Yes! It provides guidelines and templates that can help beginners understand Go coding standards.
Can I customize the configuration?
Absolutely! You can use YAML/JSON files to customize the configuration as per your project needs.
What is the license for MCP GO Tools?
MCP GO Tools is licensed under the MIT License.