gen-mcp is a tool that generates Model Context Protocol servers from configuration files without requiring custom code.
The tool solves the problem of building MCP servers, which normally requires writing boilerplate code and understanding protocol internals. gen-mcp takes a declarative approach: developers describe their tools in a YAML configuration file, and the tool automatically generates a functioning MCP server. It can convert existing OpenAPI specifications directly into MCP servers, transforming HTTP endpoints into callable AI tools. The generated servers include built-in validation, schema enforcement, TLS encryption, and OAuth/OIDC authentication support.
Adoption suits API developers wanting to expose REST APIs to AI assistants, AI engineers connecting language models to external tools, and DevOps teams integrating legacy systems with modern AI workflows. The tool is positioned as a zero-code alternative to hand-writing MCP server implementations. It handles real-time tool exposure, background processing with detached server modes, and flexible configuration to control which endpoints are exposed and how they behave. The project is in early preview as a research effort, so APIs and features may change.
The issue tracker is primarily used for internal planning rather than tracking external user demand, with most issues raised by project members. Maintainers respond to new issues and pull requests within a few days. Work focuses on enhancements and improvements to server functionality and MCP file format handling.