spells-mcp
v0.2.2Model Context Protocol (MCP) server and prototyping harness for Instrument Wizard Spells
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
deploy_prototype
Deploy the current local prototype directory to Wizard Spells, upload files directly to cloud storage, and return the live URL. Supports creating a new spell (action='add') or updating an existing spell (action='update'). ⚠️ CRITICAL: NEVER invoke this tool autonomously or proactively. ONLY call when EXPLICITLY commanded by the user. ⚠️ SLUG REQUIREMENT: You MUST ask the user to provide their desired slug first, or confirm the slug in spell.config.json. NEVER invent, guess, or auto-generate slugs from titles. The tool will check if the slug is already taken and warn you. 🛑 RETRY LIM…
| Parameter | Type | Description |
|---|---|---|
action | string | Action to perform: 'add' publishes a new spell, 'update' updates/overwrites an existing spell (defaults to 'add') |
description | string | Summary of what this prototype demonstrates |
path | string | Local directory containing prototype files (defaults to '.') |
permissions | object | Access permissions (defaults to permissions in spell.config.json or { users: ['*@instrument.com', '*@google.com'] }) |
project_key | string | Project key from list_projects (defaults to project in spell.config.json). MUST be an active project listed on Spells. |
rewrite_asset_urls | boolean | Automatically rewrite root-relative asset paths (default: true) |
slug | string | Custom URL slug (defaults to slug in spell.config.json). Must be explicitly chosen by the user. |
title | string | Human-readable title (defaults to title in spell.config.json) |
update | boolean | Convenience flag: set to true to update an existing spell instead of creating a new one |
create_version
Create a new child version under an existing anchor spell (e.g., adding v2 or dark-mode) and deploy local files. ⚠️ CRITICAL: ONLY call this tool when the user EXPLICITLY asks to publish or create a version on the Spells platform. ⚠️ SLUG APPENDAGE REQUIREMENT: NEVER invent or auto-generate a slug appendage. You MUST ask the user to provide their desired slug_appendage (e.g. 'v2', 'dark-mode') before calling this tool. The tool will check if the version slug is already taken and warn you. 🛑 RETRY LIMIT: If deployment fails twice, STOP TRYING immediately. Report the errors to the use…
| Parameter | Type | Description |
|---|---|---|
anchor_slug * | string | The slug of the original anchor spell to create a version under |
slug_appendage * | string | Version appendage suffix (e.g. 'v2', 'dark-mode'). Must be explicitly chosen by the user. |
copy_files | boolean | Whether to inherit files from previous version before applying local files |
description | string | Optional description for this version |
path | string | Local directory containing the prototype files (defaults to '.') |
rewrite_asset_urls | boolean | Automatically rewrite root-relative asset paths (default: true) |
title | string | Optional title for this version (defaults to anchor title + appendage) |
list_projects
List active client projects in Wizard Spells (e.g. Nike, Google, Internal) to associate with prototypes. Prototypes MUST be assigned to one of these listed projects.
| Parameter | Type | Description |
|---|---|---|
active_only | boolean | Only return active projects (default: true) |
get_spell_status
Check the deployment and build status of a spell by slug.
| Parameter | Type | Description |
|---|---|---|
slug * | string | Slug of the spell to check |
scaffold_prototype
Scaffold a new prototype starter in the workspace with spell.config.json, .cursorrules, GEMINI.md, CLAUDE.md, docs/ (including docs/AI.md for the zero-key '__ai' Unified AI Gateway), and .agents/skills/ guidelines. Wizard Spells prototypes have built-in zero-key access to Gemini, Nano Banana / Imagen, Veo, Lyria, Live WebSockets, and Cloud TTS/STT via relative '__ai/...' endpoints using semantic model aliases ('spells-fast', 'spells-pro', 'spells-image', 'spells-video', 'spells-live', 'spells-music')—never ask the user for a GEMINI_API_KEY.
| Parameter | Type | Description |
|---|---|---|
client | string | Legacy synonym for project |
description | string | Summary of what this prototype demonstrates |
destination | string | Directory to scaffold into (defaults to '.') |
permissions | object | Access permissions (defaults to { users: ['*@instrument.com', '*@google.com'] }) |
project | string | Active project key from list_projects (e.g. 'nike', 'google', 'internal', 'legacy') |
slug | string | Custom URL slug (defaults to slugified title) |
template | string | Starter template (creative-canvas, threejs-3d, vite-tailwind, or fullstack-node) |
title | string | Human-readable title for the prototype |
validate_prototype
Validate the local prototype directory without deploying. Checks entry point, files, asset URLs, AI Gateway ('__ai') usage, harness v2.0.0 installation (auto-installing/upgrading GEMINI.md and docs/AI.md if needed), and verifies spell.config.json (title, slug, project, and permissions against active Spells projects).
| Parameter | Type | Description |
|---|---|---|
install_harness | boolean | Automatically install or repair missing 3-tier harness files (GEMINI.md, docs/AI.md, docs/, .agents/skills/) (default: true) |
path | string | Directory to validate (defaults to '.') |
permissions | object | Optional override for permissions |
project_key | string | Optional override for project key |
slug | string | Optional override for slug |
title | string | Optional override for title |