Skip to main content
GET

Overview

Returns the exact .mcp.json content to commit at a repository root so every Claude Code seat in that repo connects to Danube under one organization. The API key is the placeholder ${DANUBE_API_KEY}, which Claude Code expands from each engineer’s environment at connect time, so no secret lands in the repo. When an organization resolves for the caller, a danube-org-id header pins every seat to it. The organization is resolved the same way as Get Org Context: explicit selector, then the key’s bound organization, then the personal organization. If resolution fails for a reason other than 401 or 404, the template is still returned with org set to null and no danube-org-id header. The step-by-step rollout is in the Claude Code guide. Auth: Accepts either JWT or API key (danube-api-key header). The Python and TypeScript SDKs do not wrap this endpoint yet. Call it directly.

Query Parameters

string
Organization UUID to pin. Requires membership.

Headers

string
Same as org_id. Ignored when the query parameter is present.

Response

string
Always .mcp.json
string
Always project
object
The file content to commit
object
The pinned organization, or null
string
Human-readable commit instructions, including the equivalent claude mcp add command

Errors

Example