FairMind

v0.5.0a0
io.github.adhit-r/fairmind Checked 18 hours ago Published 9 days ago

Release gate for AI systems from FairMind: evaluations, framework evidence and ledger snapshots.

Values you need

VariableWhat it is
FAIRMIND_API_URLrequired Base URL of your FairMind host.
FAIRMIND_API_KEYrequired secret FairMind API key, minted at POST /api/v1/auth/api-keys.

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add fairmind -e 'FAIRMIND_API_KEY=<FAIRMIND_API_KEY>' -e 'FAIRMIND_API_URL=<FAIRMIND_API_URL>' -- uvx fairmind-mcp==0.5.0a0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "fairmind": {
      "args": [
        "fairmind-mcp==0.5.0a0"
      ],
      "command": "uvx",
      "env": {
        "FAIRMIND_API_KEY": "<FAIRMIND_API_KEY>",
        "FAIRMIND_API_URL": "<FAIRMIND_API_URL>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "fairmind": {
      "args": [
        "fairmind-mcp==0.5.0a0"
      ],
      "command": "uvx",
      "env": {
        "FAIRMIND_API_KEY": "<FAIRMIND_API_KEY>",
        "FAIRMIND_API_URL": "<FAIRMIND_API_URL>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "FAIRMIND_API_KEY",
      "id": "fairmind-api-key",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "FAIRMIND_API_URL",
      "id": "fairmind-api-url",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "fairmind": {
      "args": [
        "fairmind-mcp==0.5.0a0"
      ],
      "command": "uvx",
      "env": {
        "FAIRMIND_API_KEY": "${input:fairmind-api-key}",
        "FAIRMIND_API_URL": "${input:fairmind-api-url}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.fairmind]
command = "uvx"
args = ["fairmind-mcp==0.5.0a0"]
env = { "FAIRMIND_API_KEY" = "<FAIRMIND_API_KEY>", "FAIRMIND_API_URL" = "<FAIRMIND_API_URL>" }

For AI agents

  1. Ask the user for: FAIRMIND_API_URL, FAIRMIND_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: list_systems, get_system, register_system, release_gate, clause_map, run_fairness_test, record_monitoring_snapshot, attest_check, ….
  5. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json