Work with Val Town in Claude Code using our MCP server or CLI. You can ask Claude to:
- List or examine your vals and read your sqlite data, logs, and almost any of your Val Town data
- Edit your vals and even agentically iterate, viewing the output and logs until it’s done
- Install Claude Code
- Install the Val Town MCP server:
claude mcp add --transport http val-town https://api.val.town/v3/mcp- Start
claude - Run
/mcpto view available MCP servers - Select
val-town - Authenticate to Val Town by following the OAuth flow
- Install Claude Code
- Install the Val Town CLI
deno install -grAf jsr:@valtown/vt- Copy-paste our system prompt into
CLAUDE.mdat the root of your local directory for vals vt create,vt remix, orvt clonea val*cdinto your val’s directory- (Optional)
vt checkout -b <branch>to isolate changes vt watchto sync with Val Townclaudeto start your Claude Coding session
* Running vt create|remix|clone will ask you to add editor files including AGENTS.md, which Claude doesn’t support as of this writing (use CLAUDE.md instead).
As an example, watch this 4-minute video creating a customer support val.