Building an MCP server on Cloudflare Pages with 200 lines of TypeScript, no SDK
11/24/2026 — 11/24, 06:17·1 sources (all)·1 reports (all)
Key takeaways
- A tutorial shows how to build a remote MCP server on Cloudflare Pages Functions or Workers with about 200 lines of TypeScript and no SDK. Us…
Background & analysis
On November 24, 2026, DEV Community's AI section published a post on building a remote MCP server on Cloudflare Pages Functions or Workers with roughly 200 lines of TypeScript and no SDK. The author uses the Claude API pricing service he runs at https://agentwright.app/mcp as the example: it supplies Claude, Cursor or any other MCP client with current Claude API prices and cost estimates.
The post's central argument is that an MCP server which only answers questions — looking something up, computing something, returning text — does not need a framework, a session store or a long-lived process. A single HTTP handler that speaks JSON-RPC is enough, and it can run for free on Cloudflare Pages Functions or Workers. According to the author, that one handler is sufficient to connect with clients such as Claude Code, Claude Desktop and Cursor, and the full source is public in functions/mcp.ts.
As of this report, the approach is presented through the author's own account and the published source code; the material mentions no later updates or third-party verification.
AI-generated from 1 reports · updated 3 hours ago
- Heat index
- 92
- All sources
- 1
- All reports
- 1
- First seen
- 3 hours ago
Reports on this story headlines open the original
The tutorial shows how to run a remote MCP server on Cloudflare Pages Functions or Workers with a single JSON-RPC HTTP handler and no SDK, session store, or long-lived process. Using the author's Claude API pricing server as an example, it connects to MCP clients like Claude Code, Claude Desktop, and Cursor, and the full source is public.
DEV Community · AIAI score 60
Other stories people are talking about
- Heat index 2532Nvidia Restores Jensen Huang as CEO, Drawing Bipartisan Criticism33 sources
- Heat index 909RisingZhipu AI releases GLM-5.4 model and launches Coding Plan13 sources
- Heat index 742NewAnthropic launches Claude Ship for automated PR review and approval8 sources
- Heat index 593Amazon to acquire most of Decart in reported $7.5B deal8 sources
- Heat index 559NewSurgeNvidia shares surge 31% as Jensen Huang returns as CEO7 sources
How is heat calculated?About the methodHide
Heat counts how many independent sources covered a story in the last 48 hours: one source counts once no matter how many posts it published, decaying with a 24-hour half-life. What ranks first is what many people are talking about.
This page aggregates public feeds. Headlines and summaries are machine-organized and remain the property of the original authors; verify important facts at the source. If you believe a headline or summary infringes your rights, email the contact address in the footer with the page URL and basis of your claim, and we will remove or replace it after review.
- Surge
- Discussion rising fast
- New
- First report within 6 hours
- Rising
- Still gathering discussion

