surrealdb-mcp-server
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
query
Execute original SurrealQL query
select
Select a record from the table
create
Create a new record in the table
update
Update specific records
delete
Delete a specific record by ID
merge
Merge data into specific records (partially updated)
patch
Apply JSON Patch Operations to Specific Records
upsert
Create if the record does not exist, update if it exists
insert
Insert multiple records into the table
insertRelation
Create graph relationships (edges) between two records