
APIG
STDIOMCP server for Volcengine APIG gateway management with natural language interface
MCP server for Volcengine APIG gateway management with natural language interface
APIG MCP Server 是一个模型上下文协议(Model Context Protocol)服务器,为MCP客户端(如Claude Desktop)提供与火山引擎APIG服务交互的能力。可以基于自然语言对云端实例资源进行全链路管理,支持实例、服务、路由的查询操作,实现APIG资源的高效管理。
版本 | v0.2.0 |
---|---|
描述 | 基于 MCP 管理 APIG 资源,智能化流量管理 |
分类 | 容器与中间件 |
标签 | API网关 AI网关 |
本 MCP Server 产品提供以下 Tools (工具/能力):
SaaS
该工具允许您便捷查看火山引擎APIG的实例列表。
输入:
{ "inputSchema": { "type": "object", "properties": { "region": { "description": "区域,默认为 cn-beijing", "type": "string" } }, "required": [] }, "name": "list_gateways", "description": "查询您账号下拥有的所有网关实例的列表。" }
输出:
列举火山引擎 APIG 的实例列表。
SaaS
该工具允许您便捷查看火山引擎APIG的实例详情。
输入:
{ "inputSchema": { "type": "object", "properties": { "id": { "description": "The ID of the gateway instance to query.", "type": "string" }, "region": { "description": "区域,默认为 cn-beijing", "type": "string" } }, "required": [ "id" ] }, "name": "get_gateway", "description": "查询您账号下拥有的网关实例的详情。" }
输出:
查询火山引擎 APIG 的实例详情。
SaaS
该工具允许您便捷创建火山引擎APIG实例。
输入:
{ "inputSchema": { "type": "object", "properties": { "name": { "description": "The name of the gateway instance to create, if not provided, a random name will be generated.", "type": "string" }, "region": { "description": "区域,默认为 cn-beijing", "type": "string" } }, "required": [ ] }, "name": "create_serverless_gateway", "description": "创建 serverless 网关实例" }
输出:
创建火山引擎 APIG 网关实例。
SaaS
该工具允许您便捷查看火山引擎APIG的实例下的服务列表。
输入:
{ "inputSchema": { "type": "object", "properties": { "gateway_id": { "description": "The id of the gateway instance to query.", "type": "string" }, "region": { "description": "区域,默认为 cn-beijing", "type": "string" } }, "required": [ "gateway_id" ] }, "name": "list_gateway_services", "description": "查询您账号下拥有的网关实例的服务列表。" }
输出:
列举火山引擎 APIG 的服务列表。
SaaS
该工具允许您便捷查看火山引擎APIG的服务详情。
输入:
{ "inputSchema": { "type": "object", "properties": { "id": { "description": "The id of the gateway service to query.", "type": "string" }, "region": { "description": "区域,默认为 cn-beijing", "type": "string" } }, "required": [ "id" ] }, "name": "get_gateway_service", "description": "查询您账号下拥有的网关服务详情。" }
输出:
查询火山引擎 APIG 的服务详情。
SaaS
该工具允许您便捷创建火山引擎APIG服务。
输入:
{ "inputSchema": { "type": "object", "properties": { "gateway_id": { "description": "The id of the gateway instance to create the service.", "type": "string" }, "name": { "description": "The name of the gateway service to create, if not provided, a random name will be generated.", "type": "string" }, "region": { "description": "区域,默认为 cn-beijing", "type": "string" } }, "required": [ "gateway_id" ] }, "name": "create_gateway_service", "description": "创建网关服务" }
输出:
创建火山引擎 APIG 网关服务。
SaaS
该工具允许您便捷查看火山引擎APIG的实例下的路由列表。
输入:
{ "inputSchema": { "type": "object", "properties": { "gateway_id": { "description": "The id of the gateway instance to query.", "type": "string" }, "region": { "description": "区域,默认为 cn-beijing", "type": "string" } }, "required": [ "gateway_id" ] }, "name": "list_gateway_routes", "description": "查询您账号下拥有的网关实例的路由列表。" }
输出:
列举火山引擎 APIG 的路由列表。
SaaS
该工具允许您便捷查看火山引擎APIG的路由详情。
输入:
{ "inputSchema": { "type": "object", "properties": { "id": { "description": "The id of the gateway route to query.", "type": "string" }, "region": { "description": "区域,默认为 cn-beijing", "type": "string" } }, "required": [ "id" ] }, "name": "get_gateway_route", "description": "查询您账号下拥有的网关路由详情。" }
输出:
查询火山引擎 APIG 的路由详情。
方舟,python,cursor
https://console.volcengine.com/veapig
火山引擎,从 volcengine 管理控制台获取 volcengine 访问密钥 ID、秘密访问密钥和区域,请在.env文件中设置相关环境变量
以下环境变量可用于配置MCP服务器:
环境变量 | 描述 | 默认值 |
---|---|---|
VOLCENGINE_ACCESS_KEY | 火山引擎账号 ACCESS KEY | - |
VOLCENGINE_SECRET_KEY | 火山引擎账号 SECRET KEY | - |
VOLCENGINE_REGION | 火山引擎 APIG region | - |
VOLCENGINE_ENDPOINT | Volcengine endpoint | - |
MCP_SERVER_PORT | MCP server listening port | 8000 |
curl -LsSf https://astral.sh/uv/install.sh | sh
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
uv sync
uv build
When using uv
no specific installation is needed. We will
use uvx
to directly run mcp-server-veapig.
添加以下配置到你的 mcp settings 文件中
{ "mcpServers": { "mcp-server-veapig": { "command": "uv", "args": [ "--directory", "/ABSOLUTE/PATH/TO/PARENT/FOLDER/src/mcp_server_veapig", "run", "mcp-server-veapig" ] } } }
[示例如下]
[示例如下]
{ "mcpServers": { "mcp-server-veapig": { "command": "uvx", "args": [ "--from", "git+https://github.com/volcengine/mcp-server#subdirectory=server/mcp_server_veapig", "mcp-server-veapig" ], "env": { "VOLCENGINE_ACCESS_KEY": "your access-key-id", "VOLCENGINE_SECRET_KEY": "your access-key-secret" } } } }
volcengine/mcp-server is licensed under the MIT License.