Skip to main content
Glama
OpenAPI Client Generator MCP

OpenAPI Client Generator MCP

openapi-client-generator MCP サーバー

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

特徴

リソース

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

  • OpenAPI / Swagger 仕様を使用してクライアントを生成します。

プロンプト

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

Related MCP server: Emcee

発達

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

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で構築

Available Tools

1 tool
generate_clientB

Generate TypeScript API client from OpenAPI specification

Inputs: input (required), output (required), httpClient (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 1 tool

    Disambiguation5/5

    With only one tool, there is no possibility of confusion. The tool has a clear and singular purpose.

    Naming Consistency5/5

    The single tool uses a clear verb_noun pattern ('generate_client'), which is consistent and descriptive.

    Tool Count3/5

    A single tool feels thin for an OpenAPI client generator. While it may suffice for a minimal use case, most users would expect additional capabilities like validation or endpoint listing.

    Completeness2/5

    The tool only generates a client from a specification. Obvious gaps include validating the spec, listing endpoints, or configuring output options, which limits its usefulness.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      An MCP server that exposes HTTP methods defined in an OpenAPI specification as tools, enabling interaction with APIs via the Model Context Protocol.
      8
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      A service that converts OpenAPI specifications into MCP tools, enabling AI assistants to interact with your API endpoints through natural language.
      MIT