Platform API MCP Config
The [REST API specification](https://www.ably.io/documentation/rest-api) for Ably.
Config URL
Use this URL in any MCP-compatible client to fetch the config automatically.
https://mcp-bridge.pages.dev/config/ably-io-platform.jsonConfiguration JSON
Use curl https://mcp-bridge.pages.dev/config/ably-io-platform.json to fetch programmatically.
{
"mcpServers": {
"ably-io-platform": {
"command": "npx",
"args": ["-y","@mcp/ably-io-platform"],
"env": {
"PLATFORM_API_API_KEY": "your_platform_api_api_key"
}
}
}
}How to Use
Cursor
Go to Cursor Settings → MCP Servers → Add with the JSON above.
CLI / curl
Fetch the config programmatically:
curl https://mcp-bridge.pages.dev/config/ably-io-platform.jsonEnvironment Variables
PLATFORM_API_API_KEYReplace your_platform_api_api_key with your actual platform api api key
Endpoints
GET
/channelsEnumerate all active channels of the application
GET
/channels/{channel_id}Get metadata of a channel
GET
/channels/{channel_id}/messagesGet message history for a channel
POST
/channels/{channel_id}/messagesPublish a message to a channel
GET
/channels/{channel_id}/presenceGet presence of a channel
GET
/channels/{channel_id}/presence/historyGet presence history of a channel
POST
/keys/{keyName}/requestTokenRequest an access token
GET
/push/channelSubscriptionsList channel subscriptions
POST
/push/channelSubscriptionsSubscribe a device to a channel
DELETE
/push/channelSubscriptionsDelete a registered device's update token