guardrly-mcp

v0.1.3
io.github.fishcoco-code/guardrly-mcp Checked 12 hours ago Published 7 months ago

Non-invasive AI Agent monitoring — audit every API call to Shopify, Meta Ads, and more

Starts only with mcp<2 (written for an older SDK); the install commands pin it.

Values you need

VariableWhat it is
GUARDRLY_API_KEYrequired secret Your Guardrly API key from app.guardrly.com/settings
GUARDRLY_API_URLoptional Guardrly API endpoint Default: https://api.guardrly.com
HMAC_SECRETrequired secret Your HMAC secret from app.guardrly.com/settings MCP Configuration panel

PyPI (uvx) discovery passed

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

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

For AI agents

  1. Ask the user for: GUARDRLY_API_KEY, HMAC_SECRET. 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: make_http_request, agentwatch_log_reasoning.
  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