AgentBridge
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@AgentBridgeAsk ChatGPT to check the syntax of this Python file."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
AgentBridge
AgentBridge lets a local coding agent ask a user-authorized web AI through a browser extension. Version 0.1 connects Codex to the signed-in ChatGPT webpage running in Microsoft Edge.
Codex --MCP ask_chatgpt(prompt)--> AgentBridge --WebSocket--> Edge extension
<-- final answer ------------------------------------ ChatGPT webpageCurrent status
The v0.1 end-to-end path has been verified with a real ChatGPT webpage:
Codex → ask_chatgpt("1+1等于多少?") → ChatGPT → "2" → CodexCurrent boundaries:
One local Edge extension connection.
One dedicated signed-in ChatGPT tab.
One text-only request at a time.
User confirmation remains enabled for MCP calls.
ChatGPT DOM changes can require adapter updates.
Quick start on Windows
Create the project environment:
py -3.12 -m venv .venv
.\.venv\Scripts\python.exe -m pip install -r requirements.txt
npm installIf your network needs a local proxy, append its temporary proxy option to pip
and npm; do not commit proxy credentials or environment files.
Start the local bridge:
.\Start-AgentBridge.ps1Load the unpacked Edge extension from:
extensionThen open a signed-in https://chatgpt.com/ tab. See EDGE_MVP.md
for the detailed installation and test flow.
Use from Codex
The project includes a project-scoped MCP configuration at
.codex/config.toml. To use AgentBridge from any local Codex task, register the
same Streamable HTTP endpoint globally:
codex mcp add agentbridge --url http://127.0.0.1:8765/mcpStart a new Codex task after changing MCP configuration. Ask it to use the tool explicitly, for example:
请调用 ask_chatgpt 工具,独立审查这个方案。不要发送密钥、私有文件全文或个人信息。Repository layout
agentbridge_server/ MCP server and authenticated WebSocket bridge
extension/ Edge Manifest V3 extension and ChatGPT DOM adapter
.codex/ Project-scoped MCP configuration
scripts/ Smoke tests for MCP and bridge round trips
tests/ Python tests and browser-adapter fixturerelay_server/, local_connector/, and web/ are the earlier local-control
prototype retained during the transition. AgentBridge is the active path.
Safety model
Bind AgentBridge to
127.0.0.1in v0.1.Authenticate the extension with a locally generated token.
Accept extension WebSockets only from a
chrome-extension://origin.Treat all web-AI output as untrusted advisory text.
Never send API keys, passwords, tokens, private file contents, or personal data through
ask_chatgpt.Never let web-AI output directly authorize shell commands, file writes, or permission changes.
Tests
.\.venv\Scripts\python.exe -m pytest
.\.venv\Scripts\python.exe -m scripts.smoke_agentbridge_mcp
.\.venv\Scripts\python.exe -m scripts.smoke_agentbridge_roundtrip
node --check .\extension\background.js
node --check .\extension\chatgpt_adapter.js
node --check .\extension\content.jsRoadmap
Stabilize the ChatGPT adapter with diagnostics and streaming.
Add a second web-AI provider through the same adapter contract.
Add a second local-agent adapter.
Introduce bounded planning and review workflows across agents.
Publish a public release after security review, documentation, and license selection.
Security reporting
Do not report credentials, browser sessions, local logs, or security details in public issues. See SECURITY.md.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Browser MCP for logged-in tasks. Uses your Chrome — credentials stay local. Zero-token replay.
A paid remote MCP for AI agent browser DevTools MCP, built to return verdicts, receipts, usage logs,
A paid remote MCP for AI agent browser approval MCP, built to return verdicts, receipts, usage logs,
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/yangzhaoji-dot/AgentBridge'
If you have feedback or need assistance with the MCP directory API, please join our Discord server