Module mcp_sse_handlers

Module mcp_sse_handlers 

Source

Structsยง

ContentBlock
JsonRpcError
Outgoing JSON-RPC 2.0 error
JsonRpcRequest
Incoming JSON-RPC 2.0 request
JsonRpcResponse
Outgoing JSON-RPC 2.0 response (success)
McpTool
MCP tool definition (for tools/list response)
RpcError
ServerCapabilities
MCP capabilities advertised by the server
ServerInfo
Server info sent in initialize response
ToolResult
Tool execution result (for tools/call response)
ToolsCapability
mcp_info_endpoint
Returns MCP server metadata (no auth required โ€” for discovery)
mcp_legal_index_endpoint
GET /mcp/legal-index โ€” Legal document index in JSON Returns a comprehensive index of Belgian legal rules, GDPR articles, and KoproGo-specific compliance rules. Embedded as static JSON. Issue #262
mcp_messages_endpoint
JSON-RPC 2.0 message endpoint.
mcp_sse_endpoint
SSE endpoint that establishes the MCP connection.
mcp_system_prompt_endpoint
GET /mcp/system-prompt โ€” System prompt for AI agents Returns a Markdown document that AI clients (like Claude Desktop) can fetch to understand KoproGo context, available tools, and Belgian legal rules. Issue #263