Skip to main content
POST
Create a host (from a template or a full config)

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.

Body

application/json

Create a host from a built-in template OR a full host config. Exactly one of template or config is required.

name
string
required

Display name for the new host.

template
enum<string>
required

Built-in template id to seed the host config from.

Available options:
mcpjam,
claude,
claude-code,
chatgpt,
mistral,
cursor,
codex,
copilot,
vscode,
agentcore,
n8n,
perplexity
theme
enum<string>

Theme stamped into the seeded config (template only).

Available options:
light,
dark
config
object

Full host config v2, used verbatim (alternative to template).

Response

The host was created.

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.