Home / MCP tools / Clients / Use browser automation with ChatGPT and OpenAI Agents

Use browser automation with ChatGPT and OpenAI Agents

Drive a real headless browser session: open, navigate, read, click and fill. Connect ChatGPT and OpenAI Agents to the WingMan MCP gateway once and these tools are available in every conversation.

1. Connect ChatGPT and OpenAI Agents

With the OpenAI Agents SDK (Python), connect over Streamable HTTP as below. The same URL works as a remote MCP tool in the Responses API and as a custom connector in ChatGPT developer mode.

python
import asyncio
from agents import Agent, Runner
from agents.mcp import MCPServerStreamableHttp


async def main():
    async with MCPServerStreamableHttp(name="wingman", params={"url": "https://wingmanprotocol.com/mcp"}) as wingman:
        agent = Agent(name="Assistant", mcp_servers=[wingman])
        result = await Runner.run(agent, "Use the wingman tools for this task.")
        print(result.final_output)


asyncio.run(main())

# Responses API instead of the SDK:
# tools=[{"type": "mcp", "server_label": "wingman", "server_url": "https://wingmanprotocol.com/mcp", "require_approval": "never"}]

2. The tools you get

Names and descriptions come straight from the live tool registry.

These tools are in the default tool list, so they show up as soon as the server connects.

3. Ask for it

Give ChatGPT and OpenAI Agents a task that needs it, for example “use browse_open from wingman”. The tool call goes to https://wingmanprotocol.com/mcp and the result comes back into the conversation.

Research, the browser and other metered tools draw on Protocol Credits. Top up by card, and keep working from your iPhone with Dandelion, the WingMan agent desk app.

Buy creditsGet Dandelion on the App Store

Browser automation with other clients

Claude DesktopClaude CodeCursorChatGPT and OpenAI AgentsVS Code

More tool categories for ChatGPT and OpenAI Agents

Web researchAgent memoryA credential vaultFinance calculatorsPersonal finance calculatorsConstruction calculatorsDeveloper utilitiesMath calculatorsStartup metricsImage and voice generationMarket dataHiring a humanInvoice processingAn agent inboxLead capture