4 ms·
Show HN: Web2mcp – Auto-generate an MCP for any web app
- nsomani 1y agoHey friends, I was originally interested in a slightly adjacent space related to traversing a complex tree of actions in a web app: https://x.com/paulg/status/1897338753590653000?s=46 https://x.com/paulg/status/1897338753590653000?s=46 I open-sourced this repo to (1) identify all of the clickable components in a web app using `computer-use-preview`, (2) traverse the tree of actions using Browserbase/Stagehand, then (3) generate a reasonable MCP interface using GPT-5: https://github.com/neelsomani/web2mcp https://github.com/neelsomani/web2mcp Here's an example of it running on a demo app: https://drive.google.com/file/d/1dy5lllRKkc7_usiiwsdOEMQTbdq7XYHq/view?usp=drive_link https://drive.google.com/file/d/1dy5lllRKkc7_usiiwsdOEMQTbdq... Less trivial example where it generates a video using Hedra Character 3: https://drive.google.com/file/d/1JeFidakOB8NYyB7LfrgPum40PceSgPoZ/view?usp=drive_link https://drive.google.com/file/d/1JeFidakOB8NYyB7LfrgPum40Pce... You just need to set your login credentials in the .env file as specified in the README. Let me know if you have any questions - happy to share reasoning on the design!
- Ar__Aj 1y ago[dead]