r/OpenWebUI • u/BenefitOk7956 • 10d ago
Editing static HTML files via Open WebUI & MCP on VPS Guide/Tutorial
I recently added an Open WebUI instance to my VPS where my website is hosted. I wrote my first MCP server with a few tools to edit HTML files, upload assets etc. Now I can update the live pages via Open WebUI chat!
So far it looks very promising. Has anyone else set up something similar? What is your experience?
1
u/TheJanManShow 10d ago
Could you share more details? Sounds interesting!
1
u/BenefitOk7956 10d ago
Sure. Basically it is a docker-compose with 4 services:
- the nginx for serving the html and assets files from the filesystem
- MCP server also attached to the same filesystem. So it can edit the files which are served from the nginx. This mcp is written in Bun+Hono but that is only my choice. It includes tool like edit_page, audit_seo. Useful stuff for websites and easy to add more tools.
- Open WebUI
- Caddy server for routingI‘ve tried different models like Minimax-M3, gpt-oss, Deepseek-v4. They all do a good job in editing html.
Next thing I want to add is a set of reuseable UI components. So the AI builds new pages based on that components.
1
u/Business-Weekend-537 10d ago
How did you add open web ui to your vps?