About
Overview
The SurrealDB MCP Server provides tools for working with SurrealDB, the multi-model database that supports documents, graphs, and time-series data in a single platform. AI agents can execute SurrealQL queries, manage namespaces and databases, and work with SurrealDB's unique features like record links and computed fields.
Capabilities
Tools & Capabilities
⚡query
Execute a SurrealQL query
⚡list_tables
List all tables in the database
⚡describe_table
Get the schema of a table
⚡info
Get database information and statistics
Setup
Installation
bash
Install
cargo install mcp-server-surrealdbExamples
Example Usage
javascript
Usage
{
"mcpServers": {
"surrealdb": {
"command": "mcp-server-surrealdb",
"env": {
"SURREAL_URL": "ws://localhost:8000",
"SURREAL_NS": "myns",
"SURREAL_DB": "mydb"
}
}
}
}Quick Info
Authorsurrealdb
LanguageRust
StatusBeta
Stars★ 130
Last UpdatedFeb 12, 2026