
gujord/openapi-mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
gujord/openapi-mcp は [https://github.com/gujord/openapi-mcp.] からインポートされた MCP サーバー候補です
概要
gujord/openapi-mcp は [https://github.com/gujord/openapi-mcp.] からインポートされた MCP サーバー候補です
概要(AI 翻訳)
OpenAPI-MCP プロキシは、OpenAPI のスペックを MCP ツールに変換し、AI エージェントがカスタムラッパーなしで外部 API にアクセスできるようにします。
AIエージェントと外部APIのギャップを埋める
OpenAPI to Model Context Protocol (MCP) プロキシサーバーは、動的に翻訳することで、AI エージェントと外部 API のギャップを埋めます OpenAPI 仕様を標準化するMCP ツール、resources、prompts。 これは、カスタム API のラッパーの必要性を排除することにより、統合を簡素化します。
公式のMCPパターンとベストプラクティスに従ってFastMCPで構築されたサーバーは以下を提供します。
-
✅公式FastMCPインテグレーション - 最新のFastMCPフレームワークを使用して、最適なパフォーマンス
-
✅Proper MCP Transport - stdio、SSE、およびストリーミング可能なHTTPトランスポートをサポート
-
✅ モジュラーアーキテクチャ - 依存症注射の問題のクリーンな分離
-
✅ 生産準備 - 強力なエラー処理、包括的なログ、およびタイプ安全
お問い合わせ
GitHub で GET してください!
お問い合わせ
主な特長
コア機能
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
OpenAPI to Model Context Protocol (MCP)
The OpenAPI-MCP proxy translates OpenAPI specs into MCP tools, enabling AI agents to access external APIs without custom wrappers!

Bridge the gap between AI agents and external APIs
The OpenAPI to Model Context Protocol (MCP) proxy server bridges the gap between AI agents and external APIs by dynamically translating OpenAPI specifications into standardized MCP tools, resources, and prompts. This simplifies integration by eliminating the need for custom API wrappers.
Built with FastMCP following official MCP patterns and best practices, the server provides:
-
✅ Official FastMCP Integration - Uses the latest FastMCP framework for optimal performance
-
✅ Proper MCP Transport - Supports stdio, SSE, and streamable HTTP transports
-
✅ Modular Architecture - Clean separation of concerns with dependency injection
-
✅ Production Ready - Robust error handling, comprehensive logging, and type safety
-
Repository: https://github.com/gujord/OpenAPI-MCP
If you find it useful, please give it a ⭐ on GitHub!
Key Features
Core Functionality
- FastMCP Transport: Optimized for
stdio, working out-of-the-box with popular LLM orchestrators. - OpenAPI Integration: Parses and registers OpenAPI operations as callable tools.
- Resource Registration: Automatically converts OpenAPI component schemas into resource objects with defined URIs.
- Prompt Generation: Generates contextual prompts based on API operations to guide LLMs in using the API.
- Dual Authentication: Supports both OAuth2 Client Credentials flow and username/password authentication with automatic token caching.
- MCP HTTP Transport: Official MCP-compliant HTTP streaming transport with JSON-RPC 2.0 over SSE.
- Server-Sent Events (SSE): Legacy streaming support (deprecated - use MCP HTTP transport).
- JSON-RPC 2.0 Support: Fully compliant request/response structure.
Advanced Features
- Modular Architecture: Clean separation of concerns with dedicated modules for authentication, request handling, and tool generation.
- Robust Error Handling: Comprehensive exception hierarchy with proper JSON-RPC error codes and structured error responses.
- Auto Metadata: Derives tool names, summaries, and schemas from the OpenAPI specification.
インストール
npx mcp-remote http://127.0.0.1:8001/sse設定
{
"mcpServers": {
"weather": {
"command": "npx",
"args": ["mcp-remote", "http://127.0.0.1:8001/sse"]
},
"petstore": {
"command": "npx",
"args": ["mcp-remote", "http://127.0.0.1:8002/sse"]
}
}
}