l
lingjingTest1
sd3500550/lingjingTest1
0 Stars
5 次浏览
更新于 2026-08-23
MCP 服务配置
复制以下 JSON 到 OPClaw 或其他 MCP 客户端的配置文件中即可使用
{
"mcpServers": {
"lingjing-mcp-service": {
"args": [
"--workers",
"1",
"--timeout-keep-alive",
"30"
],
"command": "uvicorn server:app --host 0.0.0.0 --port 8000",
"env": {
"SEARCH_MODEL_API_KEY": "${SEARCH_MODEL_API_KEY}",
"SEARCH_MODEL_API_URL": "https://api.tiu.me/v1/chat/completions",
"UVICORN_LOG_LEVEL": "info"
},
"healthCheck": {
"interval": 30,
"path": "/health",
"timeout": 5
},
"routes": [
{
"methods": [
"POST",
"GET"
],
"path": "/sse",
"streaming": true,
"strip_path": false,
"target": "/sse",
"timeout": 60000
},
{
"methods": [
"GET"
],
"path": "/health",
"strip_path": false,
"target": "/health"
}
],
"security": {
"apiKeys": [
{
"in": "header",
"key": "Authorization",
"name": "modelscope-api-key"
}
]
},
"transform": {
"request": {
"body": {
"schemaValidation": {
"$ref": "https://api.swaggerhub.com/apis/lingjing/MCPService/0.1.2#/components/schemas/ToolRequest"
}
}
},
"response": {
"body": {
"maskFields": [
"error.message"
]
},
"statusCodeMapping": {
"200": 200,
"4xx": 400,
"5xx": 500
}
}
}
}
}
}
服务介绍
Test