Skip to main content
This article shows you how to add PEX to Claude as a custom connector. Once it is connected, Claude can read your PEX account data and answer questions like “what is my business profile?” or “list all my PEX cards” from live PEX data. These steps work in Claude on the web (https://claude.ai) and in the Claude desktop app.
Heads up:The PEX connector for Claude is in Beta. Behavior and tool names may change.
Official Claude connector coming soon:PEX has submitted an app to Anthropic to be listed as an official connector in the Claude connector directory. Until it is listed, add PEX as a custom connector using the steps below. We will update this article when the official connector is available.

What you will need before you start

  • An admin account in the PEX dashboard: https://dashboard.pexcard.com.
  • A Claude account. On Claude Team and Enterprise plans, an organization owner must add the PEX connector for your organization before you can connect it.
PEX connects to Claude through OAuth. You sign in to PEX directly from Claude and approve access, so you don’t need a PEX API token.

Step 1. Add PEX as a custom connector

1

Open Plugins

In Claude, open Plugins (Customize > Connectors in some accounts), click Add and choose Add custom connector.
Claude Customize page on the Connectors tab with the Add menu open showing Add custom connector
2

Enter the PEX server

Enter the following details, then click Continue:
3

Add the OAuth client ID

Claude detects the sign-in options for PEX. Keep Sign in now and Use your own OAuth client selected.Under OAuth client, enter the OAuth client ID 593e3c56eff746d19e2f456fcaaa5a8c and leave OAuth client secret blank. Click Add.
Claude opens the PEX sign-in page.
Claude Team and Enterprise plans:Only organization owners can add a custom connector. Once your owner has added PEX, find PEX in your connectors list and click Connect. Then continue with Step 2.

Step 2. Sign in to PEX and allow access

1

Log in

The sign-in page shows that the PEX connector wants to connect to your PEX account. Enter your PEX dashboard username and password, then click Log in.
2

Verify it's you

If two-factor authentication is on for your PEX account, choose how to receive your secure access code, such as Email or Text message (SMS), and click Continue. Enter the code and click Continue again.
3

Allow access

PEX lists what the connector is requesting permission to access:
  • Stay connected: “Keeps access to your PEX data until you disconnect — no need to sign in each time.”
  • Read your PEX data: “View your transactions, cards, balances, spend rules, and bills. Read-only access — no money movement or account changes.”
Click Allow.
PEX returns you to Claude and the PEX connector is connected.
Read-only access:Claude gets read-only access to your PEX account. It can look up cards, transactions and account details but it can’t move money, issue or fund cards or change any setting.

Step 3. Use PEX in a chat

Start a new chat and make sure the PEX connector is turned on. To check the connection, ask:
What is my business profile?
Claude calls the PEX connector and returns your Business Account ID, name, address and contact info. You can also ask questions like:
  • “List all my PEX cards”
  • “Show me all transactions over $500 from the past 30 days”
  • “What spending rulesets do I have?”
  • “What Bill Pay invoices are outstanding this month?”
The PEX connector includes read-only tools to:
  • Cards: view cards, card orders, card spend rules, scheduled funding and load limits.
  • Transactions: view cardholder transactions, network transactions, transaction details and attachments.
  • Business: view the business profile, admins, billing, linked accounts and one-time transfers.
  • Spending rulesets: view rulesets and the cards assigned to them.
  • Other: view vendors, Bill Pay invoices and payments, invoices, callback subscriptions, MCC categories, groups and Cardholders.

Using PEX with multiple accounts

If you manage more than one PEX business, link those accounts to your PEX login first. See How to link multiple administrator or cardholder accounts. When you connect Claude, sign in with the PEX user you linked your other accounts to. Claude reads the business you signed in to by default and can also read any business linked to that login. You don’t need to add a separate connector for each business. To work with a linked business, ask Claude to list your linked accounts, then name the business you want in your question:
  • “Which PEX businesses can you access?”
  • “Show me the balance for each of my linked businesses”
  • “List last week’s transactions for [business name]”
Claude labels results by business and doesn’t combine figures across businesses. Access to linked businesses is read-only, the same as your main business.

Troubleshooting

I can’t add a custom connector in Claude. On Claude Team and Enterprise plans, only organization owners can add a custom connector. Ask your owner to add PEX. Once they have, find PEX in your connectors list and click Connect. Claude returns data from the wrong account. Claude uses the PEX user you signed in with and the businesses linked to it. If you asked about a linked business, check that you named the right one. If you signed in as the wrong user, disconnect PEX in Claude (see Disconnecting PEX), then connect it again and sign in as the correct PEX user. Claude says it can’t reach PEX or asks me to sign in again. Check that the connector URL is https://mcp.pexcard.com/mcp and the OAuth Client ID is 593e3c56eff746d19e2f456fcaaa5a8c. If either is wrong, remove the connector and add it again. Then click Connect and sign in again.

Disconnecting PEX

To stop Claude from accessing your PEX account, open Plugins (Customize > Connectors in some accounts) in Claude, open the PEX connector and disconnect or remove it. Claude can’t call PEX again until you connect it and sign in again. Authorized apps in the PEX dashboard can’t revoke Claude’s access. To revoke access from the PEX side, email adminsupport@pexcard.com.

Other AI assistants

GitHub Copilot in VS Code, Cursor, Windsurf, Claude Code and other MCP-compatible clients run the PEX MCP Server on your own machine over stdio. These clients will move to their own article. Each one needs Node.js and two environment variables:

Claude Code (CLI)

Add the MCP Server in a single command:
Or add it manually to .claude/settings.json:
Run /mcp in your Claude Code session to verify the connection.

GitHub Copilot in VS Code

Add the server to your VS Code settings (.vscode/settings.json for a single workspace, or your user settings for every workspace):
Alternatively, create an .mcp.json file in your project root:
Tip:When using .mcp.json, add it to your .gitignore if it contains your actual token, or reference an environment variable so secrets stay out of source control.

Cursor, Windsurf and other MCP clients

For any MCP-compatible client, use the following server configuration and consult your tool’s MCP documentation for where to put it:
  • Command: npx
  • Arguments: -y @pexcard_engineering/mcp
  • Environment variable PEX_API_URL: https://coreapi.pexcard.com/v4
  • Environment variable PEX_API_TOKEN: your PEX API token

Need more help?

Last modified on December 2, 2026