opentide

MCP server

OpenTide MCP server — search, validate, deploy, and query detection content from AI agents and editors.

The OpenTide MCP server exposes catalogue search, validation, deployment, and read-only resources to AI agents and editor integrations.

Quick start

pip install 'opentide==0.1.0'
export OPENTIDE_REPO_ROOT=/path/to/detection-repo
opentide setup mcp --cursor --yes

Start manually:

opentide-mcp

Transport: stdio (standard MCP over stdin/stdout).

What agents can do

CapabilityTool / resource
Search cataloguesearch
Threat → objective → rule graphget_chaining
ATT&CK coverage gapscoverage
Validate a rulevalidate_rule, validation_report
Validate query syntaxvalidate_query
Run read-only queryrun_query (capped at 100 rows)
Deploy (dry-run default)deploy_rule
Deployment statedeployment_status
Read schemas, templates, vocabopentide://* resources

Stub tools: validate_query and run_query are placeholders — they do not parse queries or execute live platform queries yet. Use CLI opentide validate query for real syntax validation.

Server instructions

The server advertises this purpose to MCP hosts:

Detection engineering assistant. Search and analyse detection content, validate rules and queries, test queries against live platforms, and deploy detection rules.

Documentation map

PageContent
InstallationPyPI extra and host requirements
ConfigurationEditor config files and environment
ToolsTool parameters and response shapes
ResourcesURI catalogue and JSON payloads

Usage guide

Human-oriented agent setup: Agentic setup

Source

src/opentide/mcp_server/server.py, src/opentide/mcp_server/tools.py, src/opentide/mcp_server/resources.py

On this page