SurrealDB MCP Server

Betadatabase
130 starsRustsurrealdb
GitHub
About

Overview

The SurrealDB MCP Server provides tools for working with SurrealDB, the multi-model database that supports documents, graphs, and time-series data in a single platform. AI agents can execute SurrealQL queries, manage namespaces and databases, and work with SurrealDB's unique features like record links and computed fields.
Capabilities

Tools & Capabilities

query

Execute a SurrealQL query

list_tables

List all tables in the database

describe_table

Get the schema of a table

info

Get database information and statistics

Setup

Installation

bash
Install
cargo install mcp-server-surrealdb
Examples

Example Usage

javascript
Usage
{
  "mcpServers": {
    "surrealdb": {
      "command": "mcp-server-surrealdb",
      "env": {
        "SURREAL_URL": "ws://localhost:8000",
        "SURREAL_NS": "myns",
        "SURREAL_DB": "mydb"
      }
    }
  }
}

Quick Info

Authorsurrealdb
LanguageRust
StatusBeta
Stars 130
Last UpdatedFeb 12, 2026

Need a Custom MCP Server?

Our team builds custom MCP servers tailored to your workflow.

Get in Touch

Need a Custom MCP Server?

Our team builds custom MCP servers tailored to your workflow. From proprietary data sources to internal tools, we have you covered.

Contact Us