Skip to main content
Glama
UluBroadcastMCP

UluBroadcastMCP

by NautilusOSS
README.md
# UluBroadcastMCP

A lightweight MCP server for broadcasting signed transactions and querying blockchain networks.

> **Sign elsewhere, broadcast here.**

UluBroadcastMCP handles network interaction only — no wallet management, signing, or private key storage. Pair it with a signing MCP (like UluWalletMCP) for a complete workflow.

## Tools

| Tool | Description |
|------|-------------|
| `broadcast_transactions` | Submit signed transaction blobs and return txids |
| `get_transaction_status` | Check pending status of a transaction by ID |
| `wait_for_confirmation` | Wait for a transaction to confirm within N rounds |
| `get_network_status` | Get current node status (last round, sync state) |
| `get_suggested_params` | Fetch suggested transaction parameters |
| `simulate_transactions` | Dry-run transactions without broadcasting |

## Setup

```bash
npm install
```

## Usage

```bash
node index.js
```

## Adding to an MCP Client

Add to your MCP client config (e.g. `claude_desktop_config.json`):

```json
{
  "mcpServers": {
    "ulu-broadcast-mcp": {
      "command": "node",
      "args": ["/absolute/path/to/UluBroadcastMCP/index.js"]
    }
  }
}
```

## Supported Networks

Out of the box:

| Network | Algod Endpoint |
|---------|---------------|
| `voi-mainnet` | `https://mainnet-api.voi.nodely.dev` |
| `algorand-mainnet` | `https://mainnet-api.algonode.cloud` |
| `algorand-testnet` | `https://testnet-api.algonode.cloud` |

## Configuration

Networks can be configured via a config file or environment variables.

### Config File

Create `~/.ulubroadcast/config.json`:

```json
{
  "networks": {
    "my-localnet": {
      "algodUrl": "http://localhost:4001",
      "algodToken": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "algodPort": ""
    }
  }
}
```

### Environment Variables

Override or add networks with env vars following this pattern:

```
ULU_BROADCAST_<NETWORK>_ALGOD_URL=...
ULU_BROADCAST_<NETWORK>_ALGOD_TOKEN=...
ULU_BROADCAST_<NETWORK>_ALGOD_PORT=...
```

Network names use underscores instead of hyphens. Example:

```bash
export ULU_BROADCAST_VOI_MAINNET_ALGOD_URL=https://custom-node.example.com
```

## File Layout

```
index.js          # MCP server entry point with tool definitions
lib/
  config.js       # Config file + env var loading
  networks.js     # Algod client creation and caching
  algorand.js     # Broadcast, query, and simulation logic
  errors.js       # Error types and formatting
```

## License

MIT

TDQS

B3.4/5.0

Scored across 6 tools

Disambiguation4/5

Each tool maps to a distinct action on the transaction lifecycle (broadcast, simulate, status, wait, params, network status), and the descriptions make the broadcast-vs-simulate boundary explicit. The only mild overlap is between get_transaction_status and wait_for_confirmation, both of which concern pending confirmation, but they differ in polling vs blocking behavior.

Naming Consistency5/5

All six tools follow a clean verb_noun snake_case pattern (broadcast_transactions, get_transaction_status, wait_for_confirmation, get_network_status, get_suggested_params, simulate_transactions). There are no mixed conventions or vague bare verbs.

Tool Count5/5

Six tools is tightly scoped to the broadcasting domain but still covers the full pre-flight and post-broadcast flow. Every tool earns its place with no filler or redundant entries.

Completeness4/5

The core workflow is covered end-to-end: get params, simulate, broadcast, poll status, wait for confirmation, and check node health. A minor gap is the absence of a tool to fetch full confirmed transaction details or history, since get_transaction_status appears limited to pending status.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues