Home / Servers / DigitalOcean API / ssh_keys_get
Retrieve an Existing SSH Key
An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.
Retrieve an Existing SSH Key To get information about a key, send a GET request to /v2/account/keys/$KEY_ID or /v2/account/keys/$KEY_FINGERPRINT. The response will be a JSON object with the key ssh_key and value an ssh_key… [GET /v2/account/keys/{ssh_key_identifier}]
Name on the gateway: digitalocean_api__ssh_keys_get · read-only.
Parameters
| Name | Type | Description |
|---|---|---|
ssh_key_identifier required | integer | Either the ID or the fingerprint of an existing SSH key. |
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__ssh_keys_get",
"arguments": {
"ssh_key_identifier": 0
}
}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 retrieve an existing ssh key tool with ssh_key_identifier set to ….