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

NameTypeDescription
ssh_key_identifier requiredintegerEither 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:

call_tool arguments
{
  "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:

Run in your terminal
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 ….

More from DigitalOcean API