
gunpal5/quickmcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
gunpal5/quickmcp は [https://github.com/gunpal5/quickmcp. からインポートされた MCP サーバーの候補です
概要
gunpal5/quickmcp は [https://github.com/gunpal5/quickmcp. からインポートされた MCP サーバーの候補です
概要(AI 翻訳)
OpenAPI、Swagger、または .NET を使用した Google ディスカバリー仕様のモデルコンテキストプロトコル(MCP)サーバーを快適に構築・管理できます。
紹介
QuickMCP は、モデルコンテキストプロトコル(MCP)サーバーの作成と展開を合理化する強力な .NET ツールキットです。 開発者は、OpenAPI、Swagger、またはGoogle Discovery仕様からサーバーを迅速に生成し、ボイラープレートのコードを減らし、開発を加速することができます。
##特徴
- OpenAPI/Swagger/Google Discovery仕様から.NET MCPサーバーを生成
- **Claudeデスクトップエクステンション(.mcpb)**をAI搭載メタデータ生成でビルドする
- CLI ユーティリティで構成可能な .NET ライブラリを高速展開
- 複数の構成アプローチ(構成オプションまたはメソッドチェーン)
- 包括的な認証サポート:
- APIキー、基本、ベアラートークン、OAuth 2.0、カスタムヘッダー
- カスタム認証実装インターフェイス
- パスフィルタリング、HTTPカスタマイズ、エラー処理、およびロギングでツールを生成する
- ClaudeデスクトップのようなMCPクライアントとのシームレスな統合
- 設定ファイルサポートとフル非同期/待ち合わせ機能
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
QuickMCP
Effortlessly Build and Serve Model Context Protocol (MCP) Servers with OpenAPI, Swagger, or Google Discovery Specifications using .NET.
Introduction
QuickMCP is a powerful .NET toolkit designed to streamline the creation and deployment of Model Context Protocol (MCP) servers. It allows developers to quickly generate servers from OpenAPI, Swagger, or Google Discovery specifications, reducing boilerplate code and accelerating development.
Features
- Generate .NET MCP servers from OpenAPI/Swagger/Google Discovery specifications
- Build Claude Desktop Extensions (.mcpb) with AI-powered metadata generation
- Highly configurable .NET library with CLI utility for rapid deployment
- Multiple configuration approaches (Configuration options or method chaining)
- Comprehensive authentication support:
- API Key, Basic, Bearer Token, OAuth 2.0, Custom Header
- Custom authentication implementation interface
- Generate Tools with Path filtering, HTTP customization, error handling, and logging
- Seamless integration with MCP clients like Claude Desktop
- Configuration file support and full async/await capabilities
- AI-powered metadata generation using Google Gemini for extension descriptions
Installation
CLI Installation
dotnet tool install -g QuickMCP.CLI
Library Installation
dotnet add package QuickMCP
Quick Start
Basic CLI Usage
# Serve directly from OpenAPI specification
quickmcp serve --spec-url https://petstore.swagger.io/v2/swagger.json
# Build a configuration file
quickmcp build config --spec-url https://petstore.swagger.io/v2/swagger.json --output-path ./config
# Build a Claude Desktop extension (.mcpb) with AI-generated metadata
quickmcp build ce --spec-url https://api.example.com/swagger.json -m --author-name "Your Company"
# Build extension from existing config file
quickmcp build ce -c path/to/config.json -m -k YOUR_GEMINI_API_KEY
# Serve using a configuration file
quickmcp serve --config-path ./config/mcp_server_config.json
# Add authentication to your configuration
quickmcp build config --spec-url https://api.example.com/swagger.json --auth bearer
# Add a server configuration for quick access
quickmcp add server /path/to/config.json -n MyServer
# List available servers
quickmcp list server
# Serve installed server
quickmcp serve -i myServer
# Remove a stored server configuration
quickmcp delete server MyServer
Library Integration Example
// Create and configure a server
var serverInfoBuilder = McpServerInfoBuilder.ForOpenApi()
.FromUrl("https://petstore.swagger.io/v2/swagger.json")
.WithBaseUrl("https://petstore.swagger.io")
.AddDefaultHeader("User-Agent", "QuickMCP Client")
.AddAuthentication(new ApiKeyAuthenticator("your-api-key", "X-API-Key", "header"));
// Build server info
var serverInfo = await serverInfoBuilder.BuildAsync();
//Integrate with official MCP C# SDK
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →設定
{
"mcpServers": {
"petStore": {
"command": "quickmcp",
"args": ["serve", "-c", "path/to/config.json"]
}
}
}