This is a reference design for a MCP server that hosts a web page that connects back to the server via sse and allows Claude to execute javascript on the page.
The architecture consists of two primary components: a web server handling browser connections via SSE and providing a REST API, and an MCP server managing the web server's lifecycle and providing MCP tools. The design employs a client-server pattern with SSE for real-time communication. This approach separates the concerns of web server functionality and MCP tool provision.
Python
0