ValJS
STDIOMarkLogic数据库MCP交互服务器
MarkLogic数据库MCP交互服务器
This is a Model Context Protocol (MCP) server implementation for MarkLogic, allowing you to interact with a MarkLogic database through MCP tools.
pip install mcp-marklogic
The server requires the following environment variables:
MARKLOGIC_HOST=localhost MARKLOGIC_PORT=8000 MARKLOGIC_USERNAME=admin MARKLOGIC_PASSWORD=admin
Once installed and configured, you can start the server:
mcp-marklogic
create-document
uri: Document URI (required)content: Document content as JSON (required)collections: List of collections to add the document to (optional)read-document
uri: Document URI (required)delete-document
uri: Document URI (required)search-documents
query: Search query string (required)collections: List of collections to search in (optional)pip install -e .
pytest tests/
python-docs-role with:
rest-extension-user, rest-reader, rest-writerxdbc:eval, xdbc:invoke, xdmp:eval-inpython-user with:
pyth0npython-docs-roleMIT