Skip to main content
POST
Duplicate a host

Authorizations

Authorization
string
header
required

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

projectId
string
required

ID of the hosted project that contains the server.

hostId
string
required

Host ID, as returned by the project's host list.

Body

application/json

Optional name for the copy; defaults to a derived name.

name
string
Minimum string length: 1

Response

The duplicated host.

A host plus its resolved host config (model, capabilities, host context, MCP profile).

id
string
required
name
string
required
config
object
required

Host config v2 DTO. Opaque object; shape mirrors the inspector's host editor.