# Val Town MCP server

> Enables AI agents to deploy serverless TypeScript, manage SQLite databases, schedule crons, and handle OAuth via the Val Town platform.

- Repository: https://github.com/val-town/plugins
- Page: https://hostedmcp.org/servers/val-town/plugins
- Transport: remote
- Stars: 10
- License: MIT
- Latest version: 1.0.0

## Install

### Claude Code

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

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "plugins": {
      "url": "https://api.val.town/v3/mcp"
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "plugins": {
      "type": "http",
      "url": "https://api.val.town/v3/mcp"
    }
  }
}
```

### Codex (`~/.codex/config.toml`)

```toml
[mcp_servers.plugins]
url = "https://api.val.town/v3/mcp"
```

### Gemini CLI (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "plugins": {
      "httpUrl": "https://api.val.town/v3/mcp"
    }
  }
}
```

## FAQ

### How do I install the Val Town plugin for Claude Code?

You can install it by running the command: claude plugin install valtown@claude-plugins-official.

### How does the authentication process work?

On the first use of an MCP tool, the agent will initiate an OAuth flow in your web browser.

### Can I use this with Cursor?

Yes, you can add it in Cursor by running /add-plugin valtown or by searching for the plugin URL in Cursor Settings.
