WHAT IS MCP?
Connect AI assistants to your data
Model Context Protocol is an open standard for connecting AI assistants to outside tools and data. Instead of copying a connection string into a chat window and pasting query results back out, your assistant works with SurrealDB directly.
The server is hosted for you - nothing to install and nothing to keep running. It acts as you: it sees only the organisations you belong to, respects the role you hold in each one, and asks you to confirm anything that cannot be undone.
CAPABILITIES
What you can do
One connection gives your assistant access to SurrealDB Cloud, your instance data, and Agent Memory (early access).
CONNECT
Connect your AI tool
Most clients need nothing but the URL. Add the server to your MCP client, sign in with your Surreal ID, and ask your assistant to list your organisations to confirm the connection.
Default configuration
Add https://mcp.surrealdb.com as a remote MCP server. Sign in with your Surreal ID when prompted.
Personal access token
Use a token when your client cannot open a browser, or when something runs unattended. Create one in the account portal.
WORKING WITH DATA
Query from the same connection
The same connection that manages an instance can also query it. Your assistant chooses the namespace and database, writes the SurrealQL, and shows you what came back. Instances must be running and on SurrealDB 3.1 or later.
SELF-HOSTED
Embedded MCP for databases you run yourself
The hosted server covers SurrealDB Cloud. To give an assistant tools against a database you run yourself, see Embedded MCP in the docs. The same tool surface - query, select, create, list, info, and more - is built into SurrealDB 3.1 and later.
FREQUENTLY ASKED QUESTIONS
SurrealDB MCP Server
GET STARTED
Connect your AI tools to SurrealDB Cloud
Add one URL to your MCP client, sign in with your Surreal ID, and start working with your databases alongside your assistant.
SOC 2 Type 2
GDPR
Cyber Essentials Plus
ISO 27001