odgs-mcp-server

v0.3.3
com.metricprovenance/odgs-mcp-server Checked 1 day ago Published 4 months ago

ODGS governance enforcement — validation, regulation compilation, drift detection, signed S-Certs.

B 84/100 Discovery passed License not confirmed CryptoDevOps

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

validate_payload

Validate a data payload against ODGS governance rules. Runs the payload through the Sovereign Validation Engine and returns a pass/fail verdict with violations, warnings, and S-Cert audit data. Args: process_urn: Governance context URN (e.g., "urn:odgs:process:aml_check"). data_context: The data payload to validate (key-value pairs). project_root: Path to ODGS project root. Defaults to $ODGS_PROJECT_ROOT or cwd. required_integrity_hash: Optional sovereign handshake hash for tamper detection. override_token: Optional token to override SOFT_S…

ParameterTypeDescription
data_context *object
process_urn *string
override_token
project_root
required_integrity_hash

validate_batch

Validate multiple data payloads in a single call. Each item should have: process_urn (str), data_context (dict), and optionally required_integrity_hash and override_token. Args: items: List of payloads to validate. project_root: Path to ODGS project root. Defaults to $ODGS_PROJECT_ROOT or cwd. fail_fast: Stop on first failure if True.

ParameterTypeDescription
items *array
fail_fastboolean
project_root

list_packs

List all available ODGS Certified Packs. Shows which regulation-specific rule bundles are available and which are installed locally. Certified Packs include EU AI Act, DORA, CSRD, GDPR, NIS2, Basel III, and more. Args: project_root: Path to ODGS project root. Defaults to $ODGS_PROJECT_ROOT or cwd.

ParameterTypeDescription
project_root

download_pack

Download a Certified Regulation Pack to the local cache. Requires Pro tier or higher. Fetches the pack JSON from the registry and stores it in the local cache directory for fast local validations. Args: pack_id: The ID of the pack to download (e.g., "eu-ai-act", "sample-pack").

ParameterTypeDescription
pack_id *string

governance_score

Score a project's governance maturity (0-100). Analyzes the ODGS project configuration across four categories: Legislative (ontology, metrics), Judiciary (rules, signing), Executive (bindings, physical maps), and Infrastructure (crypto, schemas). Returns a letter grade (A-F) with specific findings and recommendations. Args: project_root: Path to ODGS project root. Defaults to $ODGS_PROJECT_ROOT or cwd.

ParameterTypeDescription
project_root

conformance_check

Run an ODGS conformance self-check. Verifies that the governance project meets ODGS conformance requirements. L1 checks file existence; L2 adds cross-referencing and sovereign hash validation. Args: level: Conformance level — "L1" (basic) or "L2" (full). project_root: Path to ODGS project root. Defaults to $ODGS_PROJECT_ROOT or cwd.

ParameterTypeDescription
levelstring
project_root

compile_regulation

Convert regulation text into ODGS rule JSON. Paste any statute, regulatory article, or SLA clause and get back validated ODGS rule objects ready for enforcement. Supports: EU AI Act, DORA, GDPR, CSRD, NIS2, Basel III, and any free-text regulation. Args: regulation_text: Raw regulation text to compile. regulation_name: Optional regulation identifier. provider: LLM provider — "ollama" (local), "google-genai", or "openai-compat".

ParameterTypeDescription
regulation_text *string
provider
regulation_name

check_drift

Detect semantic drift in governance definitions. Scans legislative definitions for staleness, expired hashes, outdated regulatory references, and semantic inconsistencies. Args: definitions_dir: Path to the directory containing governance definitions. threshold_days: Days after which a definition is considered stale (default: 90). provider: LLM provider override.

ParameterTypeDescription
definitions_dir *string
provider
threshold_daysinteger

detect_conflicts

Find contradictions between governance rules. Cross-references rules from multiple regulatory sources to surface semantic conflicts, overlapping jurisdictions, and contradictions. Args: rules: List of ODGS rule objects to analyze for conflicts. provider: LLM provider override.

ParameterTypeDescription
rules *array
provider

narrate_audit

Convert an S-Cert into a human-readable narrative. Transforms cryptographic audit certificates into plain-language narratives tailored for the target audience. Args: scert: S-Cert JSON object from a validation run. audience: Target audience — "executive", "legal", "technical", or "auditor". provider: LLM provider override.

ParameterTypeDescription
scert *object
audiencestring
provider

discover_bindings

Generate physical data mappings from catalog metadata. Given data catalog metadata (tables, columns, descriptions), auto-generates physical_data_map.json bindings to ODGS metrics. Args: catalog_metadata: Data catalog metadata with table/column info. metrics: Optional ODGS metric definitions to bind against. provider: LLM provider override.

ParameterTypeDescription
catalog_metadata *object
metrics
provider

harvest_sovereign_rules

Extract sovereign rules from regulation using the Flint Bridge. Requires Enterprise tier and the `odgs-commercial` package. Automates the extraction of sovereign data rules from raw legal text or URLs and mints a Certified Regulation Pack. Args: source_text: Raw regulation text to harvest. source_url: URL to regulation source (alternative to text). harvester_type: Blueprint/harvester type (e.g., 'eu_ai_act', 'generic').

ParameterTypeDescription
harvester_typestring
source_text
source_url