# mcp-blockchain-events [Health: Active]

**Category:** 💰 Finance & Fintech  
**Repository:** https://github.com/CryptoAPIs-io/cryptoapis-mcp-blockchain-events  
**GitHub Stars:** 0  
**npm Downloads (last month):** 651  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/mcp-blockchain-events

## Description
MCP server for subscribing to and managing on-chain event webhooks via Crypto APIs

## Tools
Capabilities this server exposes over MCP:

- **blockchain_events_manage** — Manage existing webhook subscriptions.
- **blockchain_events_create** — Create new webhook subscriptions for blockchain events.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "mcp-blockchain-events": {
    "command": "npx",
    "args": ["-y","@cryptoapis-io/mcp-blockchain-events"],
    "env": {
      "CRYPTOAPIS_API_KEY": "",
      "MCP_AUTH_TOKEN": ""
    }
  }
}
```

**Requires environment variables:** `CRYPTOAPIS_API_KEY`, `MCP_AUTH_TOKEN` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What mcp-blockchain-events does

mcp-blockchain-events exposes Crypto APIs’ Blockchain Events product through MCP. It lets an MCP-compatible client create webhook subscriptions and administer subscriptions that already exist. Supported event examples include new blocks, confirmed transactions, address coin activity, and token transfers.

Subscriptions can target major blockchain families covered by Crypto APIs, including EVM chains, UTXO-based chains, Solana, and XRP. A new subscription can include an event type and callback URL, with optional blockchain, network, and address values where the selected event supports them.

## How it works

The server sends requests to Crypto APIs using an API key. In stdio mode, the key is supplied when the process starts, either with `--api-key` or through `CRYPTOAPIS_API_KEY`. Stdio is the default transport and is suited to local MCP client configurations.

HTTP mode is available with `--transport http`. It listens on `127.0.0.1` by default, uses port `3000` unless another port is selected, and serves MCP at `/mcp` by default. HTTP deployments can use one startup API key for all requests or require each request to provide its own `x-api-key` header. The latter mode supports clients or users supplying separate Crypto APIs keys.

For connections beyond the local machine, the host must be explicitly changed from the loopback default. A bearer token can protect callers in startup-key mode, and `--allowed-hosts` can restrict accepted Host headers. The server also supports stateless HTTP mode.

## Setup and configuration

Install the package with npm:

```bash
npm install @cryptoapis-io/mcp-blockchain-events
```

Run it locally with an API key:

```bash
npx @cryptoapis-io/mcp-blockchain-events --api-key YOUR_API_KEY
```

Or configure `CRYPTOAPIS_API_KEY` and start the package without the command-line key. Node.js 18 or newer and a Crypto APIs account with an API key are required.

Claude Desktop and Cursor can launch the server through an npm-based MCP configuration, passing the API key as `CRYPTOAPIS_API_KEY`. For n8n, start HTTP mode and point an MCP Client Tool at the server’s `/mcp` URL. When n8n runs in Docker, the server host and authentication settings must account for container networking.

## Tools and capabilities

- `blockchain_events_create` creates a webhook subscription. It accepts an event type and callback URL, plus optional blockchain, network, and address parameters.
- `blockchain_events_manage` operates on existing subscriptions. Its actions list subscriptions, retrieve one subscription’s details, activate a paused subscription, and delete a subscription.
- HTTP operation can use a fixed API key or per-request `x-api-key` authentication.
- The server targets Crypto APIs version `2024-12-12`.

## Limitations and notes

A valid Crypto APIs API key should be configured before making requests. The package warns that invalid or missing keys may lead to an IP ban from the Crypto APIs ecosystem.

The HTTP listener is local-only by default. Exposing it to other machines or containers requires an explicit host binding and appropriate authentication or per-request API-key handling. Command-line bearer tokens can appear in process listings, so `MCP_AUTH_TOKEN` is preferred for the authentication token.

Crypto APIs also offers a hosted remote MCP endpoint at `https://ai.cryptoapis.io/mcp`, which accepts the API key through the `x-api-key` header and does not require installing this package.

_Full upstream README: https://allmcps.com/mcp/mcp-blockchain-events/readme_

