commit 9fcb328ba148a3130043cb155c4933cdc9772da8
parent 4839101058e495ff3a981609782e0e7249a1391f
Author: Henry Unite <unitehenry@gmail.com>
Date: Fri, 24 Jul 2026 22:30:48 +0000
chore: format
Diffstat:
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
@@ -17,7 +17,7 @@ podman run -e CDP_PORT=9222 -p 8000:8000 agent-browser-mcp
|Variable|Default|Description|
|:-:|:-:|:-:|
|`MCP_TRANSPORT`|`sse`|The [FastMCP transport](https://gofastmcp.com/v3/servers/server#running-the-server) to use. (STDIO, HTTP, SSE)|
-|`CDP_PORT`|`9222`|The Chrome DevTools Protocol for `agent-browser` connect to.|
+|`CDP_PORT`||The Chrome DevTools Protocol for `agent-browser` connect to.|
## Formatter
diff --git a/main.py b/main.py
@@ -21,7 +21,9 @@ if __name__ == "__main__":
tool,
transform_args={
"extraArgs": ArgTransform(
- default=["--cdp", os.getenv("CDP_PORT")] if os.getenv("CDP_PORT") else []
+ default=["--cdp", os.getenv("CDP_PORT")]
+ if os.getenv("CDP_PORT")
+ else []
),
},
)