Gin-MCP

Automatically exposes existing Gin API endpoints as tools with zero configuration, requiring just a single line of code to bridge

ckanthony 82
Claude CodeClaude DesktopGeneric
View source ↗

Gin-MCP is a zero-configuration bridge that automatically exposes existing Gin API endpoints as Model Context Protocol tools. Developed by Anthony WK Chan, this implementation allows developers to integrate their Gin applications with MCP-compatible clients like Cursor with minimal setup—just a single line of code. The library intelligently discovers routes, infers schemas from Go structs, and handles all the MCP communication details through Server-Sent Events. Particularly valuable for teams looking to make their existing APIs instantly accessible to AI assistants without writing tedious boilerplate code.

Source

Repository: https://github.com/ckanthony/gin-mcp

Maintain Gin-MCP?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

[Gin-MCP on getagentictools](https://getagentictools.com/mcp/ckanthony-gin-mcp?ref=badge)