Skip to main content
Glama

OpenAPI Client Generator MCP

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

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

A TypeScript-based MCP server that generates API clients from OpenAPI specifications, allowing automated code generation through natural language.

  1. Features
    1. Resources
    2. Prompts
  2. Development
    1. Installation
      1. Debugging
    2. Contributing
      1. License

        Related MCP Servers

        • -
          security
          A
          license
          -
          quality
          An MCP server that exposes HTTP methods defined in an OpenAPI specification as tools, enabling interaction with APIs via the Model Context Protocol.
          Last updated -
          2
          Python
          MIT License
        • -
          security
          F
          license
          -
          quality
          A simple TypeScript library for creating Model Context Protocol (MCP) servers with features like type safety, parameter validation, and a minimal code API.
          Last updated -
          1
          TypeScript
          MIT License
        • -
          security
          A
          license
          -
          quality
          An MCP server that enables LLMs to understand and work with TypeScript APIs they haven't been trained on by providing structured access to TypeScript type definitions and documentation.
          Last updated -
          67
          24
          TypeScript
          MIT License
        • -
          security
          A
          license
          -
          quality
          Generate an MCP server for any OpenAPI documented endpoint.
          Last updated -
          201
          Go
          Apache 2.0
          • Apple
          • Linux

        View all related MCP servers

        MCP directory API

        We provide all the information about MCP servers via our MCP API.

        curl -X GET 'https://glama.ai/api/mcp/v1/servers/orhanveli/openapi-client-generator-mcp'

        If you have feedback or need assistance with the MCP directory API, please join our Discord server