mazamaka/octo-mcp ? reverse-engineered prompt
Reverse engineered prompt
Build me a Python MCP server that lets an AI assistant control Octo Browser profiles and automate the browser through them.
I want to be able to start and stop Octo profiles, find profiles by name, list running profiles, and connect to a running profile through CDP so the assistant can navigate pages, click, type, scroll, take screenshots, and manage tabs. It should work with both the local Octo API and the cloud API, and handle the usual auth details through environment variables. Please make it work nicely for Claude Code or Cursor through standard MCP, and include a basic health check plus clean error handling when Octo Browser is not running or credentials are missing.
If you need to, look up the current MCP and Playwright docs online so the integration is solid. Please also add tests and make sure it runs from the command line cleanly.