Skip to content
Sign In

Agent setup

Agent setup

Connect your agents to SurrealDB with Agent Skills and MCP.

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.

Select an agent for its setup steps. Every agent listed supports both Skills and MCP.

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.

Setup connects two things: packaged knowledge of how SurrealDB behaves, and tools your agent can call against your databases.

  • 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

Was this page helpful?