Skip to main content
Glama
mimaworks/governance-mcp

mimaworks/governance-mcp

Official
by mimaworks

@mima-ai/governance-mcp

governance-mcp MCP server MCP Badge

MCP server for AI governance — push compliance evidence to Mima from any agent, any stack, 4 lines of config.

One tool call maps to EU AI Act, ISO 42001, SOC 2, and NIST AI RMF simultaneously. Your readiness score updates automatically.

Install

npx @mima-ai/governance-mcp@0.1.13

Or add to your MCP config (always pin the version):

{
  "mcpServers": {
    "mima-governance": {
      "command": "npx",
      "args": ["-y", "@mima-ai/governance-mcp@0.1.13"],
      "env": {
        "MIMA_API_KEY": "mima_ext_...",
        "MIMA_WORKSPACE_ID": "ws-..."
      }
    }
  }
}

Related MCP server: attestix

10 tools

Tool

What it does

get_posture

Overall readiness score + per-framework breakdown

list_systems

All AI systems — registered vs unregistered

list_evidence

Evidence records filtered by system and time

dry_run_attest

Preview which controls an attestation would earn

attest

Write a GRC evidence record

register_system

Register an AI system under EU AI Act Art. 9

acknowledge_policy

Record a policy acknowledgment

derive_controls

Recommended evidence types for a system description

check_gates

Gate pass/fail status with exit codes

suggest_gates

Prioritised gate recommendations

Usage — Claude Code

Add to ~/.claude/settings.json:

{
  "mcpServers": {
    "mima-governance": {
      "command": "npx",
      "args": ["-y", "@mima-ai/governance-mcp"],
      "env": {
        "MIMA_API_KEY": "mima_ext_...",
        "MIMA_WORKSPACE_ID": "ws-..."
      }
    }
  }
}

Then ask Claude: "Check our compliance posture" or "Register this AI system and suggest which controls we need."

Usage — Cursor / Windsurf

Add to .cursor/mcp.json or .windsurf/mcp.json in your project root:

{
  "mcpServers": {
    "mima-governance": {
      "command": "npx",
      "args": ["-y", "@mima-ai/governance-mcp"],
      "env": {
        "MIMA_API_KEY": "mima_ext_...",
        "MIMA_WORKSPACE_ID": "ws-..."
      }
    }
  }
}

Dry-run support

All write tools support dry-run — preview what controls you'd earn before committing:

dry_run_attest({ record_type: "ai_risk_assessment", system_name: "loan-scorer" })
// → { mapped_controls: ["EUAIA_ART9", "ISO42001_6_1", "NIST_AIRF_MAP_1"] }

Four frameworks, one call

Framework

What it covers

EU AI Act

Art. 9–15 risk management, oversight, accuracy obligations

ISO 42001

AI management system controls — A.6.x risk, A.9.x performance

SOC 2

CC3.x–CC8.x risk, change, and incident management

NIST AI RMF

GOVERN, MAP, MEASURE, MANAGE functions

Get an API key

mima.works → sign up → copy your key from the dashboard.

Python SDK

For app-code attestation (decorators, batch pushes, pre-approval gates):

pip install mima-governance

Docs

docs.mima.works

Available Tools

10 tools
acknowledge_policyA

Record that a team member has read and understood an AI governance policy. Generates an immutable policy_acknowledged evidence record — required for EU AI Act Art. 9, SOC 2 CC1.4, and ISO 42001 A.5.1.

Use this when:

  • A new employee joins and needs to acknowledge the AI use policy

  • An AI policy has been updated and the team needs to re-acknowledge

  • A periodic renewal acknowledgment is due (annual policy reviews)

The record is timestamped to now and cannot be modified after creation. Auditors verify the person's email, policy version, and exact timestamp.

Pass dry_run=true to preview which controls this acknowledgment would earn without writing anything to the ledger. Use this before the real call to confirm the payload is correct.

Inputs: policy_name (required), system_name (required), person_email (required), policy_version (required), +3 more.

attestA

Record a compliance evidence event in the Mima governance ledger, mapped to EU AI Act, SOC 2 Type II, ISO 42001, and NIST AI RMF controls.

Call this when the AI system performs a governance-relevant action that requires an audit trail: a human reviewing or overriding an AI decision, a risk assessment being completed, a model being evaluated for accuracy or bias, an access review, a policy being acknowledged, or an incident being reported.

Do NOT call this for routine AI inference calls — only for actions where a regulator or auditor would expect documented evidence.

Returns the record_id and the list of compliance controls earned (e.g. EUAIA_ART14, SOC2_CC6.1). The GRC manager sees these in the Mima governance dashboard and they count toward the readiness score.

Inputs: payload (required), record_type (required), system_name (required), identity, +4 more.

check_gatesA

Check the status of all configured governance gates for this workspace. Gates are threshold-based controls that block deployments when compliance scores drop below a required level.

Returns each gate's current score vs threshold, and whether it passes.

Use this to answer questions like:

  • "Can we deploy right now?"

  • "Which gates are blocking us?"

  • "What do we need to fix before merging?"

Inputs: no named parameters.

derive_controlsA

Returns your current governance coverage gaps relative to the described action.

Provides: the action description as context, uncovered required controls (with which record types evidence them), the system's registered risk tier and Art. 14 status where deterministic from the ledger.

Use this data to reason about which record types the described action requires and why — then propose them via dry_run_attest before writing.

When art14_applicable is null, the system is not yet registered. Offer to run /mima:register-systems to resolve it.

Inputs: description (required), system_name, ai_risk_tier.

dry_run_attestA

Preview which compliance controls a proposed evidence record would earn — without writing anything to the ledger. Use this before calling attest to confirm the record is correct.

This is the verification step in the compliance copilot loop:

  1. get_posture() → identify gap

  2. dry_run_attest() → confirm this record closes it

  3. [present to human for approval]

  4. attest() → write the real record

Returns the same mapped_controls list that attest would return, but record_id is the nil UUID (all zeros) — a clear signal no DB row was written.

Do NOT skip this step when proposing records on behalf of a human — always show them what controls would be earned before writing.

Inputs: payload (required), record_type (required), system_name (required), identity.

get_postureA

Get the current AI governance posture for this workspace. Returns per-framework compliance scores (EU AI Act, SOC 2, ISO 42001, NIST AI RMF), failing gates, and the count of unattested AI calls in the last 24 hours.

Use this to answer questions like:

  • "How compliant are we with the EU AI Act?"

  • "What is our current governance score?"

  • "Are we ready for the August deadline?"

  • "Which frameworks have gaps?"

Inputs: no named parameters.

list_evidenceA

List evidence records from the governance ledger, optionally filtered by system and time.

Use this to understand what evidence already exists before proposing new records — prevents duplicate attestations and helps the agent reason about gaps:

  • 'Has loan-scoring-v2 had a human_oversight record in the last 30 days?'

  • 'What evidence does the chatbot system have for EU AI Act controls?'

  • 'Show me the last 10 records across all systems'

Returns records ordered newest-first. Default limit 20, max 100. The source field is 'sdk' (attested) or 'inferred' (estate scan — lower audit weight).

Inputs: limit, since, system_name.

list_systemsA

List all AI systems in this workspace with their registration status and evidence coverage.

The key field is is_registered: false means the system has emitted evidence (the guard or AST scanner detected it) but no ai_risk_assessment record exists — the Art. 9 intake gap.

Use this to:

  • Identify unregistered AI systems before the EU AI Act deadline

  • See which systems have evidence gaps (record_types shows what categories exist)

  • Answer: "what AI systems do we have?" and "which ones are formally registered?"

Returns system_name, record_count, last_seen, is_registered, record_types[], controls[].

Inputs: system_name.

register_systemA

Register an AI system in the Mima governance ledger. Creates an Art. 9 risk assessment record — required once per AI system before it processes EU persons under the EU AI Act.

Use this during design reviews or architecture discussions when a new AI system is being planned or has just been deployed:

  • "We're adding a loan scoring model to production"

  • "This new hiring algorithm needs to be registered"

  • "Register the content moderation system we just deployed"

Pass dry_run=true to preview which controls this registration would earn without writing anything to the ledger. Use this before the real call to confirm the payload is correct.

Returns the record_id and mapped controls (e.g. EUAIA_ART9, ISO42001_6.1). In dry-run mode, record_id is the nil UUID — a clear signal nothing was written.

Inputs: risk_level (required), system_name (required), risk_summary (required), intended_purpose (required), +8 more.

suggest_gatesA

Analyse the current governance posture and gate configuration, then return a prioritised list of gate recommendations.

Suggestions are one of four actions: • increase_coverage — a required gate is failing; push more evidence • add_required_gate — a framework scores well enough to gate CI on it • add_advisory_gate — an unconfigured framework has real coverage; worth tracking • promote_to_required — an advisory gate has been passing steadily; safe to make required

Use this when:

  • "What gates should we add?"

  • "How do we improve our gate coverage?"

  • "Which frameworks are ready to become required gates?"

  • "We have no gates configured — where do we start?"

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.5/5.0

    Scored across 10 tools

    Disambiguation5/5

    Each tool targets a distinct governance action: attest vs dry_run_attest are clearly write vs preview, get_posture vs check_gates differentiate overall scores from deployment blockers, and list_systems vs list_evidence separate system registry from evidence ledger. No two tools have overlapping purposes.

    Naming Consistency5/5

    All tool names follow a consistent lowercase verb_noun or verb pattern: get_posture, check_gates, list_systems, register_system, acknowledge_policy, suggest_gates. The compound 'dry_run_attest' is a clear modifier of the base verb 'attest', maintaining consistency.

    Tool Count5/5

    With 10 tools, the server is well-scoped for AI governance: registration, evidence recording, posture checks, gate management, and gap analysis. Each tool earns its place without redundancy or bloat.

    Completeness5/5

    The surface covers the full governance lifecycle: register systems, attest evidence (with dry-run preview), check posture and gates, derive controls for gaps, and list evidence/systems for audits. Evidence is immutable by design, so no update/delete is needed. The only minor gap might be direct gate configuration, but suggest_gates covers recommendations adequately.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      MCP server for AI compliance auditing. Scores agent outputs for hallucination liability under the EU AI Act, issues verifiable compliance stamps, and tracks audit history by agent.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      MCP server for compliance automation of AI agents, enabling EU AI Act compliance, verifiable credentials, and decentralized identity management with 47 tools across 9 modules.
      41 PyPI
      620
      Apache 2.0
    • A
      license
      Not graded
      quality
      D
      maintenance
      MCP server providing immutable audit logging, policy enforcement, and compliance reporting for AI agent workflows, enabling regulatory compliance and chain integrity verification.
      1
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      MCP server that auto-emits tamper-evident receipts for every tool call, enabling EU AI Act Article 12 compliance with signed, chain-linked receipts.
      1
      Apache 2.0