---
title: "Get a client"
method: GET
path: "/projects/{projectId}/clients/{client}"
tags: ["Clients"]
---

# Get a client

`GET /projects/{projectId}/clients/{client}`

One client's full settings, including its resolved config, its `configId` (the concurrency token every write takes), and `impact` — what a config edit would follow. The path segment accepts a client **name or ID**. A client that exists but belongs to a different project reads as `404 NOT_FOUND`.

## Path parameters

- `projectId` string, required
- `client` string, required

## Query parameters

- `includePrivateBacking` boolean

## Response `200`

The client settings.

- ClientDetail — 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
  - `configId` string — The concurrency token — see `Client.configId`.
  - `config` object, required — Client config v2 DTO. Opaque object; shape mirrors the inspector's client editor.
  - `ownerScope` object, nullable, required
  - `hasComputer` boolean
  - `createdAt` number — Unix epoch milliseconds.
  - `updatedAt` number — Unix epoch milliseconds.
  - `impact` ClientImpact — 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.
    - `liveEnvironmentCount` integer, required — Non-archived project environments selecting this client.
    - `scenarioAttachmentCount` integer, required — Scenario attachments re-materialized inside the edit transaction.
    - `activeLegacyJourneyCount` integer, required — Active journeys with no environments that pin this client.

## Other responses

- `401` — Missing, invalid, revoked, or orphaned key (`UNAUTHORIZED`) — or the **target MCP server** needs an OAuth grant (`OAUTH_REQUIRED`), which is a property of the server, not your key.
- `403` — Key is valid but not allowed to do this.
- `404` — Unknown project, server, or resource.
- `409` — The resource is not in a state that accepts this write — a stale `expectedRevision`, a duplicate name, or an environment that cannot currently be launched. The request was well-formed; re-read the resource and retry.
- `429` — Per-key rate limit exceeded (60 requests/minute sustained, bursts up to 10). Honor `Retry-After` and back off with jitter.
- `500` — Something failed on MCPJam's side.
- `502` — Could not connect to the target MCP server.

---

[API](https://skmtc.dev/mcpjam/apis/mcpjam-api.md) · [All operations](https://skmtc.dev/mcpjam/apis/mcpjam-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/mcpjam/mcpjam-api/revisions/c628a0e95b06/schema)
