
openapi client generator mcp
A Model Context Protocol server for generating API clients with TypeScript.
Repository Info
About This Server
A Model Context Protocol server for generating API clients with TypeScript.
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
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:
npm install
Build the server:
npm run build
For development with auto-rebuild:
npm run watch
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
{
"mcpServers": {
"openapi-client-generator": {
"command": "node",
"args": [
"< PATH TO >/openapi-client-generator/build/index.js"
]
}
}
}
Debugging
Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:
npm run inspector
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
Quick Start
Clone the repository
git clone https://github.com/orhanveli/openapi-client-generator-mcpInstall dependencies
cd openapi-client-generator-mcp
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.