Upgrading
Copy page
Plan Desk ships as one npm package: @plandesk/cli contains the CLI, the server (plandesk serve), the MCP tools, and the web UI. Your data lives in ~/.plandesk and is migrated automatically — upgrading never touches it.
1. Update the package
Section titled “1. Update the package”npm i -g @plandesk/cli@latestplandesk version # confirm (also: plandesk --version)2. Restart the server
Section titled “2. Restart the server”Stop the running plandesk serve and start it again. The new server runs database migrations on startup and serves the updated web UI and MCP tools.
plandesk serve3. Re-connect each repo
Section titled “3. Re-connect each repo”plandesk connect is the upgrade command for a repo: it is idempotent, reads the existing binding from .plandesk/config.json, reuses your token, and regenerates every artifact to the current version — .mcp.json, .plandesk/skill.md, the skill symlinks, the agent command files, and the CLAUDE.md/AGENTS.md sentinel block.
cd /path/to/your/repoplandesk connectThen start a new agent session so MCP tools and the skill reload.
4. Verify
Section titled “4. Verify”plandesk doctor --repo .Checks the workspace DB, the binding, the token, and that the MCP server lists its tools.
Version notes
Section titled “Version notes”- Project notes — a new per-project Notes tab holds free-form, rich-text working notes, separate from documents (notes are flat, not linked to tasks, and not part of the client share). The
notestable is added by migration0005and applies automatically when the upgraded server starts — your data is untouched and no manual step is needed. - Note MCP tools — agents gain
create_note,update_note,get_note, andlist_notes(there is nodelete_note— agents don’t delete, by design). The MCP server now lists 27 tools. Re-runplandesk connectand start a new agent session so the tools and the skill’s new Notes section reload.
- Zero-setup token —
.mcp.jsonno longer uses a staticAuthorization: Bearer ${PLANDESK_MCP_TOKEN}header (which warned when the env var was unset). The regenerated entry reads.plandesk/tokenautomatically via aheadersHelper; you can stop exportingPLANDESK_MCP_TOKEN(it still works as an override). Re-runningconnectis required to migrate the old entry. - Skill discovery —
connectnow also installs the skill at.claude/skills/plandesk/and.agents/skills/plandesk/(symlinks to.plandesk/skill.md) and a/plandeskcommand at.claude/commands/plandesk.md. Commit these alongside the rest. - Markdown documents — agents can write document bodies as Markdown; the MCP server converts them to rich text. Documents written as Markdown before 0.5.0 render correctly in the updated web UI without changes.
- Skill conventions — the regenerated
.plandesk/skill.mdadds the “Keeping the board true” rules (atomic status updates, board↔reality reconciliation). If you customized your skill file, re-apply your edits afterconnectrewrites it.
Pinned or npx installs
Section titled “Pinned or npx installs”If you run Plan Desk without a global install, npx @plandesk/cli@latest … always uses the newest version — only steps 2–4 apply.