S

surrealdb.com

SurrealDB is a multi-model database platform that combines document, graph, vector, time-series, and relational data in one engine with the SurrealQL query language. It is available self-hosted or as a managed cloud service, and also provides MCP support for AI-agent tooling.

4 integrations · MCP · REST · GraphQL · CLI

SurrealDB exposes a documented HTTP API (including REST-style endpoints plus `/sql`, `/gql`, `/graphql`, and custom `/api/...` routes), a GraphQL endpoint, built-in MCP over HTTP and stdio, and the `surreal` CLI.

discovered 2mo ago
MCP servers1
REST · OpenAPI1
GraphQL1
CLI1
Credentials
SurrealDB root / namespace / database username and passwordbasic

Create credentials when you start or configure a SurrealDB instance. For self-hosted instances, start the server with surreal start --user <username> --pass <password> as shown in the HTTP protocol setup and CLI overview. For SurrealDB Cloud, create an instance in Create an instance, then connect to that instance as described in Connecting to Cloud. Namespace- and database-scoped users can also be used where supported via the --auth-level flow documented on `surreal sql`.

SurrealDB JWT authentication tokenbearer

Mint a token by signing in to a SurrealDB instance through the documented auth flow. The REST API exposes `POST /signin`, and the CLI can also connect with an existing token via `surreal sql --token`. For Cloud, first create an account and instance via Cloud management and Create an instance, then sign in to that instance and reuse the returned JWT as a Bearer token.

conventions · 1/8 published

Publish these signals → /publishing