Val Town
Val Town is a social coding platform where JavaScript and TypeScript programs called "vals" run instantly as HTTP endpoints, scheduled cron jobs, or email handlers without any infrastructure setup. It targets developers who want to write and deploy small server-side scripts and APIs directly in the browser. Val Town exposes a versioned REST API (v1, v2, v3) at api.val.town covering vals management, blob storage, SQLite databases, email sending, telemetry, and OAuth connections to third-party services. A TypeScript SDK (@valtown/sdk) is autogenerated from the published OpenAPI spec, and a hosted MCP server enables LLM-native integrations.
APIs
Val Town REST API
The primary Val Town REST API providing programmatic management of vals, blob storage, SQLite databases, email sending, telemetry logs and traces, user accounts, organizations, ...
Val Town TypeScript SDK
Official TypeScript and JavaScript client library for the Val Town REST API, autogenerated from the OpenAPI spec via Stainless. Published as @valtown/sdk on npm and supports Nod...
Val Town MCP Server
Model Context Protocol server hosted by Val Town at api.val.town/v3/mcp enabling LLMs and AI agents to interact with Val Town resources and run vals programmatically via HTTP tr...