Manticore Search
MCP server for Manticore Search — query and manage search database
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"
OpenAI Codex
Run in terminal:
codex mcp add manticore -- uvx mcp-manticore
With environment variables:
codex mcp add manticore \
--env MANTICORE_HOST=localhost \
--env MANTICORE_PORT=9308 \
-- uvx mcp-manticore
Or edit ~/.codex/config.toml directly:
[mcp_servers.manticore]
command = "uvx"
args = ["mcp-manticore"]
env = { MANTICORE_HOST = "localhost", MANTICORE_PORT = "9308" }
Gemini CLI
Edit ~/.gemini/settings.json:
{
"mcpServers": {
"manticore": {
"command": "uvx",
"args": ["mcp-manticore"],
"env": {
"MANTICORE_HOST": "localhost",
"MANTICORE_PORT": "9308"
}
}
}
}
VS Code (GitHub Copilot)
Create .vscode/mcp.json in your workspace:
{
"servers": {
"manticore": {
"type": "stdio",
"command": "uvx",
"args": ["mcp-manticore"],
"env": {
"MANTICORE_HOST": "localhost",
"MANTICORE_PORT": "9308"
}
}
}
}
Cline
- Open Cline panel in VS Code
- Click the MCP Servers icon
- Click "Configure" → "Add Server"
- Select "Command (stdio)" and enter:
- Name:
manticore - Command:
uvx mcp-manticore
- Name:
Or edit the MCP settings file directly (accessible via the MCP Servers icon → "Edit Config"):
{
"mcpServers": {
"manticore": {
"command": "uvx",
"args": ["mcp-manticore"],
"env": {
"MANTICORE_HOST": "localhost",
"MANTICORE_PORT": "9308"
}
}
}
}
Roo Code
- Open Roo Code panel in VS Code
- Click the MCP Servers icon → "Edit MCP Settings"
- Add the server configuration
Or create .roo/mcp.json in your project root:
{
"mcpServers": {
"manticore": {
"command": "uvx",
"args": ["mcp-manticore"],
"env": {
"MANTICORE_HOST": "localhost",
"MANTICORE_PORT": "9308"
}
}
}
}
Claude Desktop (Legacy)
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%/Claude/claude_desktop_config.json (Windows):
{
"mcpServers": {
"manticore": {
"command": "uvx",
"args": ["mcp-manticore"],
"env": {
"MANTICORE_HOST": "localhost",
"MANTICORE_PORT": "9308"
}
}
}
}
HTTP Transport (Remote MCP)
By default, MCP uses stdio (local). For remote access:
export MANTICORE_MCP_SERVER_TRANSPORT=http
export MANTICORE_MCP_BIND_PORT=8000
export MANTICORE_MCP_AUTH_TOKEN="your-secure-token"
uvx mcp-manticore
Connect via URL:
{
"mcpServers": {
"manticore": {
"url": "http://localhost:8000/mcp",
"headers": {
"Authorization": "Bearer your-secure-token"
}
}
}
}
Troubleshooting
Install uv (required)
macOS / Linux:
# Via installer script (recommended)
curl -LsSf https://astral.sh/uv/install.sh | sh
# Or via Homebrew
brew install uv
Windows:
# Via PowerShell
irm https://astral.sh/uv/install.ps1 | iex
# Or via winget
winget install astral-sh.uv
Verify installation:
uv --version
MCP server not connecting
- Verify Manticore is running:
curl http://localhost:9308/health - Check environment variables are set correctly
- For Claude Code: restart with
/mcp restart
Too many tools loaded
Some agents limit active MCP tools. Remove unused servers or use project-scoped configs.
Development
# Clone and setup
git clone https://github.com/manticoresoftware/mcp-manticore.git
cd mcp-manticore
# Install dependencies
uv sync
# Run locally
uv run mcp-manticore
# Run with custom config
MANTICORE_HOST=remote-server MANTICORE_PORT=9308 uv run mcp-manticore
# Run tests
uv run pytest
# Build package
uv build
# Publish to PyPI
uv publish
Architecture
| File | Purpose |
|---|---|
mcp_manticore/mcp_env.py | Configuration management |
mcp_manticore/mcp_server.py | MCP server implementation |
mcp_manticore/manticore_prompt.py | LLM guidance/prompts |
mcp_manticore/docs_fetcher.py | GitHub docs fetcher |
mcp_manticore/main.py | CLI entry point |
License
Related Servers
PostgreSQL MCP Server
Provides read-only access to PostgreSQL databases using a connection string.
Stampchain MCP Server
Interact with Bitcoin Stamps data via the Stampchain API, allowing queries for stamps, collections, and blockchain information.
VikingDB
A server for storing and searching data in a VikingDB instance, configurable via command line or environment variables.
MCP Memory Server - Python Implementation
A Python implementation of the MCP memory server for knowledge graph storage and retrieval, using JSONL files for persistence.
MongoDB That Works
A MongoDB MCP server with schema discovery and field validation. Requires a MONGODB_URI environment variable.
Octagon
Deliver real-time investment research with extensive private and public market data.
Adobe Commerce MCP Server by CData
A read-only MCP server for Adobe Commerce, enabling LLMs to query live data using the CData JDBC driver.
MCP for Neo4j
Connects to Neo4j graph databases with ability to use GDS functions ( when available), a read only mode , and set the sample size for schema detection
microCMS MCP Server
Interact with the microCMS headless CMS API, enabling AI assistants to manage content.
Billy MCP Client
Access live U.S. congressional data from the Congress.gov API.