This is an implementation of the Model Context Protocol for ArangoDB.
Overview
To be filled.
Components
Resources
readQuery
- Execute read-only query on the database
- Input:
databaseName
(string): The database to query
aql
(string): The read-only AQL query to execute
- Returns: Query results as array of objects
readWriteQuery
- Execute query on the database
- Input:
databaseName
(string): The database to query
aql
(string): The AQL query to execute
- Returns: Query results as array of objects
listDatabases
- List all the databases on the ArangoDB server
- Returns: Array of the databases names
listCollections
- List all the collections in an ArangoDB database
- Input:
databaseName
(string): The name of the database
- Returns: Array of objects
{ "name": "<collectionName>" }
Usage
To connect to an arangodb instance running on localhost:2434, to the database "account", add the following to your claude_desktop_config.json
, assuming the path to this project is /home/yourcoolname/arango-mcp-server
:
{
"mcpServers": {
"arangodb-account": {
"command": "npx",
"args": [
"-y",
"arango-mcp-server",
"http://localhost:8529",
"root",
"root"
]
}
}
}
Development
Clone the repository.
Install everything.
Setup the dev environment.
Run the watcher.
Edit index.ts.
$ npm install
$ npm run dev:setup
$ npm run dev
Go to http://localhost:5173/ to see the inspector.
Todo