# MCP

Our MCP server allow's you to connect your development tools and AI tools to connect directly to our  infrastructure. This allows you to integrate anything Bitcoin Balance related to be used in your workflow.

**MCP URL:** <https://api.bitcoin-balance-api.com/mcp>

The connection needs the api key to be in the `X-API-Key` header.

### Cursor Implementation

When configuring the MCP in Cursor you can easily do this in your project directory via `.cursor/mcp.json`

```
{
  "mcpServers": {
    "bitcoin-balance-api": {
      "url": "https://api.bitcoin-balance-api.com/mcp",
      "headers": {
        "X-API-Key": "YOUR_SECRET_API_KEY"
      }
    }
  }
}
```

Or via the UI in **Cursor** -> **Settings** -> **Tools & MCPs**:

<figure><img src="https://35432300-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcMHzDT33emwWOpdKa43%2Fuploads%2F0Q6FCJtoDFPOmRDNfSNM%2Fimage.png?alt=media&#x26;token=a2417c19-dc45-4184-bad3-a53a2a46ab01" alt=""><figcaption></figcaption></figure>

**Don't forget to enable it**, also when configured via the configuration file. Once it is enabled, the AI can access the server:

<figure><img src="https://35432300-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcMHzDT33emwWOpdKa43%2Fuploads%2FA9Ozfz4cIL5muqVoGYXg%2Fimage.png?alt=media&#x26;token=69cb2f2d-4917-496b-90e4-55bc211ea9e3" alt=""><figcaption></figcaption></figure>
