Hosts
Replace a host's server attachments
Sets the host’s required and optional server ids without round-tripping its whole config, and responds with the updated host detail. Preserves every other identity field (computer, harness, built-in tools) and trims per-server connection overrides to the kept set. Requires project admin.
POST
Replace a host's server attachments
Authorizations
MCPJam API key (sk_…). Create one at Settings → API keys. Guest sessions cannot use the API, and API keys cannot manage other API keys.
Path Parameters
ID of the hosted project that contains the server.
Host ID, as returned by the project's host list.
Body
application/json
Replace a host's server attachments

