Claude Desktop
Anthropic's desktop app has first-class MCP support. Connect locally via the CLI or point to the remote server.
- A Bipa account with an active registration.
- bipa CLI installed (for local mode). Prefer the managed installer:
curl -fsSL https://agents.bipa.app/install.sh | sh. Developer package-manager installs are listed in the docs. - Run
bipa login --web --opento authenticate before configuring Claude Desktop (local mode only). Use--webalone to get the URL without auto-opening the browser.
Local Setup (stdio)
Open Claude Desktop settings
Click the Claude menu → Settings → Developer → Edit Config. This opens the claude_desktop_config.json file.
Add the Bipa Agents MCP server
Add the following to your mcpServers configuration:
{
"mcpServers": {
"bipa": {
"command": "bipa",
"args": ["mcp", "serve", "--stdio"]
}
}
} Restart Claude Desktop
Close and reopen Claude Desktop. You should see the MCP tools icon (hammer) in the chat input, confirming the connection.
If the bipa command is not found, ensure ~/.local/bin is in your PATH or use the full path to the binary.
Remote Setup (HTTP + OAuth)
Connect directly to the Bipa Agents remote MCP server. No local installation required. Authentication is handled via OAuth 2.1 with PKCE.
Open Claude Desktop settings
Click the Claude menu → Settings → Developer → Edit Config.
Add the remote MCP server
Add the following to your mcpServers configuration:
{
"mcpServers": {
"bipa": {
"url": "https://mcp.bipa.app/mcp"
}
}
} Authenticate via OAuth
Restart Claude Desktop. When you first use a Bipa Agents tool, Claude will open your browser to complete the OAuth flow with Bipa. After authorization, the token is managed automatically.
The remote server uses OAuth 2.1 with PKCE. No API keys to manage.
Available MCP Tools
Once connected, the following tools become available to the AI assistant:
Pay for any service or API
Check all wallet balances
Transaction history
Get deposit addresses
List Pix keys
Decode a Pix BR Code
Check spending limits
Account profile
Current session info
Pay Lightning invoice
Create virtual Mastercard
Local mode: The CLI authenticates by opening your browser. You sign in with the Bipa app and the session token is stored locally.
Remote mode: The MCP client handles OAuth 2.1 automatically. It discovers endpoints via /.well-known/oauth-authorization-server, redirects you to the Bipa app for authorization, and exchanges the code for an access token using PKCE.