Home / Servers / Linode API / put_ssh_key

Update an SSH key

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

Update an SSH key Updates an SSH Key that you have permission to read_write. Only SSH key labels can be updated. > --- - __CLI__. linode-cli sshkeys update 42 \ --label "my laptop" Learn more... - __OAuth scopes__.… [PUT /v4/profile/sshkeys/{sshKeyId}]

Name on the gateway: linode_api__put_ssh_key · may change things.

Parameters

NameTypeDescription
sshKeyId requiredintegerThe ID of the SSHKey.
labelstringA label for the 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": "linode_api__put_ssh_key",
  "arguments": {
    "sshKeyId": 0
  }
}

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 update an ssh key tool with sshKeyId set to ….

More from Linode API