MCP Server

Connect AI agents to the Privacy API using the Model Context Protocol

📘

You must be subscribed to a paid Privacy Plan in order to access the Privacy API and MCP. You can upgrade your account at app.privacy.com/subscriptions .

Authentication

The Privacy MCP server uses OAuth. The first time you use a Privacy tool, your MCP client will open a browser window where you'll sign in to your Privacy account and authorize access.

Some clients (like Cursor) don't support MCP OAuth and require an API key instead. You can generate one at app.privacy.com/api. The setup instructions below will note when an API key is needed.

Setup by AI Platform

Claude | Cursor | OpenClaw | ChatGPT | Codex


Claude

Claude Code

Add it using the Claude Code CLI:

claude mcp add --transport http privacy-mcp https://mcp.privacy.com

Or add it your project's .mcp.json file:

{
  "mcpServers": {
    "privacy-mcp": {
      "url": "https://mcp.privacy.com"
    }
  }
}

Claude Desktop

Add the following to your Claude Desktop configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "privacy-mcp": {
      "url": "https://mcp.privacy.com"
    }
  }
}

Cursor

Add the Privacy MCP server to your Cursor configuration.


Open Settings → Cursor Settings → Tools & MCP → Add Custom MCP:

{
  "mcpServers": {
      "privacy-mcp": {
        "url": "https://mcp.privacy.com",
        "env": {
          "PRIVACY_API_KEY": "<YOUR_PRIVACY_API_KEY>"
      }
    }
  }
}

OpenClaw

Configure via the OpenClaw config file:

{
  "mcpServers": {
    "privacy-mcp": {
      "url": "https://mcp.privacy.com"
    }
  }
}

ChatGPT

  1. Requires enabling Developer Mode
  2. Go to Settings → Apps → Create App
  3. Select MCP Server and enter https://mcp.privacy.com
  4. Select OAuth. When prompted, approve ChatGPT to access your Privacy account.

Codex

Add it using the Codex CLI:

codex mcp add privacy --url "https://mcp.privacy.com"


Other MCP Clients

Any MCP-compatible client can connect using the server URL: https://mcp.privacy.com

If your client supports MCP OAuth, authentication will be handled automatically on first use. If not, generate an API key at app.privacy.com/api and pass it as the PRIVACY_API_KEY environment variable.


Available Tools

ToolDescriptionParameters
list_cardsList all cards with paginationpage? (integer, 1-indexed), page_size? (1–100, default 20)
create_cardCreate a new virtual cardtype (SINGLE_USE, MERCHANT_LOCKED, UNLOCKED), memo? (string), spend_limit? (number in dollars), spend_limit_duration? (TRANSACTION, MONTHLY, ANNUALLY, FOREVER), state? (OPEN, PAUSED, CLOSED)
get_cardGet details for a specific cardcard_token (string)
get_panRetrieve full card number, CVV, and expirationcard_token (string)
pause_cardTemporarily pause a cardcard_token (string)
unpause_cardReactivate a paused cardcard_token (string)
close_cardPermanently close a cardcard_token (string)
update_card_memoUpdate a card's friendly namecard_token (string), memo (string)
update_card_spend_limitUpdate a card's spend limitcard_token (string), spend_limit (number), spend_limit_duration? (TRANSACTION, MONTHLY, ANNUALLY, FOREVER)
list_transactionsList transactions with filterscard_token? (string), account_token? (string), begin? (YYYY-MM-DD, inclusive), end? (YYYY-MM-DD, exclusive), result? (APPROVED, DECLINED), page? (integer), page_size? (1–1000, default 20)