ably_get_channel_history
Get channel message history
Retrieve historical messages published to a channel, newest-first by default. REST: GET /channels/{channel}/messages.
endlimitstartchannelrequireddirectionio.usefulapiPublished by usefulapi.ioOfficial publisherv1.35.3Updated Nov 5, 2026
MCP server for Ably — channel history, presence, occupancy, stats, publish, and app management.
Hosted MCP server for Ably that lets an assistant inspect realtime channels, presence and usage stats, publish messages, and review app configuration.
Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.
Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.
Read https://sourceweft.com/mcp/io.usefulapi%2Fably/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.Add this to your client's mcpServers config.
{
"mcpServers": {
"ably-by-usefulapi": {
"type": "http",
"url": "https://ably.usefulapi.io/mcp"
}
}
}Query Ably realtime channels and manage your apps from Claude, Cursor, or any MCP client. Hosted, no local install — connect with your Ably API key.
Live endpoint: https://ably.usefulapi.io/mcp · Homepage: https://usefulapi.io/ably
https://ably.usefulapi.io/mcp.claude mcp add --transport http ably https://ably.usefulapi.io/mcp, then run /mcp to log in.Add only the URL. Do not add an Authorization header or an API key to the client config: the server signs you in with OAuth, and the login page asks for your Ably credentials.
Step-by-step setup, where to find your credentials, and FAQ: https://usefulapi.io/ably/
On first connect you'll paste your Ably API key. It's validated, stored per-user, and scoped to you.
read tools are read-only; write tools mutate data (clients should confirm them); meta tools report usage, manage your subscription or send a feature request.
*Pro has a fair use limit of 10,000 tool calls a month on this server. For more, write to [email protected].
Pro covers this server only. Subscribe with ably_upgrade (it returns a Stripe Checkout link). Cancel any time with ably_cancel_subscription: Pro continues to the end of the paid period, with no refund for the current period, and running ably_upgrade before then undoes the cancel. Or write to [email protected].
MIT — see LICENSE. Documentation only; the server is hosted.
Source: servers/ably/README.md at commit 4046075
Get channel message history
Retrieve historical messages published to a channel, newest-first by default. REST: GET /channels/{channel}/messages.
endlimitstartchannelrequireddirectionGet channel presence set
List the members currently present on a channel (who is online now). REST: GET /channels/{channel}/presence.
limitchannelrequiredclientIdconnectionIdGet channel presence history
Retrieve historical presence events (enter/leave/update) for a channel. REST: GET /channels/{channel}/presence/history.
endlimitstartchannelrequireddirectionGet channel details / occupancy
Get status and occupancy metrics for a single channel (connections, publishers, subscribers, presence members). REST: GET /channels/{channel}.
channelrequiredList active channels
Enumerate channels that are currently active in the app. Requires the API key to have the 'channel-metadata' capability. REST: GET /channels.
bylimitprefixGet app statistics
Retrieve message/connection/channel usage statistics for the app tied to the API key, bucketed by time. REST: GET /stats.
endunitlimitstartdirectionGet Ably 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.
Takes no parameters.
Publish a message to a channel
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.
datarequirednamechannelrequiredclientIdGet control token / account info
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.
Takes no parameters.
List Ably 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.
account_idList an app's API keys
List the API keys for an app, including their capabilities (but not the full secret). Control API: GET /apps/{app_id}/keys.
app_idrequiredList an app's channel 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.
app_idrequiredList an app's 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.
app_idrequiredList an app's integration 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.
app_idrequiredGet account-level statistics
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.
endunitlimitstartaccount_id100% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
io.usefulapiOfficial publisher
Hosted ProofHub connector that lets an assistant read projects, tasks, comments, people and time entries, and create tasks or comments.
io.usefulapiOfficial publisher
Hosted, read-only MCP server that lets an assistant browse one MyOnlineStore shop's orders, products, categories, customers, discounts and newsletter…
io.usefulapiOfficial publisher
Hosted MCP server for Jostle Tasks: read users, presets, tasks and comments, and create or update tasks and post comments as your own user.
io.usefulapiOfficial publisher
Hosted MCP server for ExpenseOnDemand: read accounting exports, payroll totals and master data, and add, update or deactivate employees, customers and cost…
io.usefulapiOfficial publisher
Hosted eCellar MCP server that lets an assistant read winery orders, customers, club and inventory data, and make limited shipping and stock changes.
{ "mcpServers": { "ably": { "url": "https://ably.usefulapi.io/mcp" } }}