A Model Context Protocol (MCP) server that provides a standardized interface for AI assistants to interact with a SurrealDB database.
Surrealdb mcp server connects Surrealdb to AI assistants that speak the Model Context Protocol. A Model Context Protocol (MCP) server that provides a standardized interface for AI assistants to interact with a SurrealDB database.
A Model Context Protocol (MCP) server that provides a standardized interface for AI assistants to interact with a SurrealDB database. This server enables AI systems to query and manipulate data within a configured SurrealDB instance.
Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.
Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.
| Tool | What it does |
|---|---|
| query | Execute a raw SurrealQL query. |
| select | Select records from a table (all or by specific ID). |
| create | Create a single new record in a table. |
| update | Update a specific record, replacing its content. |
| delete | Delete a specific record by ID. |
| merge | Merge data into a specific record (partial update). |
| patch | Apply JSON Patch operations to a specific record. |
| upsert | Create a record if it doesn't exist, or update it if it does. |
| insert | Insert multiple records into a table. |
| insertRelation | Create a graph relation (edge) between two records. |
{
"mcpServers": {
"surrealdb": {
"command": "C:\\Program Files\\nodejs\\node.exe",
"args": [
"C:\\Users\\YOUR_USERNAME\\AppData\\Roaming\\npm\\node_modules\\surrealdb-mcp-server\\build\\index.js"
],
"env": {
"SURREALDB_URL": "ws://localhost:8000",
"SURREALDB_NS": "your_namespace",
"SURREALDB_DB": "your_database",
"SURREALDB_USER": "your_db_user",
"SURREALDB_PASS": "your_db_password"
},
"disabled": false,
"autoApprove": []
}
}
}From the project documentation. Replace placeholders and example paths before connecting.
| Variable | Description | Required |
|---|---|---|
| SURREALDB_URL | Declared in the maintainer’s client configuration. | Check documentation |
| SURREALDB_NS | Declared in the maintainer’s client configuration. | Check documentation |
| SURREALDB_DB | Declared in the maintainer’s client configuration. | Check documentation |
| SURREALDB_USER | Declared in the maintainer’s client configuration. | Check documentation |
| SURREALDB_PASS | Declared in the maintainer’s client configuration. | Check documentation |
Inspect PostgreSQL schemas and run read-only queries with the archived MCP reference server. Review its maintenance status before choosing it.
Connect the Notion MCP server to search workspace content and work with pages and databases through Notion’s hosted OAuth service.
Use the Supabase MCP server to inspect database schemas, query project data and retrieve docs through a project-scoped connection.
Query, modify and analyse local SQLite databases in conversation — the fastest way to chat with a data file.
Metabase ships its own MCP endpoint — search your BI content, build and run queries, and save questions and dashboards without leaving the chat.
Official MongoDB server covering data, schemas and Atlas management — from find queries to spinning up clusters.