npm @mima-ai/governance-mcpstdioupdated 2mo ago
MCP server for AI governance — push compliance evidence to Mima from any agent, any stack, 4 lines of config.
governance mcp 能做什么?
@mima-ai/governance-mcp
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-..."
}
}
}
}
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
安装
把 governance mcp 添加到你的客户端。选择你正在使用的那个。
claude mcp add governance-mcp -- npx -y @mima-ai/governance-mcpcodex mcp add governance-mcp -- npx -y @mima-ai/governance-mcpamp mcp add governance-mcp -- npx -y @mima-ai/governance-mcp{
"mcpServers": {
"governance-mcp": {
"command": "npx",
"args": [
"-y",
"@mima-ai/governance-mcp"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"governance-mcp": {
"command": "npx",
"args": [
"-y",
"@mima-ai/governance-mcp"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
code --add-mcp '{"name":"governance-mcp","command":"npx","args":["-y","@mima-ai/governance-mcp"]}'Or add the block manually to `.vscode/mcp.json` under `servers`.
{
"mcpServers": {
"governance-mcp": {
"command": "npx",
"args": [
"-y",
"@mima-ai/governance-mcp"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"governance-mcp": {
"command": "npx",
"args": [
"-y",
"@mima-ai/governance-mcp"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"governance-mcp": {
"command": "npx",
"args": [
"-y",
"@mima-ai/governance-mcp"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"governance-mcp": {
"type": "local",
"command": "npx",
"args": [
"-y",
"@mima-ai/governance-mcp"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"governance-mcp": {
"command": {
"path": "npx",
"args": [
"-y",
"@mima-ai/governance-mcp"
]
}
}
}
}Add to your Zed `settings.json`.
npx -y @mima-ai/governance-mcpRun `goose configure`, choose **Add Extension → Command-line Extension**, and paste this command.
评分
39 / 100
不完整
- 文档22/25
- 维护16/25
- 可信度9/20
- 能力0/15
- 安装体验12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 58 days ago
- Has a release history
- Repository is not archived
- No licence detected
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 0 tool(s) documented
- Provides prompt templates
- Provides resources
- 12 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint — no local install
版本历史
| 版本 | 发布于 |
|---|---|
| 0.1.13最新 | 2026年7月4日 |
| 0.1.12 | 2026年7月4日 |