Overview
Slash provides an MCP server that lets AI agents interact with the Slash API. The server exposes tools to list endpoints, inspect schemas, and make API calls — all through the standard MCP protocol. When an RSA public key is provided, sensitive card data (PAN and CVV) is RSA-encrypted before it reaches the agent, ensuring raw card numbers are never exposed to the AI. If no key is provided, raw card data will be returned as plaintext.Connection Parameters
Available Tools
Setup by AI Platform
- Claude Desktop
- Claude Code
- ChatGPT
- Cursor
- Codex
- OpenClaw
Add the following to your Claude Desktop configuration file:Restart Claude Desktop to apply the changes.
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
Card Data Encryption
To encrypt card data before it reaches the agent, generate an RSA key pair and pass the public key:rsaPublicKey parameter to your connection URL:
apiKey and rsaPublicKey can also be passed as X-API-Key and X-RSA-Public-Key headers.
When you provide an rsaPublicKey and request card details with include_pan=true or include_cvv=true, the PAN and CVV are returned as RSA-encrypted, base64-encoded ciphertext. The agent never sees the raw card numbers.
If no rsaPublicKey is provided, the PAN and CVV are returned as plaintext.
The encryption uses RSA-OAEP with your public key.
Decrypting card data
Use your private key to decrypt the base64-encoded values:Python
Node.js
Keep your private key secure. It should never be shared, committed to source control, or exposed to the AI agent.