feat: MCP (Model Context Protocol) server

- POST /mcp (JSON-RPC 2.0): initialize, ping, tools/list, tools/call; notifications -> 202
- tools: cortiq_route (classify -> routing decision) and cortiq_chat (route -> answer)
- gated by protocols.mcp; admin meta marks it implemented
- docs: README/README.ru protocol tables, highlights and status updated for
  streaming, Anthropic, embeddings, semantic cache and MCP
This commit is contained in:
infosave2007
2026-06-30 17:12:55 +03:00
parent 5759de153b
commit 729a8bfbba
6 changed files with 193 additions and 21 deletions
+1 -1
View File
@@ -281,7 +281,7 @@ async fn meta() -> ApiResult {
"caps": ["tools", "vision"],
"protocols_impl": {
"openai_chat": true, "openai_completions": false, "openai_embeddings": true,
"openai_models": false, "anthropic_messages": true, "mcp": false, "native_passthrough": false
"openai_models": false, "anthropic_messages": true, "mcp": true, "native_passthrough": false
},
"languages": ["en", "ru", "de", "fr", "es", "zh", "tr"],
}))