Developers

Use Playcode from your code, your terminal and your coding agent. The app, the agent, the SDK, the CLI and MCP all call the same operations.

Quick start

#
  1. Install the CLI. It needs Node.js 22 or newer.

    npm i -g @playcode/cli
    
  2. Sign in. The CLI shows a page address and a code: open the page, type the code and allow the CLI in one workspace.

    playcode login
    
  3. List your projects. NAME is the name each project answers to.

    playcode projects
    
  4. Publish a Cloud app, and wait until it is live.

    playcode publish my-shop --wait
    

Every command and flag: The Playcode CLI.

Connect your coding agent

#

playcode mcp runs an MCP server on your computer over your CLI sign-in, for Claude Code, Cursor and Claude Desktop. Register it as a command:

{
  "mcpServers": {
    "playcode": {
      "command": "playcode",
      "args": ["mcp"]
    }
  }
}

A client that connects to MCP servers by address uses Playcode's hosted server, https://playcode.io/api/mcp, and signs you in through Playcode.

Or give your agent this sentence:

Connect Playcode for me. Fetch https://playcode.io/docs/developers/agents.md and follow it.

Setup and limits: Connect Claude Code, Cursor or another MCP client.

Start here

Tools

Reference