surrealdb-mcp-server

surrealdb-mcp-server

3.5

If you are the rightful owner of surrealdb-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A Model Context Protocol (MCP) server that provides a standardized interface for AI assistants to interact with a SurrealDB database.

The SurrealDB MCP Server is designed to facilitate seamless interaction between AI systems and SurrealDB, a scalable, distributed, document-graph database with real-time capabilities. This server allows AI assistants to perform various database operations such as querying, creating, updating, and deleting records within a SurrealDB instance. It supports multiple AI platforms, ensuring that users can integrate and utilize the server across different environments. The server is built to be robust and flexible, providing a range of tools to manage and manipulate data effectively. With its standardized protocol, it simplifies the process of connecting AI systems to external databases, enhancing the capabilities of AI applications.

Features

  • Standardized Interface: Provides a consistent protocol for AI assistants to interact with SurrealDB.
  • Multi-Platform Support: Compatible with various AI platforms like Cline, Claude, Copilot, Roo Code, Windsurf, and Cursor.
  • Comprehensive Toolset: Offers a wide range of database operations including query, select, create, update, delete, merge, patch, upsert, insert, and insertRelation.
  • Environment Variable Configuration: Utilizes environment variables for secure and flexible database connection settings.
  • Open Source: Licensed under MIT, encouraging community contributions and transparency.

Tools

  1. query

    Execute original SurrealQL query

  2. select

    Select a record from the table

  3. create

    Create a new record in the table

  4. update

    Update specific records

  5. delete

    Delete a specific record by ID

  6. merge

    Merge data into specific records (partially updated)

  7. patch

    Apply JSON Patch Operations to Specific Records

  8. upsert

    Create if the record does not exist, update if it exists

  9. insert

    Insert multiple records into the table

  10. insertRelation

    Create graph relationships (edges) between two records