ArangoDB MCP Server

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Integrations

  • Provides tools for querying ArangoDB databases, including read-only and read-write operations, listing databases and collections, and reading documents by database name, collection, and ID.

ArangoDB MCP 服务器

这是 ArangoDB 模型上下文协议的实现。

概述

待填充。

成分

资源

工具

查询工具

  • readQuery
    • 对数据库执行只读查询
    • 输入:
      • databaseName (字符串):要查询的数据库
      • aql (字符串):要执行的只读 AQL 查询
    • 返回:查询结果作为对象数组
  • readWriteQuery
    • 对数据库执行查询
    • 输入:
      • databaseName (字符串):要查询的数据库
      • aql (字符串):要执行的 AQL 查询
    • 返回:查询结果作为对象数组
  • listDatabases
    • 列出 ArangoDB 服务器上的所有数据库
    • 返回:数据库名称数组
  • listCollections
    • 列出 ArangoDB 数据库中的所有集合
    • 输入:
      • databaseName (字符串):数据库的名称
    • 返回:对象数组{ "name": "<collectionName>" }

用法

要连接到在 localhost:2434 上运行的 arangodb 实例,连接到数据库“account”,请将以下内容添加到您的claude_desktop_config.json中,假设该项目的路径为/home/yourcoolname/arango-mcp-server

{ "mcpServers": { "arangodb-account": { "command": "npx", "args": [ "-y", "arango-mcp-server", "http://localhost:8529", "root", "root" ] } } }

发展

克隆代码库。安装所有内容。设置开发环境。运行观察器。编辑 index.ts。

$ npm install $ npm run dev:setup $ npm run dev

转到http://localhost:5173/查看检查器。

待办事项

  • [ ] 正确研究规范,看看当前资源的实现是否真的有意义(我认为没有意义)
    • [x] 资源模板有意义
  • [ ] 将所有“arango”更改为“arangodb”(包括 repo 名称...)
  • [ ] 重新添加 arangodb 密码
  • [ ] 正确的自述文件
    • [ ] 工具/资源/等遵循官方人类学资料的格式
  • [ ] 弄清楚通知
  • [ ] 健康检查
  • [ ] 更多工具?
  • [ ] 访问 arangodb 实例上运行的所有数据库
  • [ ] 以某种方式在 npm 上发布,以便可以与npx一起使用
  • [ ] resources/subscribenotifications/resources/list_changedresources/unsubscribe
  • [x] 在自述文件中正确记录工具
  • [x] 类似于 SQLite MCP 客户端
    • [x] write_query工具与read_query分离 -> 实际上是readWriteQuery
    • [x] list_collections (参见list_tables
  • [x] 客户端池,即每个数据库一个客户端
  • [x] 开发环境
  • [x] resources/read使用模板通过数据库名称、集合、id 读取任何文档。
  • [x] 添加用户名和密码作为命令的参数
-
security - not tested
A
license - permissive license
-
quality - not tested

模型上下文协议的实现,可以与 ArangoDB 数据库进行交互,允许用户通过自然语言执行查询、列出数据库和集合。

  1. Overview
    1. Components
      1. Resources
      2. Tools
    2. Usage
      1. Development
        1. Todo
          ID: axv5xdihh9