by ravenwits
Provides a TypeScript‑based MCP server that enables seamless interaction with ArangoDB through a set of tools for querying, inserting, updating, removing, backing up data, and managing collections.
Mcp Server Arangodb exposes ArangoDB operations as MCP tools, allowing AI agents such as Claude or the Cline VSCode extension to execute database actions directly from prompts.
npm install -g arango-server
) or run it on‑demand with npx arango-server
.ARANGO_URL
, ARANGO_DB
, ARANGO_USERNAME
, ARANGO_PASSWORD
).MCP: Start Server
in VSCode) and invoke tools like arango_query
, arango_insert
, etc., via natural‑language prompts.waitForSync
.Q: Which environment variables are required?
A: ARANGO_URL
, ARANGO_DB
, ARANGO_USERNAME
, and ARANGO_PASSWORD
must be set for the server to connect to ArangoDB.
Q: Can I run the server without installing it globally?
A: Yes, use npx arango-server
to execute it on demand.
Q: Is the server safe for production use? A: It is intended for local development only. Connecting to production databases is discouraged due to security risks.
Q: How do I debug the MCP server?
A: Run npm run inspector
to launch the MCP Inspector, which provides a web UI for debugging.
Q: What Node.js version is required? A: The server works with any recent Node.js version that supports ES modules; ensure you have Node.js installed.
A Model Context Protocol server for ArangoDB
This is a TypeScript-based MCP server that provides database interaction capabilities through ArangoDB. It implements core database operations and allows seamless integration with ArangoDB through MCP tools. You can use it wih Claude app and also extension for VSCode that works with mcp like Cline!
arango_query
- Execute AQL queries
arango_insert
- Insert documents into collections
arango_update
- Update existing documents
arango_remove
- Remove documents from collections
arango_backup
- Backup all collections to JSON files
arango_list_collections
- List all collections in the database
arango_create_collection
- Create a new collection in the database
To install arango-server
globally via NPM, run the following command:
npm install -g arango-server
To run arango-server
directly without installation, use the following command:
npx arango-server
To use arango-server
with the VSCode Copilot agent, you must have at least VSCode 1.99.0 installed and follow these steps:
Create or edit the MCP configuration file:
Workspace-specific configuration: Create or edit the .vscode/mcp.json
file in your workspace.
User-specific configuration: Optionally, specify the server in the setting(mcp) VS Code user settings to enable the MCP server across all workspaces.
Tip: You can refer here to the MCP configuration documentation of VSCode for more details on how to set up the configuration file.
Add the following configuration:
{
"servers": {
"arango-mcp": {
"type": "stdio",
"command": "npx",
"args": ["arango-server"],
"env": {
"ARANGO_URL": "http://localhost:8529",
"ARANGO_DB": "v20",
"ARANGO_USERNAME": "app",
"ARANGO_PASSWORD": "75Sab@MYa3Dj8Fc"
}
}
}
}
Start the MCP server:
Ctrl+Shift+P
or Cmd+Shift+P
on Mac).MCP: Start Server
and select arango-mcp
from the list.Verify the server:
Tools
button to verify that the arango-server
tools are available.To install ArangoDB for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @ravenwits/mcp-server-arangodb --client claude
Go to: Settings > Developer > Edit Config
or
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%/Claude/claude_desktop_config.json
Go to: Cline Extension > MCP Servers > Edit Configuration
or
~/Library/Application Support/Code/User/globalStorage/cline.cline/config.json
%APPDATA%/Code/User/globalStorage/cline.cline/config.json
Add the following configuration to the mcpServers
section:
{
"mcpServers": {
"arango": {
"command": "node",
"args": ["/path/to/arango-server/build/index.js"],
"env": {
"ARANGO_URL": "your_database_url",
"ARANGO_DB": "your_database_name",
"ARANGO_USERNAME": "your_username",
"ARANGO_PASSWORD": "your_password"
}
}
}
}
The server requires the following environment variables:
ARANGO_URL
- ArangoDB server URL (note: 8529 is the default port for ArangoDB for local development)ARANGO_DB
- Database nameARANGO_USERNAME
- Database userARANGO_PASSWORD
- Database passwordYou can pretty much provide any meaningful prompt and Claude will try to execute the appropriate function.
Some example propmts:
Query all users:
{
"query": "FOR user IN users RETURN user"
}
Insert a new document:
{
"collection": "users",
"document": {
"name": "John Doe",
"email": "john@example.com"
}
}
Update a document:
{
"collection": "users",
"key": "123456",
"update": {
"name": "Jane Doe"
}
}
Remove a document:
{
"collection": "users",
"key": "123456"
}
List all collections:
{
} // No parameters required
Backup database collections:
{
"outputDir": "./backup" // Specify an absolute output directory path for the backup files (optional)
"collection": "users" // Specify a collection name to backup (optional) If no collection name is provided, all collections will be backed up
"docLimit": 1000 // Specify the maximum number of documents to backup per collection (optional), if not provided, all documents will be backed up (not having a limit might cause timeout for large collections)
}
Create a new collection:
{
"name": "products",
"type": "document", // "document" or "edge" (optional, defaults to "document")
"waitForSync": false // Optional, defaults to false
}
Note: The server is database-structure agnostic and can work with any collection names or structures as long as they follow ArangoDB's document and edge collection models.
This tool is designed for local development environments only. While technically it could connect to a production database, this would create significant security risks and is explicitly discouraged. We use it exclusively with our development databases to maintain separation of concerns and protect production data.
Clone the repository
Install dependencies:
npm run build
For development with auto-rebuild:
npm run watch
Since MCP servers communicate over stdio, debugging can be challenging. recommended debugging can be done by using MCP Inspector for development:
npm run inspector
The Inspector will provide a URL to access debugging tools in your browser.
This project is licensed under the MIT License - see the LICENSE file for details.
Please log in to share your review and rating for this MCP.
{ "mcpServers": { "arango-mcp": { "command": "npx", "args": [ "-y", "arango-server" ], "env": { "ARANGO_URL": "<ARANGO_URL>", "ARANGO_DB": "<ARANGO_DB>", "ARANGO_USERNAME": "<ARANGO_USERNAME>", "ARANGO_PASSWORD": "<ARANGO_PASSWORD>" } } } }
Explore related MCPs that share similar capabilities and solve comparable challenges
by googleapis
An MCP server that streamlines database tool development by handling connection pooling, authentication, observability, and secure access, allowing agents to interact with databases via natural language.
by bytebase
Provides a universal gateway that lets MCP‑compatible clients explore and query MySQL, PostgreSQL, SQL Server, MariaDB, and SQLite databases through a single standardized interface.
by designcomputer
Enables secure interaction with MySQL databases via the Model Context Protocol, allowing AI applications to list tables, read contents, and execute queries safely.
by benborla
Provides read‑only access to MySQL databases for large language models, allowing schema inspection and safe execution of SQL queries.
by ClickHouse
Enables AI assistants to run read‑only ClickHouse queries, list databases and tables, and execute embedded chDB queries through an MCP interface.
by chroma-core
Offers an MCP server exposing Chroma's vector database capabilities for LLM applications, supporting collection and document management, multiple embedding functions, and flexible client types such as in‑memory, persistent, HTTP, and cloud.
by kiliczsh
Enables LLMs to interact with MongoDB databases via a standardized interface, offering schema inspection, query execution, aggregation, and write capabilities, with optional read‑only mode and smart ObjectId handling.
by domdomegg
Provides read and write access to Airtable bases for AI systems, enabling inspection of schemas and manipulation of records.
by XGenerationLab
A Model Context Protocol (MCP) server that enables natural language queries to databases