MarkLogic MCP Server
MCP MarkLogic 服务器
这是 MarkLogic 的模型上下文协议 (MCP) 服务器实现,允许您通过 MCP 工具与 MarkLogic 数据库进行交互。
服务器提供以下操作:
创建文档
使用可选集合在 MarkLogic 中创建文档
通过 URI 读取文档
根据 URI 删除文档
使用查询字符串和可选的集合过滤器搜索文档
安装
pip install mcp-marklogicRelated MCP server: Salesforce MCP Integration
配置
服务器需要以下环境变量:
MARKLOGIC_HOST=localhost
MARKLOGIC_PORT=8000
MARKLOGIC_USERNAME=admin
MARKLOGIC_PASSWORD=admin用法
安装并配置完成后,您可以启动服务器:
mcp-marklogic可用工具
create-document在 MarkLogic 中创建新文档
参数:
uri:文档 URI(必需)content:JSON 格式的文档内容(必需)collections:要添加文档的集合列表(可选)
read-document从 MarkLogic 阅读文档
参数:
uri:文档 URI(必需)
delete-document从 MarkLogic 中删除文档
参数:
uri:文档 URI(必需)
search-documents在 MarkLogic 中搜索文档
参数:
query:搜索查询字符串(必需)collections:要搜索的集合列表(可选)
发展
设置
克隆存储库
创建虚拟环境并激活它
安装依赖项:
pip install -e .
运行测试
pytest tests/MarkLogic 设置
确保已安装并运行 MarkLogic Server
如果尚未存在,请在端口 8000 上创建 REST API 实例
创建具有适当权限的用户:
进入管理界面(通常是http://localhost:8001 )
使用以下命令创建角色
python-docs-role:角色:
rest-extension-user、rest-reader、rest-writer权限:
xdbc:eval、xdbc:invoke、xdmp:eval-in
使用以下命令创建用户
python-user:密码:
pyth0n角色:
python-docs-role
执照
麻省理工学院
This server cannot be deployed
Maintenance
Related MCP Connectors
A Model Context Protocol (MCP) server for Selise Blocks Cloud integration
Model Context Protocol server for todo.vu task management and time tracking.
A Model Context Protocol server for Wix AI tools
Hosted MCP server for AI-driven data ops. Create apps, manage schemas, and CRUD structured data.
Related MCP Servers
- AlicenseBqualityDmaintenanceA Model Context Protocol server that allows creation and management of multiple Fireproof JSON databases with CRUD operations, querying capabilities, and cloud synchronization for sharing databases with others.98 npmMIT
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that allows execution of SOQL queries and interaction with Salesforce data through a standardized interface.-
- AlicenseNot gradedqualityFmaintenanceA Model Context Protocol server that provides intelligent file reading and semantic search capabilities across multiple document formats with security-first access controls.7MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables CRUD operations and querying on Microsoft Dataverse through natural language.6 npmMIT