{"repo":"lyeslabs/mcpgen","free":true,"listed":false,"github":"https://github.com/lyeslabs/mcpgen","clone":"git clone https://github.com/lyeslabs/mcpgen.git","description":"Generate Go MCP server boilerplate from OpenAPI 3 specifications","language":"Go","stars":91,"topics":["go","golang","mcp-server","openapi","openapi-codegen","openapi3","swagger","mcp-server-generator"],"license":"MIT","category":"mcp-servers","readme_excerpt":"mcpgen: Seamlessly Transform OpenAPI APIs into AI Agent Tools mcpgen is a command-line tool that seamlessly generates production-ready Model Context Protocol (MCP) server boilerplate from your OpenAPI specifications, enabling you to easily expose your existing APIs as powerful tools for AI agents. Key Features - OpenAPI Compatibility: Reads and processes OpenAPI specifications in YAML or JSON format, supporting versions 3.0 . - Comprehensive MCP Server Generation: Generates the full Go boilerplate required to set up an MCP server, including server initialization, tool registration, and handler skeletons. - Accurate Schema Translation: Automatically translates OpenAPI schema definitions into the necessary JSON Schemas for tool inputs (compatible with MCP) and generates detailed markdown-based Response Templates (Prompts) for various status codes and content types, providing rich context for AI models. - Advanced Schema Support: Handles complex OpenAPI schema constructs, including: Arrays and nested structures Type unions and oneOf / anyOf / allOf combinators Recursive type definitions Validation constraints (e.g., minimum , maximum , maxLength , pattern ) - Multiple Content Type Handling: Correctly processes and generates templates for operations defining multiple request and response content types. - Generated Code Quality: Produces well-structured, idiomatic Go code with embedded schemas and prompts, leveraging constants for clarity and maintainability. - Optional Client & T","default_branch":null,"files":null,"tree":[],"storefront":"/r/lyeslabs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/lyeslabs/mcpgen/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}