• Townie
    AI
  • Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
mattrossman

mattrossman

mcp-starter

Public
Like
3
mcp-starter
Home
Code
2
README.md
H
main.ts
Branches
1
Pull requests
Remixes
3
History
Environment variables
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
README.md
Code
/
README.md
Search
6/14/2025
Viewing readonly version of main branch: v9
View latest version
README.md

mcp-starter

Remix this and open main.ts to edit the MCP server and find its HTTP trigger endpoint.

Since the adapter only works with streamable HTTP on Val Town, you'll probably need mcp-remote to connect to it from clients that don't yet support this newer transport.

{ "mcpServers": { "my-val": { "command": "npx", "args": [ "mcp-remote", "<YOUR-VAL-ENDPOINT>/mcp" ] } } }

What is the adapter for?

The MCP TypeScript SDK uses Node-specific APIs that don't play nicely with Deno or edge functions:

  • https://github.com/modelcontextprotocol/typescript-sdk/issues/260
  • https://github.com/modelcontextprotocol/typescript-sdk/pull/349
  • https://github.com/modelcontextprotocol/typescript-sdk/issues/385

Vercel's MCP adapter translates the standard web Request that Val Town gives us into something the SDK can understand, and reduces overall boilerplate.

FeaturesVersion controlCode intelligenceCLI
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Open Source Pledge
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.