Show HN: Built an MCP server using Cloudflare's Code Mode pattern
Hacker News (score: 32)
Found: September 28, 2025
ID: 1602
Description
Other
Show HN: Built an MCP server using Cloudflare's Code Mode pattern
Read this article by Cloudflare this morning https://blog.cloudflare.com/code-mode/ the main argument being that LLMs are much better at writing typescript code than tool calls because they've seen typescript code many more times.
HN Discussion: https://news.ycombinator.com/item?id=45399204 https://news.ycombinator.com/item?id=45386248
Deno provides a great sandbox environment for Typescript code execution because of its permissions system which made it easy to spin up code that only has access to fetch and network calls.
Stick an MCP proxy on top of that and you've got "CodeMode" (code intermixed with MCP tool calls) for more advanced workflow orchestration.
https://github.com/jx-codes/codemode-mcp
There's a lot of things that can be improved here. Like a virtual file system for the agent to actually build up its solution instead of being forced to one shot the solution but the bones are there.
More from Hacker
No other tools from this source yet.