Hi fellow Cursorians,
I have implemented a simple sHTTP MCP server for Cursor in <50 lines of code, a few things of interest:
- 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
andreload_dirs=["."]
settings hot-reload modules whenever there is a change
You can find more details and the full implementation at: