SurrealDB publishes Agent Skills and MCP servers, so the agent you already code with can write correct SurrealQL, run it against your databases, and manage the instances they live on.
Copy the setup prompt and paste it into your agent, or pick your agent below and follow the steps by hand. For a deeper reference on every way SurrealDB fits into AI tooling, see AI agents.
Pick your agent
Select an agent for its setup steps. Every agent listed supports both Skills and MCP.
Anthropic
Claude Code
Terminal coding agent that reads your codebase, runs commands, edits files, and manages git.
OpenAI
Codex
OpenAI's coding agent, available as a terminal CLI and a desktop app, running commands in a sandbox.
Cursor
Cursor
AI-first editor built on VS Code, with multi-file edits and agents that run in the background.
GitHub
GitHub Copilot
Editor extension and CLI with agent mode, workspace context, and pull request integration.
Microsoft
Visual Studio Code
Free, open-source editor with a native MCP client and support for third-party AI extensions.

Cognition
Windsurf
Agentic IDE whose Cascade agent keeps context across multi-step tasks and long edits.
Zed Industries
Zed
Fast, open-source editor whose assistant reaches MCP servers as what it calls context servers.
Using something else? Any MCP client can reach the hosted server. Add https://mcp.surrealdb.com as a remote server in whatever form the client accepts, then install the skills with npx skills add surrealdb/agent-skills.
What your agent gets
Setup connects two things: packaged knowledge of how SurrealDB behaves, and tools your agent can call against your databases.
Agent Skills
Three official skills covering SurrealQL, vector search, and the Python SDK, so generated queries match how SurrealDB actually behaves.
SurrealDB MCP Server
One hosted URL connects your agent to SurrealDB Cloud: deploy and resize instances, query them, read metrics and logs, and check what it all costs.
Next steps
SurrealDB MCP Server — the hosted server in full, including every tool it publishes
Embedded MCP — the MCP server inside SurrealDB, for databases you run yourself
Agent Skills — what each skill covers, and how to find community skills
Example usages — prompts that show what an assistant can do once it is set up