Skip to main content
Glama
lucas-deangelis

ArangoDB MCP Server

ArangoDB MCP 服务器

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

概述

待填充。

Related MCP server: MongoDB MCP Server

成分

资源

工具

查询工具

  • 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/subscribe 、 notifications/resources/list_changed和resources/unsubscribe

  • [x] 在自述文件中正确记录工具

  • [x] 类似于 SQLite MCP 客户端

    • [x] write_query工具与read_query分离 -> 实际上是readWriteQuery

    • [x] list_collections (参见list_tables )

  • [x] 客户端池,即每个数据库一个客户端

  • [x] 开发环境

  • [x] resources/read使用模板通过数据库名称、集合、id 读取任何文档。

  • [x] 添加用户名和密码作为命令的参数

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    B
    maintenance
    A TypeScript-based server to interact with ArangoDB using the Model Context Protocol, enabling database operations and integration with tools like Claude and VSCode extensions for streamlined data management.
    7
    123 npm
    47
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    Provides a standardized interface for AI assistants to interact with MongoDB databases, enabling CRUD operations, schema analysis, and database management through the Model Context Protocol.
    1
    -
  • A
    license
    Not graded
    quality
    D
    maintenance
    Translates natural language to SQL/GraphQL queries and executes them, enabling AI agents to interact with databases through the Model Context Protocol.
    1
    Apache 2.0