这是为 ArangoDB 实现的模型上下文协议。
待补充。
readQuery
databaseName (字符串):要查询的数据库aql (字符串):要执行的只读 AQL 查询readWriteQuery
databaseName (字符串):要查询的数据库aql (字符串):要执行的 AQL 查询listDatabases
listCollections
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/ 查看检查器。
npx 一起使用resources/subscribe 和 notifications/resources/list_changed 和 resources/unsubscribewrite_query 工具从 read_query 分离出来 -> 实际上是 readWriteQuerylist_collections(参见 list_tables)resources/read 带有模板,通过数据库名称、集合和 ID 读取任何文档。