# Ably MCP by usefulapi

> Ably MCP by usefulapi is a freemium MCP server for developer tools. Inspect Ably realtime channels, presence and stats, and publish test messages. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Starting price:** $9 a month
- **Platforms:** API
- **Website:** https://usefulapi.io/ably/
- **Repository:** https://github.com/m190/usefulapi-mcp/tree/HEAD/servers/ably
- **MCP Registry name:** io.usefulapi/ably
- **Categories:** developer tools, communication
- **Listing updated:** 2026-11-14

## About

Realtime debugging is the main job. The server reads channel history newest first, lists active channels, reports occupancy for one channel (connections, publishers, subscribers and presence members), and returns both the current presence set and past enter, leave and update events. Statistics come per app or for the whole account, bucketed by time.

For setup audits it lists apps, API keys with their capabilities, channel namespaces, queues and integration rules. One tool writes: ably_publish_message sends a message to a channel you name, and every connected subscriber receives it, so use test channels.

You paste an Ably API key when you connect; it is validated and stored per user. Developers running realtime apps on Ably are the target audience.

## Features

- **Channel history:** Reads recent messages on a channel, newest first, for debugging message flow.
- **Occupancy and presence:** Shows who is connected and present on a channel now, and presence history.
- **Usage statistics:** Message, connection and channel stats per app or account over time.
- **App configuration audit:** Lists apps, keys with capabilities, namespaces, queues and rules.
- **Test publishing:** Publishes a message to a named channel.
- **Service time:** Reads Ably server time.

## Good for

- Check which channels have users connected right now
- Read the last messages on an orders channel
- Chart daily message counts for the past week
- Audit API key capabilities across apps
- Send a test message to a staging channel

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http ably https://ably.usefulapi.io/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://ably.usefulapi.io/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "ably": {
      "url": "https://ably.usefulapi.io/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "ably": {
      "type": "http",
      "url": "https://ably.usefulapi.io/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "ably": {
      "serverUrl": "https://ably.usefulapi.io/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "ably": {
      "type": "http",
      "url": "https://ably.usefulapi.io/mcp"
    }
  }
}
```

## Tools

- `ably_get_channel_history`: Retrieve historical messages published to a channel, newest-first by default. REST: GET /channels/{channel}/messages.
- `ably_get_presence`: List the members currently present on a channel (who is online now). REST: GET /channels/{channel}/presence.
- `ably_get_presence_history`: Retrieve historical presence events (enter/leave/update) for a channel. REST: GET /channels/{channel}/presence/history.
- `ably_get_channel_details`: Get status and occupancy metrics for a single channel (connections, publishers, subscribers, presence members). REST: GET /channels/{channel}.
- `ably_list_channels`: Enumerate channels that are currently active in the app. Requires the API key to have the 'channel-metadata' capability. REST: GET /channels.
- `ably_get_stats`: Retrieve message/connection/channel usage statistics for the app tied to the API key, bucketed by time. REST: GET /stats.
- `ably_get_service_time`: Return the current Ably service time in ms since epoch. Useful for aligning start/end windows to the server clock. REST: GET /time.
- `ably_publish_message`: WRITE: publish a message to a channel. Every connected subscriber receives it in real time. This is a real, outward-facing side effect — confirm the channel and payload before calling. REST: POST /channels/{channel}/messages.
- `ably_whoami`: Return details about the configured control token: the account and user it belongs to and its capabilities. Good first call to confirm control-plane access. Control API: GET /me.
- `ably_list_apps`: List all apps in the account (id, name, status, tls-only). Account id is resolved automatically from the control token when ABLY_ACCOUNT_ID is unset. Control API: GET /accounts/{account_id}/apps.
- `ably_list_keys`: List the API keys for an app, including their capabilities (but not the full secret). Control API: GET /apps/{app_id}/keys.
- `ably_list_namespaces`: List the channel namespaces (channel-rule prefixes) configured for an app, e.g. persistence and push settings. Control API: GET /apps/{app_id}/namespaces.
- `ably_list_queues`: List the Ably Queues (AMQP/STOMP message queues) provisioned for an app, with their state and messaging stats. Control API: GET /apps/{app_id}/queues.
- `ably_list_rules`: List the integration rules (reactor rules: webhooks, AWS Lambda/SQS/Kinesis, Kafka, Pulsar, etc.) configured for an app. Control API: GET /apps/{app_id}/rules.
- `ably_get_account_stats`: Retrieve aggregated usage statistics across the whole account, bucketed by time. Account id is resolved from the control token when ABLY_ACCOUNT_ID is unset. Control API: GET /accounts/{account_id}/stats.

## FAQ

### Can it send messages?

Yes. ably_publish_message publishes to a channel you name and all connected subscribers receive it.

### What credential is used?

An Ably API key you paste on first connect; it is validated and stored per user.

### How many tools does it expose?

19, of which 14 read Ably data, one publishes, and four manage usage and subscription.

### Is it free?

50 tool calls a month are free; Pro is $9 a month and Pro+ is $39 a month.

### Is Ably MCP by usefulapi free?

Ably MCP by usefulapi has a free plan, with paid plans for more usage or features. Paid plans start at $9 a month.

### How do I add Ably MCP by usefulapi to Claude Code?

Run this command in your terminal: claude mcp add --transport http ably https://ably.usefulapi.io/mcp

### What are the best alternatives to Ably MCP by usefulapi?

The closest alternatives to Ably MCP by usefulapi are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/ably-mcp-by-usefulapi
