Skip to content

MCP

  1. Connect the Val Town MCP server (https://api.val.town/v3/mcp) to your LLM

  2. Authorize the Val Town MCP server by following the OAuth flow

E.g. for Claude Code:

claude mcp add --transport http val-town https://api.val.town/v3/mcp

In Claude, type /mcp to confirm that it’s connected, and authenticate if necessary.

  • Ask your LLM to list or examine your vals or read sqlite data, logs, etc.
  • Ask your LLM to edit vals and even agentically iterate
  • Broken code? Visit the Versions tab or History of your val to revert
  • Large changes? Use feature branches and merge when stable
  • Need help? Ask in the Val Town Discord server