mcp-golang-server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-golang-serverAnalyze the Go project at /home/user/project"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Golang
A Model Context Protocol (MCP) server that provides Go language tools for LLMs to analyze, test, and format Go code.
Features:
Full set of Go code analysis tools (
go vet,go test,go fmt,golint,deadcode,go mod tidy)TypeScript implementation with strict type checking
Comprehensive error handling and validation
Tool output passed directly to LLMs
🚀 Getting Started
Setup & Installation: See HUMANS.md
Development & Constraints: See AGENTS.md
Security & Reporting: See SECURITY.md
Contributing: See CONTRIBUTING.md
Changes: See CHANGELOG.md
Related MCP server: Go Playground MCP Server
Available Go Tools
go_analyze— Comprehensive code analysis using golangci-lint (configurable severity, auto-fix)go_fix— Code cleanup: runsgo mod tidy,goimports, andgofumptin sequencego_test— Run Go tests with optional coverage reports, race detection, and benchmarks
All tools require an absolute wd (working directory) path parameter.
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Code intelligence for LLMs. Analyze, search, and retrieve code from any public git repository.
Code intelligence platform for AI agents. 20 tools for architecture, security & impact analysis.
Exact text tools for AI agents: unified diff, patch apply, regex testing, grapheme counting.
Code intelligence for coding agents: semantic, AST, graph, and full-text search. 279+ languages.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceA Model Context Protocol (MCP) server that allows AI assistants like Claude to interact with Go's Language Server Protocol (LSP) and benefit from advanced Go code analysis features.101Apache 2.0
- AlicenseBqualityDmaintenanceEnables execution of Go code in the Go Playground sandbox and generation of shareable URLs for code snippets. Provides tools to run Go code, share code via URLs, or perform both operations simultaneously.566MIT
- AlicenseNot gradedqualityDmaintenanceProvides real-time access to Go package documentation, function signatures, and type definitions directly from pkg.go.dev. It enables LLMs to search for packages, retrieve specific versions, and access code examples from the official Go module ecosystem.62MIT
- FlicenseNot gradedqualityDmaintenanceEnables LLMs to perform high-performance code search and analysis across multiple languages using symbol indexing, regex text search, and structural AST pattern matching. It also provides tools for technology stack detection and dependency analysis with persistent caching for optimized performance.8-