Skip to content

SurrealDB MCP Server

Connect Claude, Cursor and other AI tools to SurrealDB over an open standard. One hosted server that acts as you, respects your role and asks before anything that cannot be undone.

https://mcp.surrealdb.com
Connect. Claude, Cursor and other AI tools, with a single URL.
Operate. Deploy instances, query data and investigate problems.
Control. Manage costs and access from the same conversation.

01 |CAPABILITIES

What you can do. One connection reaches Cloud, your data and, for waitlist members, Agent Memory.

02 |CONNECT

Connect your AI tool. One URL, then sign in with your Surreal ID.

Default

Default configuration

Add https://mcp.surrealdb.com as a remote MCP server and sign in when prompted.

{
"mcpServers": {
"surrealdb": {
"url": "https://mcp.surrealdb.com"
}
}
}
Token

Personal access token

For a client that cannot open a browser, or anything unattended. Create one in the account portal.

{
"mcpServers": {
"surrealdb": {
"url": "https://mcp.surrealdb.com",
"headers": {
"Authorization": "Bearer <your-token>"
}
}
}
}
Query

Query from the same connection

Manage an instance, then ask it questions: the assistant turns them into SurrealQL over the connection it already holds.

-- Ask your assistant to run queries like this
USE NS demo DB app;

SELECT
->purchased->product AS purchase_history,
->reviewed->product AS reviewed_products
FROM ONLY user:jaime;

Your questions,answered

An open standard for connecting AI assistants to outside tools and data. The SurrealDB MCP Server connects your assistant to SurrealDB Cloud to deploy instances, query data, manage teams and work with Agent Memory.

THE PLATFORM

Everything an application and its agents know. Five surfaces, one engine.

IN PRODUCTION

Trusted at scale. Samsung, Nvidia, Verizon, Tencent, and Walmart run on SurrealDB.

14,000+

Developers building on SurrealDB Cloud

4M+

Developers building on SurrealDB worldwide

FROM THE TEAMS

SurrealDB gives us a foundation where we can unify semantic search, knowledge graphs, and AI-driven decision making without stitching together multiple systems. Collapsing responsibility into SurrealDB has become our default engineering posture.
Justin Foley

VP of Engineering, Later

GET STARTED

Connect your AI tools to SurrealDB Cloud. One URL in your MCP client, then sign in with your Surreal ID.

SurrealDB

The context and memory layer for AI agents

Database. Graphs, vectors, documents and relational data in one engine, in a single ACID transaction.
Agent Memory. Connects and retrieves context wherever your data lives, every fact carrying its source.
Cloud. Fully managed, in the cloud provider and region you choose.

Explore with AI

Copyright © 2026 SurrealDB Ltd. Registered in England and Wales. Company no. 13615201

Registered address: 3rd Floor 1 Ashley Road, Altrincham, Cheshire, WA14 2DT, United Kingdom

Trading address: Huckletree Oxford Circus, 213 Oxford Street, London, W1D 2LG, United Kingdom