AIMarket MCP Packager
v2.2.0Stdio MCP packager: AIMarket hub plugins into self-hosted MCP server products.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
package_capability
Build a complete self-hosted MCP server package for an AIMarket capability. Use this first. It assembles everything needed to ship the capability as a standalone MCP server: the Docker image name, the MCP manifest (server + tool definition), subscription/pricing tiers, and a connection string. Returns: A JSON object (string) with keys: - `docker_image`: the image name to build/run. - `mcp_manifest`: the full MCP manifest (server metadata + tools). - `subscription_tiers`: pricing tiers derived for the capability. - `connection_st…
| Parameter | Type | Description |
|---|---|---|
capability_id * | string | 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. |
name * | string | Human-readable display name for the packaged MCP server, shown to end users in MCP clients such as Claude Desktop (e.g. 'Lyra Translator'). |
product_id * | string | Owning product ID on the AIMarket hub, e.g. 'prod-translate'. Used to namespace the Docker image and the MCP manifest. |
description | string | 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 gener… |
input_schema | 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. | |
registry | string | 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'). |
generate_dockerfile
Generate a ready-to-build Dockerfile for the packaged MCP server. Takes the same capability inputs as `package_capability` and returns the Dockerfile text that builds the self-hosted MCP server image for it. Returns: The Dockerfile contents as plain text — write it to `Dockerfile` and run `docker build` to produce the image named in `package_capability`'s `docker_image` field. Example: generate_dockerfile( capability_id="translate.multi@v2", product_id="prod-translate", name="Lyra Translator", )…
| Parameter | Type | Description |
|---|---|---|
capability_id * | string | 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. |
name * | string | Human-readable display name for the packaged MCP server, shown to end users in MCP clients such as Claude Desktop (e.g. 'Lyra Translator'). |
product_id * | string | Owning product ID on the AIMarket hub, e.g. 'prod-translate'. Used to namespace the Docker image and the MCP manifest. |
description | string | 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 gener… |
input_schema | 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. | |
registry | string | 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'). |
generate_claude_desktop_config
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-tran…
| Parameter | Type | Description |
|---|---|---|
capability_id * | string | 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. |
name * | string | Human-readable display name for the packaged MCP server, shown to end users in MCP clients such as Claude Desktop (e.g. 'Lyra Translator'). |
product_id * | string | Owning product ID on the AIMarket hub, e.g. 'prod-translate'. Used to namespace the Docker image and the MCP manifest. |
description | string | 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 gener… |
input_schema | 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. | |
registry | string | 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'). |