← All Integrations

VS Code

GitHub Copilot in VS Code supports MCP servers via the chat agent mode. Connect Bipa Agents through workspace or user settings.

Local (stdio) Remote (HTTP + OAuth)
  • 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)

01

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"]
    }
  }
}
02

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
}
03

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.

01

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"
    }
  }
}
02

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:

bipa_pix_pay_key

Pay for any service or API

bipa_balance

Check all wallet balances

bipa_history

Transaction history

bipa_deposit

Get deposit addresses

bipa_pix_keys

List Pix keys

bipa_pix_brcode_decode

Decode a Pix BR Code

bipa_limits

Check spending limits

bipa_account

Account profile

bipa_whoami

Current session info

bipa_ln_pay

Pay Lightning invoice

bipa_card_create

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.