Skip to main content
POST
Create a client (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 client from a built-in template OR a full config. Exactly one of template or config is required.

name
string
required

Display name for the new client.

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 client config v2, used verbatim (alternative to template). Must pin modelId.

Response

The client was created.

A client plus its resolved config (model, capabilities, host context, MCP profile) and the read-backs an editor needs.

id
string
required
name
string
required
config
object
required

Client config v2 DTO. Opaque object; shape mirrors the inspector's client editor.

ownerScope
object | null
required
configId
string

The concurrency token — see Client.configId.

hasComputer
boolean
createdAt
number

Unix epoch milliseconds.

updatedAt
number

Unix epoch milliseconds.

impact
object

What a config edit to this client would follow. These are the DURABLE consumers that re-resolve the client's current config; past runs, per-turn traces and pinned eval-suite snapshots hold a config id and are unaffected. Direct playground and client-chat use follows the edit too and has no row to count.