module
CrystalDoc::MCP
Defined in:
crystaldoc/mcp.crcrystaldoc/mcp_cache.cr
Constant Summary
-
DocCacheInstance =
CrystalDoc::MCP::DocCache.new -
PROTOCOL_VERSION =
"2024-11-05" -
SERVER_NAME =
"crystaldoc-mcp" -
SERVER_VERSION =
"0.1.0"
Class Method Summary
- .handle(request : JSON::Any, db : Queriable) : String
- .handle_streamable_http(body : String, db : Queriable) : Tuple(Int32, String)
- .parse_error_response : String
- .rpc_error(id : JSON::Any | Nil, code : Int32, message : String) : String