S

SurrealDB

Connects to SurrealDB's multi-model database enabling graph, document, and relational operations thr...

620 views
1 installs
Updated Nov 22, 2025
Not audited
Connects to SurrealDB's multi-model database enabling graph, document, and relational operations through ten core tools including query execution, CRUD operations, graph traversal, and bulk data management.
  1. Obtain SurrealDB Connection Information
    You will need the following details from your SurrealDB instance. If you set up SurrealDB yourself, use the credentials you configured. If someone else administers your SurrealDB, ask them for these values:

    • SurrealDB connection URL (e.g., ws://localhost:8000/rpc)
    • SurrealDB username (e.g., root)
    • SurrealDB password (e.g., root)
    • Namespace (e.g., test)
    • Database (e.g., test)
  2. Log in to Your SurrealDB Instance (if self-hosted)

    • Make sure your SurrealDB server is running. The default command to start SurrealDB is:
      surreal start --user root --pass root
      
    • The default URL is usually ws://localhost:8000/rpc.
  3. Fill Out the FastMCP Connection Interface

    • Click the "Install Now" button to add the SurrealDB MCP Server.
    • In the FastMCP connection interface, fill in the following environment variables:
      • SURREAL_URL – Your SurrealDB connection URL (e.g., ws://localhost:8000/rpc)
      • SURREAL_USER – Your username (default: root)
      • SURREAL_PASSWORD – Your password (default: root)
      • SURREAL_NAMESPACE – Your namespace (default: test)
      • SURREAL_DATABASE – Your database name (default: test)
  4. Save and Test the Connection

    • Save your changes in the FastMCP interface.
    • Test the connection to ensure your credentials are correct. If there is an error, double-check the values or consult your database administrator.

Summary Table:

Variable Where to Find / Set
SURREAL_URL SurrealDB server instance address
SURREAL_USER SurrealDB admin/created user (default: root)
SURREAL_PASSWORD SurrealDB password (default: root)
SURREAL_NAMESPACE SurrealDB namespace (default: test)
SURREAL_DATABASE SurrealDB database name (default: test)

You are now ready to use SurrealDB through FastMCP!

How to Install SurrealDB

Install SurrealDB MCP server with one click through FastMCP. Choose your preferred AI development tool below:

Claude Desktop

Click "Claude Desktop" in Quick Start

Cursor IDE

Click "Cursor IDE" in Quick Start

VS Code

Click "VS Code" in Quick Start

Alternatives to SurrealDB

Looking for similar MCP servers? Browse other servers in the same categories on FastMCP, or check out the similar servers listed above.

Compare side by side

Quick Start

View on GitHub

More for Database

View All →

Similar MCP Servers

T

Turso

Connects to Turso-hosted LibSQL databases, enabling direct SQL query execution against cloud-based SQLite databases for data analysis, content management, and application development workflows.

Database
465
0

Report Issue

Thank you! Your issue report has been submitted successfully.

Stay ahead of the MCP ecosystem

Get the top new MCP servers, trending tools, and dev tips delivered weekly. Free, no spam, unsubscribe anytime.

Join 2,847 developers. We send one email per week.