mcp-golang

Rethunk-Tech/mcp-golang

3.1

If you are the rightful owner of mcp-golang and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A Model Context Protocol (MCP) server that provides Go language tools for LLMs to analyze, test, and format Go code.

The MCP Golang server is designed to enhance the capabilities of Large Language Models (LLMs) by providing a suite of tools specifically for the Go programming language. This server implements the Model Context Protocol (MCP), a standardized method for applications to supply context to LLMs, thereby improving their functionality and accuracy. The server is built using TypeScript with strict type checking to ensure reliability and maintainability. It offers a comprehensive set of Go code analysis tools, including dead code detection, static analysis, code formatting, linting, testing, and module dependency management. These tools are essential for developers looking to maintain high-quality Go codebases. The server also features robust error handling and validation, ensuring that any issues are promptly identified and addressed. By passing tool outputs directly to the LLM, the server facilitates seamless integration and interaction, making it an invaluable resource for developers working with Go and LLMs.

Features

  • TypeScript implementation with strict type checking
  • Comprehensive Go code analysis tools
  • Robust error handling and validation
  • Direct tool output integration with LLMs
  • Support for Go module dependency management
0

Tools

  1. go_find_dead_code

    Finds unused code in Go projects.

  2. go_vet

    Runs Go's built-in static analyzer to find potential issues.

  3. go_format

    Formats Go code.

  4. go_lint

    Runs the Go linter to check for style and potential issues.

  5. go_test

    Runs Go tests with verbose output.

  6. go_mod_tidy

    Cleans up Go module dependencies.