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

commit 79ab148f9eaa7dc65346c9e4ebc07395c91faa51
parent 28732595b61287e63d8bbcf7b2fa65c53127dd7a
Author: Henry Unite <unitehenry@gmail.com>
Date:   Fri, 24 Jul 2026 21:55:16 +0000

feat: cdp env var

Diffstat:
Mmain.py | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/main.py b/main.py @@ -1,4 +1,4 @@ -import json +import os from fastmcp import FastMCP from fastmcp.tools import Tool, tool @@ -25,7 +25,7 @@ if __name__ == "__main__": Tool.from_tool( tool, transform_args={ - "extraArgs": ArgTransform(default=["--cdp", "9222"]), + "extraArgs": ArgTransform(default=["--cdp", os.getenv("CDP_PORT", "9222")]), }, ) )