openapi-mcp-server

marromugi/openapi-mcp-server

3.1

If you are the rightful owner of openapi-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

This server extracts information from OpenAPI schemas using the Model Context Protocol (MCP).

Tools
4
Resources
0
Prompts
0

OpenAPI MCP Server

OpenAPI スキーマの情報を抜き出す MCPサーバーです。

機能

以下のツールを提供します:

  • get-api-paths - 全ての API パスを取得します
  • get-api-path-method - 指定された API パスのメソッドを取得します
  • search-api-by-keyword - キーワードで API パスと説明を検索します
  • get-api-details - 指定されたパスとメソッドの API 詳細を取得します

使い方

スキーマのバンドル

OpenAPI スキーマをバンドルして単一のJSONファイルに変換します:

npm run bundle

ビルド

TypeScriptのコードをJavaScriptにコンパイルします:

npm run build

テスト

ユニットテストを実行します:

npm test
# または
npm run test:watch

フォーマット

コードを整形します:

npm run format

参考