Skip to content

MCP sHTTP server (+Cursor integration)

blog.toolkami.com
2 pointsSafeDusk1 comment
On HN

Comments

Hi HN, I've written a blog post on how to create a simple sHTTP MCP server and have Cursor connect to it.

The server is <50 lines of code and have a few interesting features: - You can effectively run this program like a binary with all dependencies through UV script - You can selectively decide which tool makes sense for your current application as they are mounted on different paths Mount("/filesystem/"), ...) - Your agent can self-edit its tool in realtime because uvicorn’s reload=True and reload_dirs=["."] settings hot-reload modules whenever there is a change

Hope you find it useful!

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.