MCP Server
69 字小于 1 分钟
CNB 支持 MCP 协议的 MCP Server
使用方法
Streamable (推荐)
{
"mcpServers": {
"cnb": {
"url": "https://mcp.cnb.cool/mcp",
"headers": {
"Authorization": "Bearer <YOUR_TOKEN>"
}
}
}
}
SSE
{
"mcpServers": {
"cnb": {
"url": "https://mcp.cnb.cool/sse",
"headers": {
"Authorization": "Bearer <YOUR_TOKEN>"
}
}
}
}
STDIO
{
"mcpServers": {
"cnb": {
"command": "npx",
"args": ["-y", "-p", "@cnbcool/mcp-server", "cnb-mcp-stdio"],
"env": {
"API_BASE_URL": "https://api.cnb.cool", // 可选,默认值: https://api.cnb.cool
"API_TOKEN": "<YOUR_TOKEN>"
}
}
}
}