Observed since 21 Oct, 10:50 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
AIGP governance adapter for MCP tool invocations — policy, scope, consent, evidence
AIGP governance for MCP (Model Context Protocol) tool invocations.
Part of MAIGP — the Mediated AI Governance Protocol: a runtime consent / scope / evidence layer for AI systems. Every governed call is CHECKed before it runs (policy, scope, jurisdiction, circuit-breaker) and RECORDed + TRACEd as tamper-evident evidence after.
Governs MCP tool calls — policy, scope, consent, classification, and evidence.
This adapter maps the framework's lifecycle onto the AIGP agent-governance loop provided by maigp-agent-core:
| Framework event | AIGP action |
|---|---|
| run / invocation start | CHECK (pre_invoke) — allowed? under what authority? |
| each model reply | token accounting (on_model_call) |
| each tool / function call | tool governance (on_tool_call) |
| run complete | RECORD + TRACE (post_invoke) |
| failure | on_error (recorded, then re-raised) |
pip install aigp-mcp
Pulls in maigp-agent-core (shared lifecycle) and, transitively, maigp-client.
from aigp_mcp import GovernedMCPClient, MCPGovernanceConfig
config = MCPGovernanceConfig(
mode="ENFORCE",
gov_url="https://gov.example.com",
app_id="mcp-gateway",
hmac_secret="...",
)
governed = GovernedMCPClient(mcp_client, config)
# Pre-check → execute only if allowed → post-record evidence
result = await governed.call_tool("wiz", "listVulnerabilities",
{"severity": "HIGH"})
mode="ENFORCE" blocks disallowed calls (raising GovernanceDenied); monitor-only modes record without blocking. Exports include AccessDecision, GovernanceDenied, and ToolEvidence.
License: Proprietary. © Kanjani AI Research & Causum.
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 1.0.0 | 5 Oct 2026 | 1 |
This describes our collected data; it is not a security assessment.
Observed since 21 Oct, 10:50 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:7329b8aafd683475ea4681e35de168548762ee80240e367bf01432aa03c05f5e