Home / Servers / Linode API / post_add_ssh_key

Add an SSH key

An MCP tool from the Linode API server, hosted on mcp.hjlabs.in.

Add an SSH key Adds an SSH Key to your Account profile. > --- - __CLI__. linode-cli sshkeys create \ --label "My SSH Key" \ --ssh_key "ssh-rsa AAAA_valid_public_ssh_key_123456785== user@their-computer" Learn… [POST /v4/profile/sshkeys]

Name on the gateway: linode_api__post_add_ssh_key · may change things.

Parameters

NameTypeDescription
createdstring__Read-only__ The date this key was added.
idinteger__Read-only__ The unique identifier of an SSH Key object.
labelstringA label for the SSH Key.
ssh_keystringThe public SSH Key, which is used to authenticate to the root user of the…

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": "linode_api__post_add_ssh_key",
  "arguments": {}
}

Or connect the Linode API server directly, which lists 439 tools including this one:

Run in your terminal
claude mcp add --transport http hj-linode-api https://mcp.hjlabs.in/mcp/linode-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the add an ssh key tool with created set to ….

More from Linode API