docs: simplify API endpoint descriptions

Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
This commit is contained in:
Andrew Phillips
2025-08-28 16:45:43 -03:00
parent fee576f638
commit 10c7ab9679
3 changed files with 56 additions and 56 deletions

View File

@@ -15,12 +15,12 @@ use crate::modes::server::mcp::KeepMcpServer;
get,
path = "/mcp/sse",
operation_id = "mcp_sse",
summary = "Model Context Protocol SSE endpoint",
description = "Server-Sent Events endpoint for Model Context Protocol communication. This endpoint allows AI tools and clients to interact with Keep's functionality through the standardized MCP protocol. Supports saving items, retrieving content, searching by tags and metadata, and listing stored items.",
summary = "MCP SSE endpoint",
description = "Server-Sent Events for Model Context Protocol. Enables AI tools to interact with Keep's storage and retrieval functions.",
responses(
(status = 200, description = "SSE stream established for MCP communication"),
(status = 401, description = "Unauthorized - Invalid or missing authentication credentials"),
(status = 500, description = "Internal server error - Failed to establish MCP connection")
(status = 200, description = "SSE stream established"),
(status = 401, description = "Unauthorized"),
(status = 500, description = "Internal server error")
),
security(
("bearerAuth" = [])