APISIX-MCP
APISIX モデルコンテキストプロトコル (MCP) サーバー
APISIXモデルコンテキストプロトコル(MCP)サーバーは、大規模言語モデル(LLM)とAPISIX管理APIを連携させるために使用されます。MCP対応のAIクライアントを介して、APISIX内のリソースの表示と管理を自然言語ベースで実現することを目的としています。
https://github.com/user-attachments/assets/081e878c-225e-4ff8-a9c5-5813f4784cfe
サポート業務
一般的な操作
get_resource: タイプ(ルート、サービス、アップストリームなど)別にリソースを取得します。delete_resource: IDでリソースを削除するsend_request_to_gateway: APISIXゲートウェイにリクエストまたは複数のリクエストを送信する
APIリソース操作
create_route/update_route/delete_route: ルートを管理するcreate_service/update_service/delete_service: サービスの管理create_upstream/update_upstream/delete_upstream: アップストリームの管理create_ssl/update_ssl/delete_ssl: SSL証明書を管理するcreate_or_update_proto: protobuf定義を管理するcreate_or_update_stream_route: ストリームルートを管理する
プラグイン操作
get_all_plugin_names: 利用可能なすべてのプラグイン名を取得するget_plugin_info/get_plugins_by_type/get_plugin_schema: プラグインの設定を取得するcreate_plugin_config/update_plugin_config: プラグインの設定を管理するcreate_global_rule/update_global_rule: プラグインのグローバルルールを管理するget_plugin_metadata/create_or_update_plugin_metadata/delete_plugin_metadata: プラグインのメタデータを管理する
セキュリティ構成
get_secret_by_id/create_secret/update_secret: シークレットを管理するcreate_or_update_consumer/delete_consumer: コンシューマーを管理するget_credential/create_or_update_credential/delete_credential/: 消費者の資格情報を管理するcreate_consumer_group/delete_consumer_group: コンシューマーグループを管理する
Related MCP server: DolphinScheduler MCP Server
AIクライアントでの構成
前提条件
APISIX をセットアップして実行するには、APISIXスタートガイドに従ってください。
Smithery経由でインストール
Smithery経由で Claude Desktop 用の APISIX モデル コンテキスト プロトコル サーバーを自動的にインストールするには:
npx -y @smithery/cli install @api7/apisix-mcp --client claudenpmの使用
AI クライアント (Cursor、Claude、Copilot など) を次の設定で構成します。
{
"mcpServers": {
"apisix-mcp": {
"command": "npx",
"args": [
"-y",
"apisix-mcp"
],
"env": {
"APISIX_SERVER_HOST": "your-apisix-server-host",
"APISIX_SERVER_PORT": "your-apisix-server-port",
"APISIX_ADMIN_API_PORT": "your-apisix-admin-api-port",
"APISIX_ADMIN_API_PREFIX": "your-apisix-admin-api-prefix",
"APISIX_ADMIN_KEY": "your-apisix-api-key"
}
}
}
}ソースコードの使用
まず、apisix-mcp リポジトリをクローンします。
git clone https://github.com/api7/apisix-mcp.git
cd apisix-mcp依存関係をインストールしてプロジェクトをビルドします。
pnpm install
pnpm buildAI クライアント (Cursor、Claude、Copilot など) を次の設定で構成します。
{
"mcpServers": {
"apisix-mcp": {
"command": "node",
"args": [
"your-apisix-mcp-path/dist/index.js"
],
"env": {
"APISIX_SERVER_HOST": "your-apisix-server-host",
"APISIX_SERVER_PORT": "your-apisix-server-port",
"APISIX_ADMIN_API_PORT": "your-apisix-admin-api-port",
"APISIX_ADMIN_API_PREFIX": "your-apisix-admin-api-prefix",
"APISIX_ADMIN_KEY": "your-apisix-api-key"
}
}
}
}環境変数
変数 | 説明 | デフォルト値 |
| APISIXサーバーにアクセスできるホスト |
|
| APISIX サーバーポート |
|
| 管理APIポート |
|
| 管理APIプレフィックス |
|
| 管理API認証キー |
|
APISIX で管理 API 構成を表示または変更するには、管理 APIドキュメントを参照してください。
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceA server that enables Large Language Models to discover and interact with REST APIs defined by OpenAPI specifications through the Model Context Protocol.4,812286MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that allows AI agents to interact with Apache DolphinScheduler through a standardized protocol, enabling AI-driven workflow management.27Apache 2.0
- AlicenseCqualityDmaintenanceA Model Context Protocol server that exposes over 200+ APIs from API.market as MCP resources, allowing large language models to discover and interact with various APIs through natural language commands.34254MIT
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that bridges MCP clients with local LLM services, enabling seamless integration with MCP-compatible applications through standard tools like chat completion, model listing, and health checks.
Related MCP Connectors
MCP server for AI dialogue using various LLM models via AceDataCloud
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/api7/apisix-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server