J

arango-mcp-server

...
Created 11/27/2024bylucas-deangelis

Language:

JavaScript

Stars:

3

Forks:

0

ArangoDB MCP Server

This is an implementation of the Model Context Protocol for ArangoDB.

Overview

To be filled.

Components

Resources

Tools

Query Tools

  • 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": "" }

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

  • Properly study the spec to see if the current implementation of resources actually make sense (I don't think it does)
    • The resource templates make sense
  • Change all the "arango" to "arangodb" (repo name included...)
  • Add back the arangodb password
  • Proper README
    • Tools/resource/etc following the format of the official anthropic stuff

              - [ ] Figure out notifications
      
  • Health checks
  • More tools?
  • Access all the databases running on an arangodb instance
  • Release on npm somehow so it can be used with npx
  • resources/subscribe and notifications/resources/list_changed and resources/unsubscribe
  • Properly document tools in the readme
  • Like on the SQLite MCP client
    • write_query tool separated from read_query -> actually is readWriteQuery
    • list_collections (see list_tables)
  • Client pool ie one client per database
  • Dev environment
  • resources/read with a template to read any document by database name, collection, id.
  • Add username and passwords as parameters of the command
Last updated: 2/21/2025

Publisher info

lucas-deangelis's avatar

Lucas De Angelis

Lyon, France
10
followers
9
following
46
repos

More MCP servers built with JavaScript

mcp-server-semgrep

MCP Server Semgrep is a [Model Context Protocol](https://modelcontextprotocol.io) compliant server that integrates the powerful Semgrep static analysis tool with AI assistants like Anthropic Claude. It enables advanced code analysis, security vulnerability detection, and code quality improvements directly through a conversational interface.

By Szowesgad9
protonmail-mcp

This MCP server provides email sending functionality using Protonmail's SMTP service. It allows both Claude Desktop and Cline VSCode extension to send emails on your behalf using your Protonmail credentials.

By amotivv6
agentql-mcp

Model Context Protocol server that integrates AgentQL's data extraction capabilities.

By tinyfish-io45