★ 3 stars
Go
🤖 AI/LLM
Updated today
Deterministic Go code editing for LLM agents. AST-based CLI and MCP server that replaces Edit, Read, and Grep on .go files for Claude Code, Cursor, and any agent.
View on GitHub →
Quick Install
Copy the config for your editor. Some servers may need additional setup — check the README.
Claude Desktop
Claude Code
Cursor
Add to claude_desktop_config.json:
{
"mcpServers": {
"go-surgeon": {
"command": "go",
"args": [
"run",
"github.com/JLugagne/go-surgeon@latest"
]
}
}
}
📋 Copy
Run in terminal:
claude mcp add go-surgeon go run github.com/JLugagne/go-surgeon@latest
📋 Copy
Add to .cursor/mcp.json:
{
"mcpServers": {
"go-surgeon": {
"command": "go",
"args": [
"run",
"github.com/JLugagne/go-surgeon@latest"
]
}
}
}
📋 Copy
Topics
ai-agent ast claude cli code-editor code-generation copilot cursor developer-tools gemini-cli go golang llm mcp mcp-server