MCP sHTTP server (+Cursor integration)

1 SafeDusk 1 7/13/2025, 4:30:20 AM blog.toolkami.com ↗

Comments (1)

SafeDusk · 5m ago
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!