Skip to content

MCP Server

Magnus exposes a remote MCP server at https://magnusdb.dev/api/mcp implementing the Streamable HTTP transport (spec 2025-03-26).

Add to your MCP client config:

{
"mcpServers": {
"magnus": {
"url": "https://magnusdb.dev/api/mcp",
"headers": { "Authorization": "Bearer YOUR_API_KEY" }
}
}
}
ToolDescription
sql_queryRun a SQL query
sql_batchRun multiple SQL statements
document_findFind documents with MQL filter
document_insertInsert one document
document_updateUpdate a document
document_deleteDelete a document
document_aggregateAggregation pipeline
kv_getGet a KV value
kv_setSet a KV value
kv_commandRun a Redis command
kv_pipelineRun a sequence of Redis commands
vector_searchSemantic similarity search
ts_writeWrite time-series points
analytics_eventTrack an analytics event
health_checkCheck API health

See Tools Reference for full parameter schemas.