Skip to main content
POST
Trust server host key
Required permissions: server.credentials. Personal keys are capped by their owner’s current team role. See request conventions and automation workflows. MCP clients use the task-oriented tool catalogue.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

serverId
string<uuid>
required
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$

Body

application/json
algorithm
string
required
Pattern: ^[A-Za-z0-9][A-Za-z0-9@._+-]{0,79}$
fingerprint
string
required
Maximum string length: 255
Pattern: ^SHA256:.*
publicKey
string
required
Required string length: 32 - 16384
replaceExisting
boolean
default:false

Response

JSON object containing hostKey.

hostKey
object
required
localization
object
required
Last modified on September 5, 2026