
reapi-com/mcp-openapi
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
reapi-com/mcp-openapi は [https://github.com/reapi-com/mcp-openapi.] からインポートされた MCP サーバーの候補です
概要
reapi-com/mcp-openapi は [https://github.com/reapi-com/mcp-openapi.] からインポートされた MCP サーバーの候補です
概要(AI 翻訳)
複数の OpenAPI 仕様をロードして機能するモデルコンテキストプロトコル(MCP)サーバーで、LLM を搭載した IDE 統合を有効にします。 このサーバーは、OpenAPI 仕様と、Cursor などのコードエディタなどの LLM 搭載開発ツールとの間のブリッジとして機能します。
##特徴
- ディレクトリから複数のOpenAPI仕様をロードする
- MCP プロトコルによる API 操作とスキーマの露出
- LLM が IDE の API を直接理解し、操作できるようにする
- 完全な API のコンテキストのための非参照スキーマをサポート
- すべての利用可能なAPIのカタログを維持
##ReAPI の操作
このオープンソースのMCPサーバーは、APIの設計とテストを簡素化する次世代APIプラットフォームであるReAPIによってスポンサーされます。 このサーバーは開発のためのローカルOpenAPIの統合を提供しますが、ReAPIは2つの強力なモジュールを提供しています。
ウォレット API CMS
- 直感的なノーコードエディタを使用してAPIを設計する
- OpenAPI仕様を自動的に生成し、公開する
- チームメンバーとリアルタイムでコラボレーション
- バージョン管理と変更の管理
🧪 API テスト
- 最も開発者に優しい非コードAPIテストソリューション
- 直感的なインターフェースでテストケースを作成および管理
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
@reapi/mcp-openapi
A Model Context Protocol (MCP) server that loads and serves multiple OpenAPI specifications to enable LLM-powered IDE integrations. This server acts as a bridge between your OpenAPI specifications and LLM-powered development tools like Cursor and other code editors.
Features
- Loads multiple OpenAPI specifications from a directory
- Exposes API operations and schemas through MCP protocol
- Enables LLMs to understand and work with your APIs directly in your IDE
- Supports dereferenced schemas for complete API context
- Maintains a catalog of all available APIs
Powered by ReAPI
This open-source MCP server is sponsored by ReAPI, a next-generation API platform that simplifies API design and testing. While this server provides local OpenAPI integration for development, ReAPI offers two powerful modules:
🎨 API CMS
- Design APIs using an intuitive no-code editor
- Generate and publish OpenAPI specifications automatically
- Collaborate with team members in real-time
- Version control and change management
🧪 API Testing
- The most developer-friendly no-code API testing solution
- Create and manage test cases with an intuitive interface
- Powerful assertion and validation capabilities
- Serverless cloud test executor
- Perfect for both QA teams and developers
- CI/CD integration ready
Try ReAPI for free at reapi.com and experience the future of API development.
Cursor Configuration
To integrate the MCP OpenAPI server with Cursor IDE, you have two options for configuration locations:
Option 1: Project-specific Configuration (Recommended)
Create a .cursor/mcp.json file in your project directory. This option is recommended as it allows you to maintain different sets of specs for different projects
{
"mcpServers": {
"@reapi/mcp-openapi": {
"command": "npx",
"args": ["-y", "@reapi/mcp-openapi@latest", "--dir", "./specs"],
"env": {}
}
}
}
Tip: Using a relative path like
./specsmakes the configuration portable and easier to share across team members.Note: We recommend using
@latesttag as we frequently update the server with new features and improvements.Important: Project-specific configuration helps manage LLM context limits. When all specifications are placed in a single folder, the combined metadata could exceed the LLM’s context window, leading to errors. Organizing specs by project keeps the context size manageable.
Option 2: Global Configuration
Create or edit ~/.cursor/mcp.json in your home directory to make the server available across all projects:
{
"mcpServers": {
"@reapi/mcp-openapi": {
"command": "npx",
"args": ["-y", "@reapi/mcp-openapi@latest", "--dir", "/path/to/your/specs"],
"env": {}
}
}
}
Enable in Cursor Settings
After adding the configuration:
- Open Cursor IDE
インストール
npx -y @reapi/mcp-openapi@latest --dir ./specs設定
{
"mcpServers": {
"@reapi/mcp-openapi": {
"command": "npx",
"args": ["-y", "@reapi/mcp-openapi@latest", "--dir", "./specs"],
"env": {}
}
}
}