Platform API Claude Desktop Config
Add the Platform API MCP server to Claude Desktop with this ready-to-use configuration.
Setup Instructions
- Open Claude Desktop
- Go to Settings → Developer → Edit Config →
claude_desktop_config.json - Paste the JSON below into the file
- Set your credentials in the
envsection - Restart Claude Desktop
Configuration JSON
Copy the entire block into your claude_desktop_config.json
{
"mcpServers": {
"ably-io-platform": {
"command": "npx",
"args": [
"-y",
"@mcp/ably-io-platform"
],
"env": {
"PLATFORM_API_API_KEY": "your_platform_api_api_key"
}
}
}
}Environment 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