Cursor
AI-first code editor with native MCP support. Add Bipa Agents via settings, a project config file, or the one-click deep link.
- A Bipa account with an active registration.
- Cursor version 0.45 or later.
- bipa CLI installed (for local mode).
Local Setup (stdio)
Open Cursor Settings
Open Cursor Settings (not VS Code settings) → navigate to the MCP section. Click Add new MCP server.
Configure the server
Choose stdio transport and enter the command. Alternatively, create a .cursor/mcp.json file in your project root:
{
"mcpServers": {
"bipa": {
"command": "bipa",
"args": ["mcp", "serve", "--stdio"]
}
}
} Enable the server
After adding, the server appears in the MCP settings panel. Make sure the toggle is enabled (green). Cursor will connect automatically.
Use the Composer (Agent mode) or Chat to interact with MCP tools.
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.
Add remote server via settings
Open Cursor Settings → MCP → Add new MCP server. Choose HTTP transport and enter the URL.
Or use a project config file
Create .cursor/mcp.json in your project root:
{
"mcpServers": {
"bipa": {
"url": "https://mcp.bipa.app/mcp"
}
}
} Authenticate
Cursor will handle the OAuth 2.1 flow automatically. You will be redirected to the Bipa app to authorize access.
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.