RM 

ravenwits/mcp-server-arangodb 是从 https://github.com/ravenwits/mcp-server-arangodb. 导入的 MCP 服务器候选
概览
ravenwits/mcp-server-arangodb 是从 https://github.com/ravenwits/mcp-server-arangodb. 导入的 MCP 服务器候选
概述(AI 翻译)
ArangoDB 的模型上下文协议服务器
这是一个基于TypeScript的MCP服务器,通过ArangoDB提供数据库交互功能。它实现了核心数据库操作,并通过MCP工具实现与ArangoDB的无缝集成。你可以用Claude应用和VSCode扩展使用,这些扩展支持MCP,比如Cline!
特色
工具
| 工具 | 类别 | 只读 | 变异数据/模式 | 目的 |
|---|---|---|---|---|
arango_query |
查询 | 不 | 也许 | 执行带有绑定变量、有界结果和查询护栏的通用 AQL。 |
arango_read_query |
查询 | 是的 | 否 | 执行只读AQL并拒绝写入/DDL关键字。 |
arango_validate_query |
查询 | 是 | 否 | 解析并验证AQL而不执行它。 |
arango_explain_query |
查询 | 是 | 否 | 检查AQL执行计划、索引使用情况和优化器输出。 |
arango_describe_database |
发现 | 是 | 否 | 总结集合、计数、索引和样本字段。 |
arango_list_collections |
发现 | 是 | 否 | 在配置的数据库中列出集合。 |
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
MCP Server for ArangoDB
A Model Context Protocol server for ArangoDB
This is a TypeScript-based MCP server that provides database interaction capabilities through ArangoDB. It implements core database operations and allows seamless integration with ArangoDB through MCP tools. You can use it wih Claude app and also extension for VSCode that works with mcp like Cline!
Features
Tools
| Tool | Category | Read-only | Mutates data/schema | Purpose |
|---|---|---|---|---|
arango_query |
Query | No | Maybe | Execute general AQL with bind variables, bounded results, and query guardrails. |
arango_read_query |
Query | Yes | No | Execute read-only AQL and reject write/DDL keywords. |
arango_validate_query |
Query | Yes | No | Parse and validate AQL without executing it. |
arango_explain_query |
Query | Yes | No | Inspect AQL execution plans, index usage, and optimizer output. |
arango_describe_database |
Discovery | Yes | No | Summarize collections, counts, indexes, and sample fields. |
arango_list_collections |
Discovery | Yes | No | List collections in the configured database. |
arango_get_collection |
Discovery | Yes | No | Return collection properties, count, and indexes. |
arango_create_collection |
Collection | No | Yes | Create document or edge collections. |
arango_drop_collection |
Collection | No | Yes | Drop a collection, requiring confirm: true. |
arango_get_document |
Document | Yes | No | Fetch one document by collection and _key. |
arango_list_documents |
Document | Yes | No | List documents with limit and offset pagination. |
arango_count_documents |
Document | Yes | No | Count documents in a collection. |
arango_sample_documents |
Document | Yes | No | Return a small random sample for schema discovery. |
arango_insert |
Document | No | Yes | Insert one document into a collection. |
arango_bulk_insert |
Document | No | Yes | Insert up to 1000 documents in one request. |
arango_update |
Document | No | Yes | Partially update one document by _key. |
arango_bulk_update |
Document | No | Yes | Patch up to 1000 documents by _key or _id. |
arango_remove |
Document | No | Yes | Remove one document by _key. |
arango_list_indexes |
Index | Yes | No | List indexes for a collection. |
arango_create_index |
Index | No | Yes | Create persistent, geo, TTL, or inverted indexes. |
arango_list_views |
ArangoSearch | Yes | No | List ArangoSearch and search-alias Views. |
arango_create_search_view |
ArangoSearch | No | Yes | Create an ArangoSearch View linked to a collection. |
arango_search |
ArangoSearch | Yes | No | Search an ArangoSearch View with analyzer-aware BM25 ranking. |
arango_list_analyzers |
Analyzer | Yes | No | List ArangoSearch Analyzers. |
安装
npx -y arango-server配置
{
"mcpServers": {
"arango": {
"command": "npx",
"args": ["-y", "arango-server"],
"env": {
"ARANGO_URL": "your_database_url",
"ARANGO_DB": "your_database_name",
"ARANGO_USERNAME": "your_username",
"ARANGO_PASSWORD": "your_password"
}
}
}
}