agent-browser-mcp

Proxy agent-browser MCP stdio over HTTP/SSE using FastMCP.
git clone https://unitehenry.com/git/agent-browser-mcp.git
Log | Files | Refs | README

README.md (1285B)


      1 # Agent Browser MCP
      2 
      3 Proxy [`agent-browser mcp`](https://github.com/vercel-labs/agent-browser#setup) stdio over HTTP/SSE using [FastMCP](https://gofastmcp.com/servers/providers/proxy).
      4 
      5 ## Getting Started
      6 
      7 ```sh
      8 # Build the image
      9 podman build -t agent-browser-mcp .
     10 
     11 # Start the MCP server
     12 podman run -e CDP_PORT=9222 -p 8000:8000 agent-browser-mcp
     13 ```
     14 
     15 ## Environment Variables
     16 
     17 |Variable|Default|Description|
     18 |:-:|:-:|:-:|
     19 |`MCP_TRANSPORT`|`sse`|The [FastMCP transport](https://gofastmcp.com/v3/servers/server#running-the-server) to use. (STDIO, HTTP, SSE)|
     20 |`MCP_PATH`|`None`|[MCP custom path](https://fastmcp.wiki/en/deployment/http#custom-path)|
     21 |`CDP_PORT`||The Chrome DevTools Protocol for `agent-browser` to connect.|
     22 |`REDIRECT_URL`||Where to redirect the root path to.|
     23 
     24 ### GitHub Auth
     25 
     26 These are required to enable GitHub OAuth authentication (otherwise auth is disabled):
     27 
     28 |Variable|Description|
     29 |:-:|:-:|
     30 |`GITHUB_CLIENT_ID`|GitHub OAuth App client ID|
     31 |`GITHUB_CLIENT_SECRET`|GitHub OAuth App client secret|
     32 |`GITHUB_USERNAME`|GitHub username to grant access|
     33 |`BASE_URL`|Public base URL of the server (for OAuth redirects)|
     34 
     35 ## Formatter
     36 
     37 ```sh
     38 uvx ruff check --fix
     39 ```
     40 
     41 ## Debugging
     42 
     43 ```sh
     44 # Useful inspector tool for debugging
     45 npx @modelcontextprotocol/inspector
     46 ```