gmi-security-mcp

v0.5.11
io.github.Jayanng/gmi-security-mcp Checked 3 days ago Published 23 days ago

Triage semgrep findings with GMI Inference, with cost shown before every run.

Values you need

VariableWhat it is
GMI_API_KEYrequired secret GMI Inference API key

PyPI (uvx) discovery passed

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

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

For AI agents

  1. Ask the user for: GMI_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: triage_semgrep_finding, estimate_cost, repo_scan, check_osv_advisory, explain_cve, draft_private_disclosure, verify_finding, list_findings, ….
  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