OpenAPI Client Generator MCP
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Integrations
Generates API clients based on OpenAPI specifications using Axios as the HTTP client for making API requests
Uses OpenAPI/Swagger specifications to generate TypeScript API clients for interacting with REST APIs
Generates strongly-typed API clients in TypeScript for improved type safety when interacting with APIs
openapi-client-generator MCP Server
A Model Context Protocol server to generate API clients by using TypeScript.
Features
Resources
- Generates an axios based API client that can be used to interact with the API.
- It uses OpenAPI / Swagger specs to generate the client.
Prompts
generate_client
- Generate a API client for specified OpenAPI specs.
Development
Install dependencies:
Build the server:
For development with auto-rebuild:
Installation
To use with Claude Desktop, add the server config:
On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
Debugging
Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:
The Inspector will provide a URL to access debugging tools in your browser.
Contributing
Feel free to contribute to the project by opening issues or submitting pull requests. We welcome any improvements or new features that align with the project's goals.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Built with Cline
You must be authenticated.
A TypeScript-based MCP server that generates API clients from OpenAPI specifications, allowing automated code generation through natural language.