Skip to content
Sign In

Agent setup

Zed

Set up the Zed editor for SurrealDB with the hosted MCP server and the official Agent Skills.

Zed calls MCP servers context servers. Adding SurrealDB gives Zed's assistant your Cloud instances and the data inside them.

Open settings with cmd/ctrl ,, which edits ~/.config/zed/settings.json, and add SurrealDB under context_servers:

{
  "context_servers": {
    "surrealdb": {
      "url": "https://mcp.surrealdb.com"
    }
  }
}
Note

Zed runs stdio context servers as child processes. If your version does not yet accept a remote url, bridge the endpoint through mcp-remote instead, using a command with "path": "npx" and the arguments ["-y", "mcp-remote", "https://mcp.surrealdb.com"].

Restart Zed and approve the connection in the browser window it opens.

npx skills add surrealdb/agent-skills

Ask the assistant panel which SurrealDB tools it can call.

Was this page helpful?