Skip to content
NEW BENCHMARKS

SurrealDB 3.x by the numbers

View

1/3

Model Context Protocol

Connect AI tools to the full SurrealDB platform - database, agent memory, and cloud - through standard MCP tool calls.

CAPABILITIES

Connect AI models to your data

Connect AI models and tools to SurrealDB through the Model Context Protocol. Query documents, graphs, vectors, and relational data through a unified interface - no wrapper APIs or custom integration code.

Direct AI tool connections

Connect AI models to SurrealDB through standard MCP tool calls. No wrapper APIs, no custom integration code.

Unified data access

Query documents, graphs, vectors, and relational data through a single query language and protocol.

Secure by default

Built-in authentication and row-level permissions ensure AI tools only access authorised data.

Real-time interactions

AI models query live data, traverse graphs, and access vector embeddings through a single MCP connection.

THE PLATFORM

MCP across the platform

Every product in the SurrealDB platform exposes MCP tool calls. Connect your AI tools to the database, agent memory, or cloud - through a single protocol.

SEE IT IN ACTION

Context engineering with MCP

SurrealQL lets you combine graph traversal, vector similarity, structured filters, and temporal queries in a single statement. One MCP tool call gives the agent everything it needs.

1-- Context engineering: combine graph, vector, and temporal data
2LET $user = user:jaime;
3LET $query_vec = fn::embed("What products does this user like?");
4
5SELECT
6 ->purchased->product AS purchase_history,
7 ->reviewed->product[WHERE vector::similarity::cosine(embedding, $query_vec) > 0.8] AS relevant_products,
8 ->preferences[WHERE valid_at <= time::now()] AS current_preferences
9FROM ONLY $user;

DEPLOYMENT

Deploy in any environment

Run the MCP server locally via stdio, as an HTTP server, or over Unix sockets. Choose the right transport for your deployment.

Run locally from your IDE

Default stdio transport for local development and IDE integration. Start an in-memory or local database directly from your AI tool.

Run as an HTTP server

HTTP with SSE transport for remote agents and environments where stdio is not available.

1{
2 "mcpServers": {
3 "SurrealDB": {
4 "command": "docker",
5 "args": [
6 "run",
7 "--rm",
8 "-i",
9 "--pull",
10 "always",
11 "surrealdb/surrealmcp:latest",
12 "start"
13 ]
14 }
15 }
16}
1{
2 "mcpServers": {
3 "SurrealDB": {
4 "command": "docker",
5 "args": [
6 "run",
7 "--rm",
8 "-p",
9 "8080:8080",
10 "--pull",
11 "always",
12 "surrealdb/surrealmcp:latest",
13 "start",
14 "--auth-disabled",
15 "--bind-address",
16 "127.0.0.1:8080",
17 "--server-url",
18 "http://localhost:8080"
19 ]
20 }
21 }
22}

FREQUENTLY ASKED QUESTIONS

Model Context Protocol

GET STARTED

Start building with MCP

Connect your AI tools to the full SurrealDB platform with the Model Context Protocol.

SamsungNVIDIAAppleVerizonTencent

SOC 2 Type 2

GDPR

Cyber Essentials Plus

ISO 27001

SurrealDB

The context layer for AI agents.

Documents, graphs, vectors, time-series, and memory - in one transaction, one query, one deployment.

Explore with AI

Independently verified

SOC 2 Type 2

GDPR

Cyber Essentials Plus

ISO 27001

Trust Centre

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