MarkLogic Document Manager
STDIOModel Context Protocol server implementation for MarkLogic database interaction.
Model Context Protocol server implementation for MarkLogic database interaction.
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-writer
xdbc:eval
, xdbc:invoke
, xdmp:eval-in
python-user
with:
pyth0n
python-docs-role
MIT