yaaif_desktop_tool_package_publish
Publish a local command/stdio MCP codebase to the YAAIF Package Registry: infer the launch contract, package the source or executable, and upload the platform artifact with add, update, or upsert modes.
Instructions
Add or update a Package Registry entry from a local command/stdio MCP codebase: infer launch contract, zip source or wrap dist exe, create/update the package, upload the platform artifact. Use mode=add (fail if exists), update (fail if missing), or upsert (default).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| enabled | No | ||
| version | No | ||
| platform | No | ||
| tool_key | No | ||
| entrypoint | No | ||
| package_id | No | Existing package UUID or tool_key when mode=update. | |
| source_dir | Yes | Absolute path to a command/stdio MCP codebase. | |
| description | No | ||
| interpreter | No | ||
| capabilities | No | ||
| command_args | No | ||
| display_name | No | ||
| env_template | No | ||
| artifact_path | No | Optional prebuilt archive or executable (zip/tar.gz/exe/js). | |
| skip_artifact | No | Update metadata only; do not zip/upload an archive. | |
| git_commit_sha | No | Optional git commit SHA for this package version. | |
| git_remote_url | No | Optional remote git URL for this package version. | |
| timeout_seconds | No |