NewDevelopers

The Playcode SDK, the Playcode CLI, and image generation

Your apps and your tools can now talk to Playcode directly - three releases in one day:

  • @playcode/sdk 0.3 (npm) - the official SDK for your app's backend. Zero dependencies, fully typed, works in any Node or edge runtime. Send email, call every management operation, and - new today - generate images: pc.media.image({ prompt }) returns a finished image hosted on Playcode, paid per image from your workspace credits. Video generation (pc.media.video()) rides the same way.
  • @playcode/cli (npm) - npm i -g @playcode/cli, then playcode login signs in through your browser. List projects, read and run things on a project's computer, publish, and reach every management operation as playcode <family> <operation> - new operations appear in the CLI the moment they exist, no update needed.
  • An MCP server for your coding agent. playcode mcp runs a local MCP server over your own sign-in, built for Claude Code, Cursor, and Claude Desktop: your agent discovers Playcode operations by searching, reads the exact argument shapes, and executes - with everything scoped to the permissions you granted at sign-in.

New projects created from today's template get the SDK preinstalled. This is the start of the platform surface - more capabilities land on the same three doors.