OpenAPI Client Generator MCP

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 サーバー

TypeScript を使用して API クライアントを生成するモデル コンテキスト プロトコル サーバー。

特徴

リソース

  • API と対話するために使用できる axios ベースの API クライアントを生成します。
  • OpenAPI / Swagger 仕様を使用してクライアントを生成します。

プロンプト

  • generate_client - 指定された OpenAPI 仕様の API クライアントを生成します。

発達

依存関係をインストールします:

npm install

サーバーを構築します。

npm run build

自動リビルドを使用した開発の場合:

npm run watch

インストール

Claude Desktop で使用するには、サーバー設定を追加します。

MacOSの場合: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows の場合: %APPDATA%/Claude/claude_desktop_config.json

{ "mcpServers": { "openapi-client-generator": { "command": "node", "args": [ "< PATH TO >/openapi-client-generator/build/index.js" ] } } }

デバッグ

MCPサーバーはstdio経由で通信するため、デバッグが困難になる場合があります。パッケージスクリプトとして提供されているMCP Inspectorの使用をお勧めします。

npm run inspector

インスペクターは、ブラウザでデバッグ ツールにアクセスするための URL を提供します。

貢献

ぜひ、問題を報告したり、プルリクエストを送信したりして、プロジェクトに貢献してください。プロジェクトの目標に沿った改善や新機能の提案は大歓迎です。

ライセンス

このプロジェクトは MIT ライセンスに基づいてライセンスされています - 詳細についてはLICENSEファイルを参照してください。


Clineで構築

You must be authenticated.

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

OpenAPI 仕様から API クライアントを生成し、自然言語による自動コード生成を可能にする TypeScript ベースの MCP サーバー。

  1. 特徴
    1. リソース
    2. プロンプト
  2. 発達
    1. インストール
      1. デバッグ
    2. 貢献
      1. ライセンス

        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 -
          176
          11
          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

        ID: taqmq8493y