
Connect SurrealDB to ChatGPT, Claude and Gemini
Set it up once and it works in ChatGPT, Claude, Cursor, and any other client you love. It all runs safely in the background, so you can relax and focus on what really matters. Manage your multi-model data layer through natural conversation.
Developed, maintained, and hosted by Vinkius.
MCP VERIFIED · PRODUCTION READY · VINKIUS GUARANTEED
Waiting for input…
Works with modern AI clients that support MCP, including ChatGPT, Claude, Cursor, and more.
Your AI does the work. We keep it safe and sound.
No other AI tool gives you this. Your workflow runs in the client you already love, your account stays protected, and you decide what the agent can and cannot do. It is the whole reason to make the switch.
Each Connector lives inside our infrastructure, the same place where your workflow runs. The three things below are already part of it, working quietly in the background so you never have to think about them. Nothing to add, nothing to set up, nothing to worry about.

Each Connector runs inside its own sealed environment.
Each Connector runs inside its own sealed V8 runtime — no access to your files, your system, or other servers. A Connector never sees past its own request.
One switch stops every agent. Instantly.
One action deactivates every Connector, revokes every token, and ends every session at once. AI Governance keeps the record.
Spending limits that pause instead of surprise.
Every user keeps their own connections and credentials, isolated from everyone else. Anything that would cross your spending limit is held for your approval, not billed.
Three controls, built into the layer your AI connects through.
Curated set · 16 capabilities
We ship only the actions that matter.
01-04
4 capabilities in this set.
Part of 16 available through SurrealDB.
- 01
Delete record
Removes a specific record from your database.
- 02
Export data
Extracts your database information for external use.
- 03
Select all
Retrieves every record within a specified table.
- 04
Execute SQL
Runs raw SurrealQL statements, including support for URL query parameters.
05-08
4 capabilities in this set.
Part of 16 available through SurrealDB.
- 05
Get status
Checks the current status of your SurrealDB web server.
- 06
Update record
Changes the data in a specific record.
- 07
Create record
Adds a new record to a table using a random ID.
- 08
Create specific record
Adds a new record to a table with a defined ID.
09-12
4 capabilities in this set.
Part of 16 available through SurrealDB.
- 09
Delete all
Wipes every record from a target table.
- 10
Get health
Checks the overall health of your SurrealDB instance.
- 11
Get version
Returns the current version of your SurrealDB installation.
- 12
Import SQL
Loads SurrealQL queries into your database.
13-16
4 capabilities in this set.
Part of 16 available through SurrealDB.
- 13
Modify all
Performs a merge operation on every record in a table.
- 14
Modify record
Performs a merge operation on a single specific record.
- 15
Select record
Fetches a single record from a table.
- 16
Update all
Updates every record within a specific table.
Real work
What teams actually run
Rapid Query Testing
A developer asks the agent to run a specific SurrealQL statement to verify a new schema change.
Data Cleanup
An engineer instructs the agent to delete all records in a staging table after a test run.
Health Audits
A DevOps user asks the agent to check the status and health of the database instance.
Metric Extraction
A product manager asks for a list of all users created in the last 24 hours.
Automate a task
Put SurrealDB to work on one thing.
Step-by-step automations your AI runs through this Connector: the workflow, the prompts to start with, and the exact capabilities behind each move.
One connector, every AI
SurrealDB works with the most popular AI clients.
These are the most popular clients, each with a step-by-step guide: one link, set up once, with governance and visibility built in. And because everything runs on the MCP standard, the same connection also works in any other compatible client — nothing to rebuild.
Claude
ChatGPT
Gemini
Perplexity
Grok
Microsoft Copilot
Cursor
VS Code
Windsurf
JetBrains
Cline
LangChain
Vercel AI SDK
Lovable
Z.ai
Raycast
Qwen Code
Kimi Code
Le ChatBuilding your own app? The connector is yours to use.
You don't need a client to put SurrealDB to work: the same hosted connection plugs into your own applications and agent code, with the same governance on every request. Build with it, chat with it — one connection for both.
Observed, not estimated
1027ms average. Fast in production.
SurrealDB is checked daily against the live service.
- Fastest day
- 886ms
- Slowest day
- 1513ms
- 14-day trend
- Improving-25%
Connect your client
One URL. Every client.
Activate the Connector, copy your link, and paste it into the client you already use. 16 capabilities arrive ready to run.
Preview access · not provider authentication
The vk_preview_* token belongs to Vinkius preview infrastructure. It lets Claude discover and display the capabilities of SurrealDB, so you can see the experience inside your AI.
It does not authenticate your account with SurrealDB. Actions requiring credentials or live account data may not run until you activate the Connector and authorize the service.
SurrealDB Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_z8y2X9S7Lg9neGU4YlezuYLhsuJbWmTxMe30Ga4Q/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat — SurrealDB capabilities are ready to use.
{
"mcpServers": {
"surrealdb-mcp": {
"url": "https://edge.vinkius.com/vk_preview_z8y2X9S7Lg9neGU4YlezuYLhsuJbWmTxMe30Ga4Q/mcp"
}
}
}
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Step-by-step instructions for each client are in the guide. How to connect
Guided setup for Claude? Set up SurrealDB in Claude and other AIs
Who it's for
Built for the work SurrealDB owners hand off.
This MCP is built for technical users who need to interact with SurrealDB without leaving their primary development environment.
- 01
Backend Developers
They use the AI to test queries and inspect database state without switching windows.
- 02
Data Engineers
They hand off data migration and schema inspection tasks to the agent.
- 03
Product Managers
They query business metrics directly from the database using natural language.
FAQ
Questions SurrealDB owners ask.
- 01
Which AI clients can use this SurrealDB MCP?
You can use this MCP with any compatible client, including Claude, Cursor, Windsurf, and VS Code.
- 02
Do I need to write SurrealQL manually?
No. While you can use the execute_sql capability for raw queries, you can also use natural language to tell your agent to create, update, or delete records.
- 03
How do I manage my database credentials?
Vinkius manages your credentials securely. You only need to enter your URL, Namespace, Database, and Auth details once during setup.
- 04
Can I perform bulk updates with the AI?
Yes. The MCP includes capabilities like update_all and modify_all to change every record in a target table.
- 05
Is it possible to export my data through the agent?
Yes, you can use the export_data capability to move information out of your SurrealDB instance.
- 06
Can I run custom SurrealQL queries with variables?
Yes! Use the execute_sql capability. You can provide the raw SQL string and an optional JSON object of variables to be used in the query.
- 07
How do I check if my SurrealDB instance is online and healthy?
You can use the get_status capability to check the web server status or get_health to verify that both the server and the storage engine are functioning correctly.
- 08
Is it possible to delete all records from a specific table at once?
Yes, the delete_all capability allows you to remove all records from a specified table in a single operation.
Explore
More in Databases
Nile (PostgreSQL for Multi-Tenant Apps) AI Connector
Manage tenant-aware databases via Nile — provision B2B tenants, monitor DB metrics, and audit user access.
ViewAI Multi-Tenant Isolation Cost Modeler AI Connector
Calculate infrastructure costs, isolation overhead, and scaling economics for multi-tenant AI workloads.
ViewModelbit (ML Model Deployments) AI Connector
Deploy and call machine learning models directly from your AI agent using Modelbit's inference endpoints.
ViewAI Multi-Model Orchestration Economics AI Connector
Calculate the economic and performance impact of complex AI model routing and fallback strategies.
View
Suggestions
Langflow (Visual Multi-agent Orchestrator) AI Connector
Orchestrate multi-agent AI workflows visually — execute flows, manage projects, and trigger webhooks directly
ViewDocument AI Economics Modeler AI Connector
Calculate unit economics and total cost of ownership for AI document processing workflows.
ViewOKLink (Multi-chain Web3 Blockchain Data API) AI Connector
Access real-time blockchain data across multiple chains—query addresses, tokens, transactions, and blocks dire
ViewMulti-Agent Orchestrator Prover AI Connector
An AI designed a multi-agent system where agents 'work together seamlessly,' data 'flows naturally between the
View
Connect SurrealDB to Claude, Cursor, ChatGPT & more
