generate_claude_desktop_config
Creates the claude_desktop_config.json snippet that registers a Docker-run MCP server with Claude Desktop, from capability inputs.
Instructions
Generate a claude_desktop_config.json snippet for the packaged MCP server.
Takes the same capability inputs as package_capability and returns the
mcpServers entry that registers the docker-run MCP server with Claude
Desktop (or any MCP host that reads this config format).
Returns:
A JSON object (string) containing an mcpServers block — merge it into
the user's existing claude_desktop_config.json and restart the host.
Example: generate_claude_desktop_config( capability_id="translate.multi@v2", product_id="prod-translate", name="Lyra Translator", )
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Human-readable display name for the packaged MCP server, shown to end users in MCP clients such as Claude Desktop (e.g. 'Lyra Translator'). | |
| registry | No | Container registry namespace for the built image. Defaults to 'aifactory'. Set your own org/namespace to publish under a different account (e.g. 'ghcr.io/acme'). | aifactory |
| product_id | Yes | Owning product ID on the AIMarket hub, e.g. 'prod-translate'. Used to namespace the Docker image and the MCP manifest. | |
| description | No | One- or two-sentence summary of what the capability does. Surfaced in the MCP manifest and the Claude Desktop config. Optional but strongly recommended — it becomes the tool description in the generated server. | |
| input_schema | No | JSON Schema object describing the capability's input. For example, an object with a required string property 'text'. Omit or pass null for a schema-less capability. | |
| capability_id | Yes | Fully-qualified capability identifier to package, e.g. 'translate.multi@v2'. This is the single capability the generated MCP server will expose as a tool. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |