mcp-caf

v0.1.3
io.github.codespar/mcp-caf Checked 11 hours ago Published 2 months ago

DEPRECATED: no live endpoint (api.caf.io does not resolve)

Values you need

VariableWhat it is
CAF_API_KEYrequired secret API key from the Caf dashboard
CAF_API_BASEoptional API base URL — defaults to Caf production. Override for sandbox.

npm (npx) verified

Requires Node.js 18+

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

For AI agents

  1. Ask the user for: CAF_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: person_check, company_check, face_authentication, liveness_check, document_check, trust_platform_start, trust_platform_get, list_datasources, ….
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json