OpenCDR MCP
OfficialServer Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OPENCDR_API_KEY | No | A scoped API key for the OpenCDR API. The key scopes enforce authorization and should match the selected profile. | |
| OPENCDR_API_URL | No | The endpoint of the already deployed OpenCDR Core API, e.g. https://example.execute-api.us-east-2.amazonaws.com/dev | |
| OPENCDR_CONFIG_FILE | No | Path to an optional JSON configuration file (default ~/.config/opencdr/mcp.json) containing the API url and key. Environment variables take precedence over this file. | |
| OPENCDR_MCP_PROFILE | No | Capability profile: observer, operator, or responder. Defaults to observer. | observer |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| opencdr_statusA | Check OpenCDR API health. Read-only. In fleet mode, supply agent_id explicitly. Core mode leaves agent_id unset. |
| opencdr_rules_listA | List detection/correlation rules. Read-only. kind: "signal" or "correlation" (omit for both; detection lists use opencdr_lists_list). Paginated: pass the returned next_token to continue. In fleet mode, supply agent_id explicitly. Core mode leaves agent_id unset. |
| opencdr_rules_getA | Get a rule by id. Read-only. kind must be "signal" or "correlation". In fleet mode, supply agent_id explicitly. Core mode leaves agent_id unset. |
| opencdr_rules_schemaA | Read this agent's rule contract, operators, bounds and response target keys. In fleet mode, supply agent_id explicitly. Core mode leaves agent_id unset. |
| opencdr_rules_runtime_statusA | Read stored and evaluator-observed generations. Only verified means active. An accepted write can still be propagating; do not infer activation from a successful upsert or release application. In fleet mode, supply agent_id explicitly. Core mode leaves agent_id unset. |
| opencdr_rules_metricsB | Read Core's rule/release aggregates. Preserve and inspect partial results. In fleet mode, supply agent_id explicitly. Core mode leaves agent_id unset. |
| opencdr_lists_listA | Read one page of list metadata. Pass next_token to continue. In fleet mode, supply agent_id explicitly. Core mode leaves agent_id unset. |
| opencdr_lists_showA | Show a list's values. Read-only. In fleet mode, supply agent_id explicitly. Core mode leaves agent_id unset. |
| opencdr_detections_feedA | Read a bounded page of signals and correlated alerts in durable commit order. Requires an IAM Core connection advertising detection_feed 1.x. In Fleet mode select one agent_id; this forwards a read, not a fleet-wide central search. Reading does not acknowledge delivery. Retention gaps are returned as errors; never silently reset a cursor. start=latest deliberately skips retained records and cannot be combined with a cursor. In fleet mode, supply agent_id explicitly. Core mode leaves agent_id unset. |
| opencdr_detection_consumer_statusA | Read this IAM principal's consumer receipt and lag without acknowledging. Requires direct Core IAM delivery access. Fleet mode owns its worker receipts; inspect Fleet agent detection status instead. Names never select another owner. In fleet mode, supply agent_id explicitly. Core mode leaves agent_id unset. |
| opencdr_detection_recovery_statusB | Inspect physical feed identity/digest, or a saved rotation plan/receipt. In fleet mode, supply agent_id explicitly. Core mode leaves agent_id unset. |
| opencdr_detection_handoff_statusB | Read a reviewed consumer handoff plan or permanent acceptance receipt. In fleet mode, supply agent_id explicitly. Core mode leaves agent_id unset. |
| opencdr_detection_backfill_statusC | Inspect a backfill plan/progress or bounded outcomes and skipped-source findings. A completed retained-source scan does not prove complete history. Use results and next_after to review invalid, expired or conflicting source records. In fleet mode, supply agent_id explicitly. Core mode leaves agent_id unset. |
| opencdr_library_readA | Read owner-wide drafts, immutable versions/history, or frozen release snapshots. Views: items, item, versions, version, artifact, history, releases, release, manifest. Saved/frozen content is not validated, approved or active runtime content. Pagination uses next_after; versions/history are in ascending numeric order. In fleet mode this tool uses the Fleet authority directly; Core mode uses standalone Core. |
| opencdr_library_evidenceA | Read retained tests, compilations or legacy mappings and their freshness. Use views tests (content_id), compilations or mappings (release_id). Omit record_id for a bounded page; select a record to read its exact artifact. Historical passes never imply the latest content, current evaluator or runtime acceptance. In fleet mode this tool uses the Fleet authority directly; Core mode uses standalone Core. |
| opencdr_library_runtime_sourceB | Preview a verified Core-local or fresh scoped Fleet snapshot for runtime import. Returns the exact source document, canonical hash and observation time. This is read-only; pass the returned hash/revision in a separate runtime_import command. In fleet mode this tool uses the Fleet authority directly; Core mode uses standalone Core. |
| opencdr_reviews_readB | Read the owner-scoped approval inbox or one exact review and its binding. Current owner grants filter results. Follow next_after even for an empty page. A registry decision does not execute a mutation or authorize a queued job. In fleet mode this tool uses the Fleet authority directly; Core mode uses standalone Core. |
| opencdr_review_executionC | Read the durable Core receipt or freshly compare stored/effective state. Standalone Core only; Fleet uses reviewed distribution jobs. |
| opencdr_routing_activationB | Read retained owner routing activation, expiry and feed connection status. In fleet mode this tool uses the Fleet authority directly; Core mode uses standalone Core. |
| opencdr_cases_listB | List operational cases from the configured authority. Scope must include every case account. Counts apply to this page. Continue even an empty page when next_cursor is set. Fleet requires explicit server-side principal grants; a filter never grants access. In fleet mode this tool uses the Fleet authority directly; Core mode uses standalone Core. |
| opencdr_case_readA | Read a case, immutable history, retained evidence, or the signer's account access. view is case, history, evidence, or access. Status labels track work in a SIEM; they do not execute an investigation or change detection handling. In fleet mode this tool uses the Fleet authority directly; Core mode uses standalone Core. |
| opencdr_case_activeB | Find the accessible active case for one detection in a complete account scope. Fleet reads its own index without contacting a member Core. A 404 does not prove global absence: the case can include accounts outside your grants/scope. In fleet mode this tool uses the Fleet authority directly; Core mode uses standalone Core. |
| opencdr_response_outcomesA | Read retained response/rollback observations or one attempt's immutable history. Fleet forwards only this selected Core read. No historical backfill. Failed can include partial effects; unknown requires reconciliation before replay. after is the previous next_after; limit is 1..50. No mutation or replay occurs. In fleet mode, supply agent_id explicitly. Core mode leaves agent_id unset. |
| opencdr_detection_handlingB | Read Core-owned handling or immutable audit history via the configured owner. Unlike indexed browsing, Fleet forwards this selected-record request to its Core. SIEM references are manual and unverified; investigation remains in the SIEM. In fleet mode, supply agent_id explicitly. Core mode leaves agent_id unset. |
| opencdr_detections_queryA | Query indexed signals/correlations, or bounded counts, in the configured owner. Fleet mode reads Fleet's central index without live member fanout. Core mode reads the selected Core. Inclusive dates filter Core commit time, max 90 days. Cursors bind the filters and expire after one hour. Empty pages may have more results; inspect next_token, coverage and (for summaries) complete. A summary with complete=false is a lower bound, never a proven fleet total. No ACK/write. In fleet mode, supply agent_id explicitly. Core mode leaves agent_id unset. |
| opencdr_detection_detailA | Fetch exact retained detection evidence. Fleet requires an explicit agent ID. No live member request is used in Fleet mode. Missing/expired evidence and integrity failures remain errors; they are never treated as an empty finding. In fleet mode, supply agent_id explicitly. Core mode leaves agent_id unset. |
| opencdr_signals_searchA | Search detection signals. Read-only. Provide exactly ONE selector: severity, event_id, category, or integration_id (the backend serves each from a dedicated index and cannot AND-combine them). date_from/date_to (YYYY-MM-DD, UTC, inclusive, max 31-day range) apply ONLY to the severity selector and default to the last 7 days; they are ignored for event_id/category. Paginated via next_token. Correlating by source_ip / principal / resource / account / region is not yet supported by the backend -- use event_id to pivot on a specific event. In fleet mode, supply agent_id explicitly. Core mode leaves agent_id unset. |
| opencdr_signals_statsA | Signal counts by severity for a date range. Read-only. A dashboard/summary view, not a substitute for opencdr_signals_search's paginated item listing. Defaults to the last 7 days if neither date is given (YYYY-MM-DD, UTC, inclusive; max range 31 days -- the same date-range bound the severity selector of opencdr_signals_search uses). Returns {date_from, date_to, counts: {: , ...}, total}. In fleet mode, supply agent_id explicitly. Core mode leaves agent_id unset. |
| opencdr_logs_searchA | Search audit/CloudTrail logs. Read-only. Provide exactly ONE selector: service, event_id, or event_name (the backend serves each from a dedicated index and cannot AND-combine them). date_from/date_to (YYYY-MM-DD, UTC, inclusive, max 31-day range) apply ONLY to the service selector and default to the last 7 days; they are ignored for event_id/event_name. Paginated via next_token. Correlating by source_ip / principal / access_key_id / user_agent / resource / account is not yet supported by the backend -- use event_id to pivot on a specific event. In fleet mode, supply agent_id explicitly. Core mode leaves agent_id unset. |
| opencdr_integrations_getA | Read a parser catalog, binding or ingestion jobs, with job-list pagination. The catalog does not enumerate saved bindings. Pass an integration_id to read a known binding, jobs=True for its job list, and job_id for diagnostics. In fleet mode, supply agent_id explicitly. Core mode leaves agent_id unset. |
| opencdr_settings_getA | Get an OpenCDR settings document by id (default: global). Read-only. In fleet mode, supply agent_id explicitly. Core mode leaves agent_id unset. |
| opencdr_ir_roles_listA | List IR role mappings (which IAM role responder assumes per AWS account). Read-only. In fleet mode, supply agent_id explicitly. Core mode leaves agent_id unset. |
| opencdr_ir_roles_getA | Get the IR role mapping for a 12-digit AWS account id. Read-only. In fleet mode, supply agent_id explicitly. Core mode leaves agent_id unset. |
| opencdr_ir_actions_listB | List executed, rollback-eligible IR actions. Read-only. In fleet mode, supply agent_id explicitly. Core mode leaves agent_id unset. |
| opencdr_ir_actions_getA | Get a specific executed IR action. Read-only. Includes rollback_supported and, once a rollback has been attempted, rollback_status ("pending"/"succeeded"/"failed"), rollback_error (set only on failure), and rollback_updated_at. rolled_back mirrors rollback_status == "succeeded" for back-compat; absent rollback_status means no rollback has been attempted yet. In fleet mode, supply agent_id explicitly. Core mode leaves agent_id unset. |
| opencdr_configuration_flagsB | Read owner runtime flag types/permissions and the separate Deploy application mechanism. In fleet mode this tool uses the Fleet authority directly; Core mode uses standalone Core. |
| opencdr_configuration_ownershipB | Read Core local/central bindings; reviewed owner-admin changes transfer control. In fleet mode, supply agent_id explicitly. Core mode leaves agent_id unset. |
| opencdr_case_extensionsC | Read 20 case-owned indicators or historical provider-results. Uses Fleet authority directly in fleet mode; never executes a lookup. In fleet mode this tool uses the Fleet authority directly; Core mode uses standalone Core. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 38 tools
The detection/signal family is heavily overlapping: detections_feed, detections_query, detection_detail, signals_search, and signals_stats all read variations of signal/correlation data, and the descriptions spend most of their text trying to carve out subtle distinctions (indexed vs feed vs exact evidence). Similarly review_execution vs reviews_read, and the five status tools (consumer/recovery/handoff/backfill/feed) are hard to tell apart without deep domain knowledge. An agent would frequently misselect within these clusters.
Everything shares the opencdr_ prefix, but the remainder mixes domain_action patterns (rules_list, signals_search, lists_show) with domain_property/domain_noun patterns (detection_handling, configuration_flags, review_execution, response_outcomes, routing_activation). Singular/plural is also inconsistent (cases_list vs case_read, detections_query vs detection_detail), which prevents a fully predictable scheme.
38 tools is well above the 15-tool comfort zone and the scope is sprawling, spanning rules, lists, detections, signals, logs, cases, library, reviews, routing, integrations, settings and IR. Many of the 38 are narrow status/read variants that could be consolidated into parameterized tools.
Read coverage across the domain is broad (rules, cases, signals, logs, cases, IR roles/actions), but essentially every tool is read-only and many descriptions reference mutations handled elsewhere (runtime_import, review queue, upserts, rollback, ACK), leaving dead ends for any write workflow. The surface is a wide inspection layer rather than a complete lifecycle.