home / mcp / manticore mcp server
Provides MCP access to Manticore Search for queries, table management, documents, and cluster status.
Configuration
View docs{
"mcpServers": {
"krajcik-manticore-mcp-server": {
"url": "http://localhost:9308",
"headers": {
"DEBUG": "false",
"MANTICORE_URL": "http://localhost:9308",
"REQUEST_TIMEOUT": "30s",
"MAX_RESULTS_PER_QUERY": "100"
}
}
}
}You can access Manticore Search functionality from MCP-compatible clients through a dedicated MCP server. This server bridges MCP requests to Manticore, enabling you to perform full-text searches, manage tables and documents, monitor cluster health, and run complex queries with pagination and highlighting.
You interact with the MCP server using an MCP client. Start by configuring a local or remote MCP server endpoint that the client can reach, then use the provided tools to search, show tables, insert or update documents, and manage clusters.
Common usage patterns include performing a full-text search against a specific table, listing available tables, and inserting new documents into an index. You can also describe a table to learn its schema, and update or delete documents by id or with a conditional query. When working with clusters, you can monitor health and perform cluster-related operations as needed.
Prerequisites you need before building and running the MCP server:
Build and run the MCP server locally by following these steps:
# Clone the project
git clone https://github.com/krajcik/manticore-mcp-server.git
# Change into the project directory
cd manticore-mcp-server
# Build the MCP server binary
go build -o manticore-mcp-server
# Start the MCP server with your Manticore URL and a max results limit
./manticore-mcp-server --manticore-url="http://localhost:9308" --max-results=100Configure connection details and query limits via environment variables or command-line flags. Examples shown here reflect the available configuration options you can use to tailor behavior to your environment.
# Environment variables (example)
export MANTICORE_URL="http://localhost:9308"
export MAX_RESULTS_PER_QUERY="100"
export REQUEST_TIMEOUT="30s"
export DEBUG="false"
# Or start the server with CLI flags
./manticore-mcp-server --manticore-url="http://localhost:9308" --max-results=100Perform a full-text search on a specified table with optional limit, highlighting, and boolean query options.
List all available tables or indexes.
Retrieve the schema for a specific table.
Insert a new document into a specific table.
Update fields of an existing document by id with an optional condition.
Delete documents by id or by a conditional expression.
Display the current health and status of the cluster.
Create a new cluster configuration.
Join the MCP server to an existing cluster.
Modify an existing cluster configuration.
Remove a cluster configuration.
Apply or change the active cluster context.