MCP Registry
MCP Server / Tool registry.
MCP Server / Tool registry.
Default Base URL: http://127.0.0.1:8090. Management APIs require Authorization (token from login).
MCP Registry
MCP Server / Tool registry metadata—not an execution engine.
/ai/mcp/v1/serversAuth requiredList MCP servers
List MCP servers.
Parameters
- Authorizationheader · stringrequired
Token from login.
- namequery · stringoptional
name
- namespacequery · stringoptional
namespace
- businessquery · stringoptional
business
- departmentquery · stringoptional
department
- protocolquery · stringoptional
protocol
- offsetquery · uint32optional
offset
- limitquery · uint32optional
limit
- backend_typequery · stringoptional
backend_type
- backend_service_namespacequery · stringoptional
backend_service_namespace
- backend_service_namequery · stringoptional
backend_service_name
curl -sS 'http://127.0.0.1:8090/ai/mcp/v1/servers?namespace=default' \
-H "Authorization: $TOKEN"{
"code": 200000,
"info": "execute success",
"servers": [{ "name": "docs-mcp", "namespace": "default" }]
}/ai/mcp/v1/serversAuth requiredCreate MCP servers
Create MCP servers; body fields follow runtime / annotations.
Parameters
- Authorizationheader · stringrequired
Token from login.
- (body)body · MCPServer[]required
Request body is a JSON array of MCPServer: [{...}, ...]. Fields below are the full per-item schema (including nested).
- idbody · stringoptional
id
- namebody · stringrequired
name
- namespacebody · stringrequired
namespace
- portsbody · stringoptional
ports
- businessbody · stringoptional
business
- departmentbody · stringoptional
department
- descriptionbody · stringoptional
description
- referencebody · stringoptional
reference
- protocolbody · stringoptional
protocol
- export_tobody · stringoptional
export_to
- backend_typebody · stringoptional
backend_type indicates how this MCP server reaches its backend. Supported values: service, address.
- backend_service_namespacebody · stringoptional
backend_service_namespace is set when backend_type is service.
- backend_service_namebody · stringoptional
backend_service_name is set when backend_type is service.
- backend_addressbody · stringoptional
backend_address is set when backend_type is address.
Response fields
- codebody · uint32required
Business code; success is usually 200000.
- infobody · stringoptional
Info message.
- mCPServerbody · MCPServeroptional
MCPServer entity fields (batch APIs nest under responses[]).
- idbody · stringoptional
id
- namebody · stringoptional
name
- namespacebody · stringoptional
namespace
- portsbody · stringoptional
ports
- businessbody · stringoptional
business
- departmentbody · stringoptional
department
- descriptionbody · stringoptional
description
- revisionbody · stringoptional
revision
- flagbody · uint32optional
flag
- referencebody · stringoptional
reference
- protocolbody · stringoptional
protocol
- ctimebody · stringoptional
ctime
- mtimebody · stringoptional
mtime
- export_tobody · stringoptional
export_to
- backend_typebody · stringoptional
backend_type indicates how this MCP server reaches its backend. Supported values: service, address.
- backend_service_namespacebody · stringoptional
backend_service_namespace is set when backend_type is service.
- backend_service_namebody · stringoptional
backend_service_name is set when backend_type is service.
- backend_addressbody · stringoptional
backend_address is set when backend_type is address.
curl -sS -X POST 'http://127.0.0.1:8090/ai/mcp/v1/servers' \
-H "Authorization: $TOKEN" \
-H 'Content-Type: application/json' \
-d '[{"name":"docs-mcp","namespace":"default"}]'{
"code": 200000,
"info": "execute success",
"amount": 1
}/ai/mcp/v1/server/toolsAuth requiredList MCP tools
List tools under an MCP server.
Parameters
- Authorizationheader · stringrequired
Token from login.
- server_idquery · stringoptional
MCP Server ID.
- namespacequery · stringoptional
Namespace.
curl -sS 'http://127.0.0.1:8090/ai/mcp/v1/server/tools?server_id=<id>' \
-H "Authorization: $TOKEN"{
"code": 200000,
"info": "execute success",
"tools": [{ "name": "search_docs" }]
}/ai/mcp/v1/serversAuth requiredUpdate MCP servers
Update MCP servers.
Parameters
- Authorizationheader · stringrequired
Token from login.
- (body)body · MCPServer[]required
JSON array of MCPServer; fields below are per-item.
- idbody · stringoptional
id
- namebody · stringoptional
name
- namespacebody · stringoptional
namespace
- portsbody · stringoptional
ports
- businessbody · stringoptional
business
- departmentbody · stringoptional
department
- descriptionbody · stringoptional
description
- referencebody · stringoptional
reference
- protocolbody · stringoptional
protocol
- export_tobody · stringoptional
export_to
- backend_typebody · stringoptional
backend_type
- backend_service_namespacebody · stringoptional
backend_service_namespace
- backend_service_namebody · stringoptional
backend_service_name
- backend_addressbody · stringoptional
backend_address
Response fields
- codebody · uint32required
Business code.
- infobody · stringoptional
Info.
- MCPServerbody · MCPServeroptional
Entity fields.
- idbody · stringoptional
id
- namebody · stringoptional
name
- namespacebody · stringoptional
namespace
- portsbody · stringoptional
ports
- businessbody · stringoptional
business
- departmentbody · stringoptional
department
- descriptionbody · stringoptional
description
- revisionbody · stringoptional
revision
- flagbody · uint32optional
flag
- referencebody · stringoptional
reference
- protocolbody · stringoptional
protocol
- ctimebody · stringoptional
ctime
- mtimebody · stringoptional
mtime
- export_tobody · stringoptional
export_to
- backend_typebody · stringoptional
backend_type
- backend_service_namespacebody · stringoptional
backend_service_namespace
- backend_service_namebody · stringoptional
backend_service_name
- backend_addressbody · stringoptional
backend_address
curl -sS -X PUT 'http://127.0.0.1:8090/ai/mcp/v1/servers' \
-H "Authorization: $TOKEN" \
-H 'Content-Type: application/json' \
-d '[]'{
"code": 200000,
"info": "execute success"
}/ai/mcp/v1/servers/deleteAuth requiredDelete MCP servers
Delete MCP servers.
Parameters
- Authorizationheader · stringrequired
Token from login.
- idsbody · string[]optional
MCP Server ID 列表。
- namespacebody · stringoptional
命名空间。
Response fields
- codebody · uint32required
Business code.
- infobody · stringoptional
Info.
- MCPServerDeleteRequestbody · MCPServerDeleteRequestoptional
Entity fields.
- idsbody · string[]optional
MCP Server ID 列表。
- namespacebody · stringoptional
命名空间。
curl -sS -X POST 'http://127.0.0.1:8090/ai/mcp/v1/servers/delete' \
-H "Authorization: $TOKEN" \
-H 'Content-Type: application/json' \
-d '[]'{
"code": 200000,
"info": "execute success"
}/ai/mcp/v1/self-capabilities/probeAuth requiredSelf-capabilities probe
Internal capability probe.
Parameters
- Authorizationheader · stringrequired
Token from login.
curl -sS -X POST 'http://127.0.0.1:8090/ai/mcp/v1/self-capabilities/probe' \
-H "Authorization: $TOKEN"{
"code": 200000,
"info": "execute success"
}/ai/mcp/v1/sseAuth requiredMCP SSE (GET)
MCP transport channel, not Console CRUD.
Parameters
- Authorizationheader · stringrequired
Token from login.
curl -sS -X GET 'http://127.0.0.1:8090/ai/mcp/v1/sse' \
-H "Authorization: $TOKEN"{
"code": 200000,
"info": "execute success"
}/ai/mcp/v1/sseAuth requiredMCP SSE (POST)
MCP transport channel.
Parameters
- Authorizationheader · stringrequired
Token from login.
curl -sS -X POST 'http://127.0.0.1:8090/ai/mcp/v1/sse' \
-H "Authorization: $TOKEN"{
"code": 200000,
"info": "execute success"
}/ai/mcp/v1/messageAuth requiredMCP Message (GET)
MCP message channel.
Parameters
- Authorizationheader · stringrequired
Token from login.
curl -sS -X GET 'http://127.0.0.1:8090/ai/mcp/v1/message' \
-H "Authorization: $TOKEN"{
"code": 200000,
"info": "execute success"
}/ai/mcp/v1/messageAuth requiredMCP Message (POST)
MCP message channel.
Parameters
- Authorizationheader · stringrequired
Token from login.
curl -sS -X POST 'http://127.0.0.1:8090/ai/mcp/v1/message' \
-H "Authorization: $TOKEN"{
"code": 200000,
"info": "execute success"
}