Connect AI assistants to Manticore Search databases
Manticore Search MCP Server
MCP server for Manticore Search — enables AI assistants to query and manage Manticore Search databases directly.
Quick Start
Installation
# Option 1: Install with uv (recommended, requires PyPI release)
uvx mcp-manticore
# Option 2: Install with pip
pip install mcp-manticore
# Option 3: Run from source (for local development)
uvx --from . mcp-manticore
# Or: uv run mcp-manticore
Note:
uvxruns the package directly without installation. First-time run may take a moment to download dependencies.- The package must be published to PyPI for
uvx mcp-manticoreto work.- For local development or testing unreleased versions, use
uvx --from . mcp-manticore
What It Does
Tools
| Tool | Description |
|---|---|
run_query |
Execute SQL queries (SELECT, SHOW, DESCRIBE, etc.) |
list_tables |
List all tables and indexes |
describe_table |
Get table schema |
list_documentation |
List available documentation files |
get_documentation |
Fetch specific documentation from Manticore manual |
Prompts
manticore_initial_prompt— Built-in prompt teaching LLMs about Manticore Search features (full-text operators, KNN vector search, fuzzy search, etc.)
Health Check
HTTP endpoint at /health for monitoring connectivity.
Configuration
Environment Variables
| Variable | Default | Description |
|---|---|---|
MANTICORE_HOST |
localhost |
Manticore server host |
MANTICORE_PORT |
9308 |
HTTP API port |
MANTICORE_USER |
— | Username (optional) |
MANTICORE_PASSWORD |
— | Password (optional) |
MANTICORE_CONNECT_TIMEOUT |
30 |
Connection timeout (seconds) |
MANTICORE_QUERY_TIMEOUT |
30 |
Query timeout (seconds) |
MANTICORE_ALLOW_WRITE_ACCESS |
false |
Enable write operations (INSERT, UPDATE, DELETE) |
MANTICORE_ALLOW_DROP |
false |
Enable destructive operations (DROP, TRUNCATE) |
GITHUB_TOKEN |
— | GitHub token for higher API rate limit |
Safety
By default, all write operations are blocked. To enable:
# Enable writes (INSERT, UPDATE, DELETE)
export MANTICORE_ALLOW_WRITE_ACCESS=true
# Enable destructive operations (DROP, TRUNCATE)
export MANTICORE_ALLOW_DROP=true
Connect to Your AI Assistant
Claude Code
Open terminal and run:
claude mcp add manticore -- uvx mcp-manticore
Or with environment variables:
claude mcp add manticore -- uvx mcp-manticore -- \
MANTICORE_HOST=localhost \
MANTICORE_PORT=9308
For full configuration, edit ~/.claude/mcp_settings.json:
{
"mcpServers": {
"manticore": {
"command": "uvx",
"args": ["mcp-manticore"],
"env": {
"MANTICORE_HOST": "localhost",
"MANTICORE_PORT": "9308"
}
}
}
}
Restart Claude Code or type /mcp restart to apply changes.
Cursor
Method 1: Via Settings UI
- Open Cursor → Settings → Tools & MCP
- Click "Add MCP Server"
- Enter name:
manticore - Command:
uvx mcp-manticore
Method 2: Via Config File
Global config (~/.cursor/mcp.json):
{
"mcpServers": {
"manticore": {
"command": "uvx",
"args": ["mcp-manticore"],
"env": {
"MANTICORE_HOST": "localhost",
"MANTICORE_PORT": "9308"
}
}
}
}
Project config (.cursor/mcp.json in your project):
{
"mcpServers": {
"manticore": {
"command": "uvx",
"args": ["mcp-manticore"]
}
}
}
Windsurf
Method 1: Via Cascade UI
- Open Windsurf → Cascade panel
- Click the MCPs icon (🔨) in the top-right
- Click "Add Server"
- Enter:
uvx mcp-manticore
Method 2: Via Config File
Edit ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"manticore": {
"command": "uvx",
"args": ["mcp-manticore"],
"env": {
"MANTICORE_HOST": "localhost",
"MANTICORE_PORT": "9308"
}
}
}
}
Or open directly in Windsurf: Cmd/Ctrl + Shift + P → "MCP Configuration Panel"
VS Code (with VSCode Copilot)
VS Code uses the same MCP configuration as Cursor. Edit ~/.cursor/mcp.json:
{
"mcpServers": {
"manticore": {
"command": "uvx",
"args": ["mcp-manticore"],
"env": {
"MANTICORE_HOST": "localhost",
"MANTICORE_PORT": "9308"
}
}
}
}
Claude Desktop (Legacy)
Edit `~/Library/
Tools (5)
run_queryExecute SQL queries (SELECT, SHOW, DESCRIBE, etc.)list_tablesList all tables and indexesdescribe_tableGet table schemalist_documentationList available documentation filesget_documentationFetch specific documentation from Manticore manualEnvironment Variables
MANTICORE_HOSTManticore server hostMANTICORE_PORTHTTP API portMANTICORE_USERUsernameMANTICORE_PASSWORDPasswordMANTICORE_ALLOW_WRITE_ACCESSEnable write operations (INSERT, UPDATE, DELETE)MANTICORE_ALLOW_DROPEnable destructive operations (DROP, TRUNCATE)Configuration
{"mcpServers": {"manticore": {"command": "uvx", "args": ["mcp-manticore"], "env": {"MANTICORE_HOST": "localhost", "MANTICORE_PORT": "9308"}}}}