mcp-golang-server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
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
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
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.
Web scraping, Google SERP, Markdown and ChatGPT/Gemini answers as typed tools for AI agents.
Exact text tools for AI agents: unified diff, patch apply, regex testing, grapheme counting.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceA 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.104Apache 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.532 npm6MIT
- 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.28 npm2MIT
- AlicenseNot 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.11MIT