ravendb-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ravendb-mcp show available collections in the current database"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
RavenDB MCP Server
A Model Context Protocol (MCP) server that enables AI assistants to interact with RavenDB databases through a standardized interface.
Overview
This MCP server allows AI assistants to perform common RavenDB operations including:
Connection management
Database selection
Collection listing
Index management
Document operations (get, store, delete)
RQL queries
Related MCP server: MCP Toolkit
Requirements
Node.js 16+
RavenDB 7.x
Authentication using non-secured mode (no authentication)
Installation
# Install globally
npm install -g ravendb-mcp
# Or run directly with npx
npx ravendb-mcpConfiguration
Server Configuration
Configure the server using environment variables or a .env file:
# Authentication Method (Only non-secured mode is supported)
RAVENDB_AUTH_METHOD=none
# Connection
RAVENDB_URL=http://your-ravendb-server:port
# Optional settings
RAVENDB_QUERY_TIMEOUT=30000 # Query timeout in milliseconds (optional)Cline MCP Configuration
To configure this MCP server for use with Cline AI, add the following to your MCP configuration:
Non-secured Mode Configuration
{
"mcpServers": {
"github.com/johnib/ravendb-mcp": {
"disabled": false,
"timeout": 60,
"command": "npx",
"args": ["-y", "ravendb-mcp"],
"env": {
"RAVENDB_AUTH_METHOD": "none",
"RAVENDB_URL": "http://your-ravendb-server:port"
},
"transportType": "stdio"
}
}
}You can customize the environment variables based on your specific RavenDB setup.
Available Tools
Connection Tools
initialize-connection
Establishes a connection to a RavenDB server.
{
"server_url": "https://your-ravendb-server:port",
"database": "YourDatabase"
}select-database
Switches to a specific database context.
{
"database": "AnotherDatabase"
}Exploration Tools
show-collections
Lists all collections in the current database.
{}show-indexes
Lists all indexes in the current database.
{}Document Operations
get-document
Retrieves a document by ID.
{
"id": "employees/1"
}store-document
Creates or updates a document.
{
"document": {
"name": "John Doe",
"email": "john@example.com",
"department": "Engineering"
},
"id": "employees/1" // Optional, will be generated if not provided
}delete-document
Deletes a document by ID.
{
"id": "employees/1"
}Query Operations
query-documents
Executes RQL queries with results handling.
{
"query": "from Employees where department = 'Engineering'"
}Example Usage
Here's a typical workflow for interacting with the RavenDB MCP server through an AI assistant:
Connect to the database
Use the initialize-connection tool to connect to your RavenDB serverExplore the database structure
Use show-collections to see what collections are availableRetrieve documents
Use get-document to fetch specific documents by IDRun queries
Use query-documents to execute RQL queriesModify data
Use store-document to create or update documents Use delete-document to remove documents
Development
# Install dependencies
npm install
# Build the project
npm run build
# Run in development mode
npm run dev
# Test with the MCP inspector
npm run inspectorLicense
MIT
Available Tools
8 toolsdelete-documentB
Delete a document by ID
Inputs: id (required).
get-documentB
Retrieve a document by ID
Inputs: id (required).
initialize-connectionC
Connect to a RavenDB server
Inputs: server_url (required), database (required).
query-documentsC
Execute RQL queries with results handling
Inputs: query (required).
select-databaseB
Switch to a specific database context
Inputs: database (required).
show-collectionsA
List available collections in the current database
Inputs: no named parameters.
show-indexesA
List available indexes in the current database
Inputs: no named parameters.
store-documentB
Create or update a document
Inputs: document, id.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
Each tool targets a distinct operation: CRUD on documents, connection management, database selection, and metadata listing. No two tools have overlapping purposes.
All tools follow a consistent verb_noun pattern with lowercase and hyphens (e.g., delete-document, get-document, show-collections). No mixing of styles.
8 tools is well-scoped for a RavenDB server: core CRUD, query, connection setup, database selection, and metadata listing. Not excessive or insufficient.
Covers basic document operations (create/read/delete), query, connection, and metadata. Missing explicit index management and bulk operations, but core workflows are complete.
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A Model Context Protocol server for Wix AI tools
The Mercado Pago MCP Server implements the Model Context Protocol to provide AI agents and LLMs with access to Mercado Pago's APIs and tools within compatible development environments. It acts as an intermediary that translates Mercado Pago resources into executable functions (tools) that AI applications can invoke to perform actions and automate flows. The server simplifies integration, enables using documentation to implement or improve code, and optimizes operations through natural language interactions without manual implementations.
Model Context Protocol server for the Apideck Unified API. Connect any MCP-compatible agent framework to 100+ accounting systems, HRIS platforms, file storage providers, and more through one integration. More information https://www.apideck.com/mcp-server
Related MCP Servers
- AlicenseDqualityDmaintenanceA Model Context Protocol server that enables LLMs to interact with databases (currently MongoDB) through natural language, supporting operations like querying, inserting, deleting documents, and running aggregation pipelines.56 npmMIT
- AlicenseNot gradedqualityDmaintenanceA comprehensive Model Context Protocol server implementation that enables AI assistants to interact with file systems, databases, GitHub repositories, web resources, and system tools while maintaining security and control.146 npm2MIT

MongoDB MCP Serverofficial
AlicenseBqualityAmaintenanceA Model Context Protocol server that enables AI assistants to interact with MongoDB Atlas resources through natural language, supporting database operations and Atlas management functions.28153,673 npm1,159Apache 2.0- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that provides AI models with structured access to external data and services, acting as a bridge between AI assistants and applications, databases, and APIs in a standardized, secure way.2-