Package Exports
- @privacy-com/privacy-mcp
Readme
@privacy-com/privacy-mcp
Local MCP server for the Privacy.com API. Manage virtual cards, transactions, and spend controls through any MCP-compatible AI client.
For a hosted option that requires no installation, use the remote MCP server at https://mcp.privacy.com/mcp.
Prerequisites
- Node.js >= 20
- Privacy.com Account
- Privacy.com API key
Available Tools
| Tool | Description |
|---|---|
list_cards |
List virtual cards with pagination |
create_card |
Create a virtual card with type, spend controls, and memo |
get_card |
Get card details by token |
pause_card |
Pause a card to temporarily block transactions |
unpause_card |
Unpause a previously paused card |
close_card |
Permanently close a card (irreversible) |
update_card_memo |
Update a card's memo (friendly name) |
update_card_spend_limit |
Update a card's spend limit and reset duration |
get_pan |
Get full card number (PAN), CVV, and expiry |
list_transactions |
List transactions with filtering by card, date range, and result |
Spend limits are specified in dollars (e.g. 25.00), not cents.
Configuration
Install the Privacy MCP server with your client.
Standard config works in most tools:
{
"mcpServers": {
"privacy": {
"command": "npx",
"args": ["@privacy-com/privacy-mcp"],
"env": {
"PRIVACY_API_KEY": "your-api-key"
}
}
}
}Claude Code
Use the Claude Code CLI to add the Privacy MCP server:
claude mcp add privacy npx @privacy-com/privacy-mcp -e PRIVACY_API_KEY=your-api-keyOr add to your project settings (.mcp.json):
{
"mcpServers": {
"privacy": {
"command": "npx",
"args": ["@privacy-com/privacy-mcp"],
"env": {
"PRIVACY_API_KEY": "your-api-key"
}
}
}
}Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"privacy": {
"command": "npx",
"args": ["@privacy-com/privacy-mcp"],
"env": {
"PRIVACY_API_KEY": "your-api-key"
}
}
}
}Cursor
Add to your Cursor MCP settings:
{
"mcpServers": {
"privacy": {
"command": "npx",
"args": ["@privacy-com/privacy-mcp"],
"env": {
"PRIVACY_API_KEY": "your-api-key"
}
}
}
}ChatGPT
In ChatGPT desktop app, go to Settings → Tools → Add and configure:
- Type: stdio
- Command:
npx @privacy-com/privacy-mcp - Environment:
PRIVACY_API_KEY=your-api-key
Requires a ChatGPT Plus or Pro subscription with Developer Mode enabled.
OpenClaw
Add to your openclaw.json:
{
"mcpServers": {
"privacy": {
"command": "npx",
"args": ["@privacy-com/privacy-mcp"],
"env": {
"PRIVACY_API_KEY": "your-api-key"
}
}
}
}