Anchor Browser MCP server
64 operations0 webhooks
Cloud browser automation API for running headless web sessions and scraping tasks.
Try Anchor Browser with your agent
Connect Anchor Browser, then paste this into Claude, ChatGPT or Cursor. For ideas from other apps, see the use cases.
Using Corsair, show me what you can do in Anchor Browser on my account, then run one read-only example and show me the result.
Anchor Browser tools and triggers
Tools are what your agent can do in Anchor Browser through Corsair's MCP server. Triggers are the Anchor Browser events a routine can start from.
Tasks
- Create Or Update Task DraftWrite
Tool to create or update the draft version of a task. Draft versions are used for development and testing before publishing. Use when you need to save task code changes without creating a published version.
tasks.createOrUpdateTaskDraft
- Create TaskWrite
Tool to create a new task or update an existing task with the same name. Tasks are reusable TypeScript code snippets that execute in browser sessions. Use when you need to define repeatable automation workflows that can be invoked across multiple sessions.
tasks.createTask
- Delete TaskDestructive
Tool to soft delete a task and all its versions. Use after confirming the task exists.
tasks.deleteTask
- Delete Task VersionDestructive
Tool to soft delete a specific version of a task. The version will no longer be accessible but data is preserved for recovery. Use when you need to remove a specific task version.
tasks.deleteTaskVersion
- Deploy TaskWrite
Tool to deploy a task by creating a new version with auto-incremented version number. Use when you need to publish task changes and make them available for execution.
tasks.deployTask
- Get Latest Task VersionRead-only
Tool to retrieve the latest version of a task including the full base64 encoded code content. Use when you need to access the most recent task implementation.
tasks.getLatestTaskVersion
- Get Task DraftRead-only
Tool to retrieve the draft version of a task, including the full Base64 encoded code content. Use when you need to access the current draft of a task that hasn't been published yet.
tasks.getTaskDraft
- Get Task Execution ResultRead-only
Tool to retrieve a single task execution result by its ID. Use when you need to check the status, output, or error details of a specific task execution.
tasks.getTaskExecutionResult
- Get Task MetadataRead-only
Tool to retrieve task metadata without downloading the full task code. Use when you need task information such as status, creation time, or language without the code content.
tasks.getTaskMetadata
- Get Task VersionRead-only
Tool to retrieve a specific version of a task, including the full code content. Use when you need to access the complete task code for a particular version (draft, latest, or specific version number).
tasks.getTaskVersion
- List Task ExecutionsRead-only
Tool to retrieve execution history for a specific task with filtering and pagination support. Use when you need to view past execution results, monitor task success rates, or debug failed executions.
tasks.listTaskExecutions
- List Task VersionsRead-only
Tool to retrieve all versions of a specific task, including draft and published versions. Use when you need to view the version history of a task or select a specific version for deployment or execution.
tasks.listTaskVersions
- List TasksRead-only
Tool to retrieve a paginated list of all tasks for the authenticated team. Use when you need to view available tasks with their latest version information and metadata.
tasks.listTasks
- Publish Task VersionWrite
Tool to publish a specific version of a task. Creates a new version if it doesn't exist, or updates an existing version's metadata. Use when you need to make a specific task version available for execution. Cannot publish to 'draft' versions.
tasks.publishTaskVersion
- Run TaskWrite
Tool to execute a task in a browser session with a specific or latest version. Use when you need to run an existing task with optional session reuse and configuration overrides.
tasks.runTask
- Run Task By NameWrite
Tool to execute a task by its name, always using the latest version. Use when you need to run a predefined browser automation task by referencing its name.
tasks.runTaskByName
- Update Task MetadataWrite
Updates task metadata (name and description). This does not affect the task code or versions. Use when you need to update task information without modifying the implementation.
tasks.updateTaskMetadata
Os Level
- Click MouseWrite
Tool to perform a mouse click at specified coordinates within a browser session. Use when you need to interact with page elements by clicking at specific x/y positions. The click is executed in the context of the specified browser session.
osLevel.clickMouse
- Copy Selected TextWrite
Tool to copy currently selected text in a browser session to the clipboard. Use when you need to extract text that the user or automation has selected in the browser.
osLevel.copySelectedText
- Double Click MouseWrite
Tool to perform a double click at specified coordinates in a browser session. Use when you need to trigger double-click events on UI elements or specific page locations.
osLevel.doubleClickMouse
- Drag And DropWrite
Tool to perform a drag and drop operation from start coordinates to end coordinates within a browser session. Use when you need to simulate dragging UI elements or files in automated workflows.
osLevel.dragAndDrop
- Get Clipboard ContentRead-only
Tool to retrieve the current content of the clipboard from a browser session. Use when you need to read clipboard data from an active session.
osLevel.getClipboardContent
- Move MouseWrite
Tool to move the mouse cursor to specified coordinates within a browser session. Use when you need to simulate mouse movement at the OS level.
osLevel.moveMouse
- Navigate To UrlWrite
Tool to navigate a browser session to a specified URL. Use when you need to direct an existing session to a new webpage.
osLevel.navigateToUrl
- Paste TextWrite
Tool to paste text at the current cursor position in a browser session. Use when you need to insert text into an active form field or text area.
osLevel.pasteText
- Perform Keyboard ShortcutWrite
Tool to perform a keyboard shortcut using specified keys in a browser session. Use when you need to simulate keyboard input like copy (Control+C), paste (Control+V), or any other key combination.
osLevel.performKeyboardShortcut
- Press Mouse ButtonWrite
Tool to perform a mouse button down action at specified coordinates within a browser session. Use when you need to simulate pressing and holding a mouse button at a specific screen position.
osLevel.pressMouseButton
- Release Mouse ButtonWrite
Tool to release a mouse button at specified coordinates within a browser session. Use when automating mouse interactions that require button release events, such as completing drag operations or simulating natural mouse behavior.
osLevel.releaseMouseButton
- Scroll SessionWrite
Tool to perform a scroll action at specified coordinates within a browser session. Use when you need to scroll to specific positions or simulate user scrolling behavior. Example: "Scroll down 100 pixels from position (100, 100) in session sess_123".
osLevel.scrollSession
- Set Clipboard ContentWrite
Tool to set the content of the clipboard in a browser session. Use when you need to programmatically copy text to the clipboard for automated workflows.
osLevel.setClipboardContent
- Type TextWrite
Tool to type specified text with optional delay between keystrokes. Use when you need to input text into a browser session, such as filling forms or entering search queries.
osLevel.typeText
Profiles
- Create ProfileWrite
Creates a new browser profile from an active session. A profile stores cookies, local storage, and cache data. The session must be running when this is called; profile data is persisted once the session terminates. Use profiles to maintain persistent browser state across multiple sessions.
profiles.createProfile
- Delete ProfileDestructive
Tool to delete a browser profile by ID. Use after confirming the profile exists.
profiles.deleteProfile
- Get ProfileRead-only
Tool to retrieve details of a specific profile by its name. Use when you need to fetch information about a particular browser profile.
profiles.getProfile
- List ProfilesRead-only
Tool to fetch all stored browser profiles. Use when you need an overview of all profiles available to the authenticated user (e.g., after creating or deleting profiles).
profiles.listProfiles
- Update ProfileWrite
Updates an existing browser profile with data from an active session. The profile stores cookies, local storage, and cache from the session. Requires an active (running) browser session - the session_id must reference a session that has not been terminated.
profiles.updateProfile
Sessions
- End All SessionsDestructive
Tool to terminate all active browser sessions at once. Use when you need to immediately close every browser session for the authenticated user, such as during cleanup operations or security concerns.
sessions.endAllSessions
- End Browser SessionDestructive
Tool to end a specific browser session by ID. Use after confirming the session ID you want to terminate.
sessions.endBrowserSession
- Get Browser SessionRead-only
Tool to retrieve detailed information about a specific browser session. Use when you need to check the status, configuration, or execution details of a browser session.
sessions.getBrowserSession
- List SessionsRead-only
Tool to list all browser sessions. Use when you need to retrieve both active and inactive sessions.
sessions.listSessions
- Start Browser SessionWrite
Tool to start a new browser session with optional customizations. Use when you need to programmatically allocate an isolated browser instance with recording, proxy, live view, and feature toggles.
sessions.startBrowserSession
Agent
- List Agent ResourcesRead-only
List all agent resources (files) uploaded to a browser session. Returns metadata for each file including name, size, file type, and last modified timestamp. Requires an active running session - use START_BROWSER_SESSION first. Files can be uploaded using UPLOAD_FILE action.
agent.listAgentResources
- Pause AgentWrite
Tool to pause the AI agent for a specific browser session. Use when you need to temporarily halt autonomous agent execution while keeping the session active.
agent.pauseAgent
- Resume AgentWrite
Tool to resume the AI agent for a specific browser session. Use when you need to restart agent execution after it has been paused or stopped.
agent.resumeAgent
- Upload FileWrite
Tool to upload a file to a browser session as an agent resource. Use after starting or referencing a session when you need to provide file inputs (single files or ZIP archives) for web forms or AI-driven tasks. Supports direct base64-encoded content or S3 key references from other actions.
agent.uploadFile
Extensions
- Delete ExtensionDestructive
Tool to delete a browser extension and remove it from storage. Use after confirming the extension exists.
extensions.deleteExtension
- List ExtensionsRead-only
Retrieves all browser extensions uploaded by the authenticated user. Use this to view available extensions that can be attached to browser sessions for automation tasks.
extensions.listExtensions
- Upload ExtensionWrite
Tool to upload a new browser extension as a ZIP file for use in browser sessions. Use when you need to add custom extensions that can be attached to automation sessions. The ZIP file must contain a valid extension manifest (manifest.json). Extensions are scoped to the authenticated user and can be listed or attached to sessions later.
extensions.uploadExtension
Integrations
- Create IntegrationWrite
Tool to create a new integration with a third-party service like 1Password. Use when you need to set up an integration for managing credentials or accessing external services. The integration will be available immediately after creation for use in browser sessions and profiles.
integrations.createIntegration
- Delete IntegrationDestructive
Tool to delete an existing integration and remove its stored credentials. Use after confirming the integration ID exists.
integrations.deleteIntegration
- List IntegrationsRead-only
Tool to retrieve all integrations for the authenticated team. Use when you need to view available integrations that can be used with browser sessions.
integrations.listIntegrations
Recordings
- List Session RecordingsRead-only
Tool to list all recordings for a specific browser session. Use after confirming the session ID.
recordings.listSessionRecordings
- Pause Session RecordingWrite
Tool to pause the video recording for a specific browser session. Use when you need to temporarily stop recording without ending the session.
recordings.pauseSessionRecording
- Resume Session RecordingWrite
Tool to resume video recording for a specific browser session. Use when recording was previously paused and needs to be restarted.
recordings.resumeSessionRecording
Tools
- Get Webpage ContentWrite
Tool to retrieve rendered content of a webpage in HTML or Markdown format. Use when you need to fetch a page’s full content, optionally within an existing browser session.
tools.getWebpageContent
- Perform Web TaskWrite
Tool to perform autonomous web tasks using AI agents. Use when you need to automate complex browser interactions like form filling, data extraction, or multi-step workflows.
tools.performWebTask
- Screenshot WebpageWrite
Tool to take a screenshot of a specified webpage within a session. Use when you need a visual PNG snapshot of a live page. Example: "Capture a 1280×720 screenshot of https://example.com".
tools.screenshotWebpage
Events
- Signal EventWrite
Tool to signal a specific event to be received by other processes or sessions. Use when you need real-time coordination across browser sessions after verifying session is active.
events.signalEvent
- Wait For EventWrite
Blocks execution until a specific named event is signaled or the timeout expires. Used for cross-session coordination, MFA handling, and workflow synchronization. The event must first be signaled using the Signal Event action. Returns the data payload that was sent with the signal. Events are user-scoped.
events.waitForEvent
Batch Sessions
- Get Batch Session StatusRead-only
Tool to retrieve detailed status information for a specific batch including progress and errors. Use when you need to check the status of a batch session creation request.
batchSessions.getBatchSessionStatus
Downloads
- List Session DownloadsRead-only
Tool to retrieve metadata of files downloaded during a browser session. Use after confirming the session ID.
downloads.listSessionDownloads
Pages
- Get Session PagesRead-only
Tool to retrieve all pages associated with a specific browser session. Use when you need to list all open tabs or pages in an active or completed session.
pages.getSessionPages
Screenshots
- Take ScreenshotRead-only
Tool to take a screenshot of the current browser session and return it as an image. Use when you need a visual snapshot of an active browser session.
screenshots.takeScreenshot
Uploads
- Upload Files To SessionWrite
Tool to upload files directly to a browser session for use with web forms and file inputs. Use when you need to provide file inputs to web forms during automated browser sessions.
uploads.uploadFilesToSession
Connect Anchor Browser to Claude, ChatGPT or Cursor
- 1
Connect Anchor Browser in Corsair
Add your Anchor Browser API key once in Corsair. Corsair stores the credential encrypted and makes the Anchor Browser API calls for your agent, so it never goes into a prompt or a config file. Connect Anchor Browser
If your link lets the agent add apps, you can skip this: it gives you a sign-in link the first time it needs Anchor Browser. On a ChatGPT personal plan, connect Anchor Browser here first.
- 2
Add Corsair's MCP server to your agent
Every client uses the same address:
https://mcp.corsair.dev/mcpOpen Plugins → Add → Add custom connector, name it Corsair, paste the address, select Continue, then Add.Install Corsair from ChatGPT's plugin directory, connect it and sign in. A custom MCP server with the address works too, but personal plans get its read tools only.Add to Cursor / Grok BuildOr add this to~/.cursor/mcp.json. It opens Corsair to sign in the first time it connects.{ "mcpServers": { "corsair": { "url": "https://mcp.corsair.dev/mcp" } } }Run this, then run/mcpin Claude Code to sign in.claude mcp add --transport http corsair https://mcp.corsair.dev/mcpCodex, Antigravity, Gemini CLI, VS Code, Zed and other clients with OAuth sign-in work the same way. Clients without it, such as GitHub Copilot's coding agent, use a link's own address and an API key. Setup for every client
- 3
Sign in and choose what needs your approval
Your client opens Corsair to sign in. Pick a link: the apps your agent can use and a mode that decides what it may do without asking. In the default Cautious mode, Anchor Browser's read and write operations run right away and its 7 destructive operations wait for your approval. Strict mode asks before every write and refuses destructive operations, and Read mode allows reads only.
FAQ
Install corsair and @corsair-dev/anchorbrowser, add the Anchor Browser plugin, and connect with an API key. Then call methods like corsair.anchorbrowser.api.agent.listAgentResources() from your app. Corsair syncs data per tenant.
Yes. Anchor Browser requires an API key from your Anchor Browser account or developer dashboard. Create credentials with access that matches what you automate, then paste them into Corsair or connect through managed auth in Hub.
Yes. One Corsair client can hit Anchor Browser, GitHub, Notion, Stripe, and the rest. Trigger Anchor Browser from a webhook, push updates to Slack, or chain actions across plugins. Same tenant context across integrations, plain TypeScript.
Teams use Corsair for cloud browser automation API for running headless web sessions and scraping tasks. Common builds include sync jobs, admin tooling, and agents that call Anchor Browser APIs from your backend. Local DB entities let you query synced Anchor Browser records without hitting the API on every read.
The SDK is open source. Self-host and you pay Corsair nothing for the integration layer. Hub bills for hosted auth and execution, not per Anchor Browser API call. Hub has a generous free tier. For hobby projects you can probably run the whole thing on free. Paid plans start to matter with more tenants or heavier traffic.
We maintain @corsair-dev/anchorbrowser in the open repo. When Anchor Browser ships API changes, upgrade the package. Your call sites stay typed. You should not need to rewrite the integration layer each time.
No. Corsair does not read your Anchor Browser data or hold individual access credentials. Credentials stay in your database. API calls run on your instance. We do not store Anchor Browser data on your behalf.
Yes. Add https://mcp.corsair.dev/mcp as a custom connector or MCP server in Claude, ChatGPT, Cursor, VS Code, Claude Code, Codex or any client that supports remote MCP servers with OAuth sign-in, then sign in to Corsair. On ChatGPT personal plans, custom servers currently get read tools only.
Yes. Put Anchor Browser on a link in Strict mode and every write waits for your approval, while destructive actions are refused. The default Cautious mode asks only before the 7 destructive Anchor Browser operations. You can change a link's mode at hub.corsair.dev/me.