MarkLogic MCP Server
Enables document querying using MarkLogic's CTS query capabilities with pagination support for filtering collections and content
Provides TypeScript interfaces and client libraries for interacting with MarkLogic document operations programmatically
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MarkLogic MCP Serversearch for documents containing 'customer feedback' in the 'reports' collection"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP MarkLogic Server
This is a Model Context Protocol (MCP) server implementation for MarkLogic, allowing you to interact with a MarkLogic database through MCP tools.
The server provides the following operations:
Create Document
Create documents in MarkLogic with optional collections
Read documents by URI
Delete documents by URI
Search documents with query strings and optional collection filters
Installation
pip install mcp-marklogicRelated MCP server: Salesforce MCP Integration
Configuration
The server requires the following environment variables:
MARKLOGIC_HOST=localhost
MARKLOGIC_PORT=8000
MARKLOGIC_USERNAME=admin
MARKLOGIC_PASSWORD=adminUsage
Once installed and configured, you can start the server:
mcp-marklogicAvailable Tools
create-documentCreate a new document in MarkLogic
Parameters:
uri: Document URI (required)content: Document content as JSON (required)collections: List of collections to add the document to (optional)
read-documentRead a document from MarkLogic
Parameters:
uri: Document URI (required)
delete-documentDelete a document from MarkLogic
Parameters:
uri: Document URI (required)
search-documentsSearch for documents in MarkLogic
Parameters:
query: Search query string (required)collections: List of collections to search in (optional)
Development
Setup
Clone the repository
Create a virtual environment and activate it
Install dependencies:
pip install -e .
Running Tests
pytest tests/MarkLogic Setup
Ensure you have MarkLogic Server installed and running
Create a REST API instance on port 8000 if not already present
Create a user with appropriate permissions:
Go to Admin Interface (usually http://localhost:8001)
Create role
python-docs-rolewith:Roles:
rest-extension-user,rest-reader,rest-writerPrivileges:
xdbc:eval,xdbc:invoke,xdmp:eval-in
Create user
python-userwith:Password:
pyth0nRole:
python-docs-role
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
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.Last updated927MIT
- Flicense-qualityDmaintenanceA Model Context Protocol server that allows execution of SOQL queries and interaction with Salesforce data through a standardized interface.Last updated
- Alicense-qualityDmaintenanceA Model Context Protocol server that provides intelligent file reading and semantic search capabilities across multiple document formats with security-first access controls.Last updated7MIT
- Alicense-qualityDmaintenanceA Model Context Protocol server that enables CRUD operations and querying on Microsoft Dataverse through natural language.Last updated28MIT
Related MCP Connectors
MCP (Model Context Protocol) server for Appwrite
A Model Context Protocol server for Wix AI tools
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/karthiknarayankotha/marklogic-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server