增加 SuperAgent MCP 内嵌接口和配置文档

This commit is contained in:
andy
2026-07-09 17:49:53 +08:00
parent a2119a8d06
commit e12bfd77e1
25 changed files with 2236 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
{
"format": "th-hotel-superagent-mcp-client-config/v1",
"mcpServers": {
"th-hotel-simple-superagent": {
"transport": "http",
"protocolVersion": "2025-06-18",
"url": "https://<server-domain>/mcp",
"method": "POST",
"headers": {
"Authorization": "Bearer ${MCP_AUTH_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json"
},
"requestLimits": {
"maxBodyBytes": 10485760
},
"tools": {
"allow": [
"th_hotel_query_case_context",
"th_hotel_query_object_detail",
"th_hotel_list_message_conversation_tasks",
"th_hotel_list_message_conversation_messages",
"th_hotel_submit_task_results"
],
"writeTools": [
"th_hotel_submit_task_results"
]
},
"runtimeNotes": {
"authTokenSource": "Use a per-environment high-entropy secret. Do not commit the real token.",
"submitTaskResultsServerSwitch": "MCP_ENABLE_SUBMIT_TASK_RESULTS must be true before using write tools.",
"messageBodyPolicy": "Conversation message tools return controlled body only, not attachments or raw HTML."
}
}
}
}