VS Code
GitHub Copilot in VS Code supports MCP servers via the chat agent mode. Connect Bipa Agents through workspace or user settings.
- A Bipa account with an active registration.
- VS Code 1.99+ for local MCP, or 1.101+ for remote MCP with OAuth.
- GitHub Copilot extension with an active subscription.
- bipa CLI installed (for local mode).
- For organizations: the "MCP servers in Copilot" policy must be enabled by an admin.
Local Setup (stdio)
Create the MCP config file
Create a .vscode/mcp.json file in your workspace root:
{
"servers": {
"bipa": {
"type": "stdio",
"command": "bipa",
"args": ["mcp", "serve", "--stdio"]
}
}
} Enable MCP in Copilot settings
Open VS Code settings (Cmd+,) and search for "mcp". Ensure chat.mcp.enabled is checked. Alternatively, add to your settings.json:
{
"chat.mcp.enabled": true
} Use in Copilot Chat
Open Copilot Chat and switch to Agent mode (look for the agent icon or select it from the mode dropdown). The Bipa Agents tools will be available in agent conversations.
MCP tools are available in Agent mode, not in standard inline completions.
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.
Create the MCP config file
Create .vscode/mcp.json in your workspace with the remote URL:
{
"servers": {
"bipa": {
"type": "http",
"url": "https://mcp.bipa.app/mcp"
}
}
} Enable MCP and authenticate
Ensure chat.mcp.enabled is true in settings. When you first use Bipa Agents tools, VS Code will prompt you to complete the OAuth flow with Bipa.
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.