Home / Servers / DigitalOcean API / databases_get_kafka_topic
Get Topic for a Kafka Cluster
An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.
Get Topic for a Kafka Cluster To retrieve a given topic by name from the set of a Kafka cluster's topics, send a GET request to /v2/databases/$DATABASE_ID/topics/$TOPIC_NAME. The result will be a JSON object with a topic key. [GET /v2/databases/{database_cluster_uuid}/topics/{topic_name}]
Name on the gateway: digitalocean_api__databases_get_kafka_topic · read-only.
Parameters
| Name | Type | Description |
|---|---|---|
database_cluster_uuid required | string | A unique identifier for a database cluster. |
topic_name required | string | The name used to identify the Kafka topic. |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "digitalocean_api__databases_get_kafka_topic",
"arguments": {
"database_cluster_uuid": "…",
"topic_name": "…"
}
}Or connect the DigitalOcean API server directly, which lists 874 tools including this one:
claude mcp add --transport http hj-digitalocean-api https://mcp.hjlabs.in/mcp/digitalocean-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the get topic for a kafka cluster tool with database_cluster_uuid set to ….