# Anchor Browser MCP

```json
{
  "name": "Anchor Browser MCP",
  "slug": "anchor_browser_mcp",
  "url": "https://composio.dev/toolkits/anchor_browser_mcp",
  "markdown_url": "https://composio.dev/toolkits/anchor_browser_mcp.md",
  "logo_url": "https://logos.composio.dev/api/anchor_browser",
  "categories": [
    "developer tools & devops"
  ],
  "is_composio_managed": false,
  "updated_at": "2026-11-26T05:38:13.066Z"
}
```

![Anchor Browser MCP logo](https://logos.composio.dev/api/anchor_browser)

## Description

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Anchor Browser MCP or direct API to run cloud browser sessions, automate web tasks, manage browser identities, and call Anchor APIs through natural language.

## Summary

Anchor Browser MCP is a hosted browser automation service for running cloud browser sessions and web tasks.
It provides secure, reusable browser identities and managed authentication for reliable agent workflows.

## Categories

- developer tools & devops

## Toolkit Details

- Tools: 29

## Images

- Logo: https://logos.composio.dev/api/anchor_browser

## Authentication

- **Dcr Oauth**
  - Type: `custom`
  - Description: Dcr Oauth authentication for Anchor Browser MCP.
  - Setup:
    - Configure Dcr Oauth credentials for Anchor Browser MCP.
    - Use the credentials when creating an auth config in Composio.

## Suggested Prompts

- Open a webpage and extract its title
- Run an Anchor task on a website
- Reuse a saved browser identity securely

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `ANCHOR_BROWSER_MCP_CALL_ENDPOINT_READ` | Call endpoint read | Call any read-only Anchor REST endpoint that is not listed as a tool. Find the id with list_endpoints and its parameters with get_endpoint. Returns the REST JSON. API reference: https://docs.anchorbrowser.io/api-reference |
| `ANCHOR_BROWSER_MCP_CALL_ENDPOINT_WRITE` | Call endpoint write | Call any Anchor REST endpoint that creates, changes, or deletes something and is not listed as a tool. Find the id with list_endpoints and the body schema with get_endpoint. Returns the REST JSON. API reference: https://docs.anchorbrowser.io/api-reference |
| `ANCHOR_BROWSER_MCP_CREATE_IDENTITY` | Create identity | Create an identity: a managed login for one site (source URL) that sessions and tasks reuse. For a person’s own account create it without credentials, then call create_reauth_link with the new id and send the user the link to sign in. For an account the user controls and has explicitly provided (service or test account) pass credentials: Anchor stores them in its vault and signs in in the background, handling MFA; poll get_identity until status leaves pending (active or validated = ready, failed or agent_failed = needs attention). No tool ever returns credentials. Then pass identities: [{ id }] to create_session. list_endpoints 'auth-flows' finds which credential types a site needs when it has more than one way to sign in. Example: {"source":"https://app.example.com","name":"Example (Jane’s account)"} |
| `ANCHOR_BROWSER_MCP_CREATE_IDENTITY_LINK` | Create identity link | Generate a shareable link a person opens to sign in to an application with their own account; Anchor creates a NEW identity for them when they finish. Use it to onboard end users to an application you already have (applicationId from create_identity, list_applications, or the dashboard) without handling their credentials. For an identity that already exists use create_reauth_link. Example: {"user_name":"Jane","applicationId":"app_123"} |
| `ANCHOR_BROWSER_MCP_CREATE_REAUTH_LINK` | Create reauth link | Generate a shareable link a human opens to sign this identity in through Anchor: the first login for an identity created without credentials, or a re-login after the site logged it out or auth expired. Sessions created with the identity afterwards start signed in. Optional body.authMethod: profile (default), dynauth, or credentials. Example: {"authMethod":"dynauth","identityId":"id_123"} |
| `ANCHOR_BROWSER_MCP_CREATE_SESSION` | Create session | Create an isolated cloud browser. Returns cdp_url — connect Playwright/Puppeteer directly for the fastest path — and live_view_url to share with the user. Pass the id as sessionId to perform_web_task or an action so they run in this browser; if you have a driver, connect to cdp_url directly. Options: proxy by country, extra_stealth (optional type "156" for latest Chrome stealth build), captcha_solver, identities (stealth and captcha need proxy on). session.scoped_access.active returns URLs carrying tokens, never the session id, plus a watch-only live_view_read_only_url to hand to end users. Full schema: get_endpoint post-v1-sessions. Example: {"session":{"proxy":{"active":true,"country_code":"us"},"recording":{"active":true}},"browser":{"extra_stealth":{"active":true},"captcha_solver":{"active":true},"headless":{"active":false}}} |
| `ANCHOR_BROWSER_MCP_END_SESSION` | End session | End (delete) a browser session by id. Stops the browser and finalizes its recording. Example: {"session_id":"sess_123"} |
| `ANCHOR_BROWSER_MCP_EXECUTE_ACTION_INDEX` | Execute action index | Run an active action by name using its deterministic code. Pass input matching its inputSchema. sessionId is required when authRequired is true; otherwise omit it to create a browser at the action domain. Returns success, output, and sessionId. Newly created sessions remain available with a two-minute idle timeout. |
| `ANCHOR_BROWSER_MCP_FINALIZE_DYNAMIC_AUTH` | Finalize dynamic auth | After a step of type authenticated: persist the signed-in browser state as an identity so later sessions with identities: [{ id }] start logged in. Returns identityId, profileName, and automatable. The browser state is saved when the session ends; calling end_session immediately after is safe. Example: {"identity_name":"Example (user account)","session_id":"sess_123"} |
| `ANCHOR_BROWSER_MCP_GET_ACTION_INDEX` | Get action index | Get one action index by name, including deterministic code and parameter schemas. Use the name returned by search_action_index. |
| `ANCHOR_BROWSER_MCP_GET_DYNAMIC_AUTH_STATE` | Get dynamic auth state | Re-read the current dynamic-auth step. Poll after a retryable detection_failed, a timeout, or a 409. Example: {"session_id":"sess_123"} |
| `ANCHOR_BROWSER_MCP_GET_ENDPOINT` | Get endpoint | Get one endpoint entry by id (from list_endpoints) with its request/response JSON schema. Use instead of guessing fields. Example: {"id":"post-v1-sessions"} |
| `ANCHOR_BROWSER_MCP_GET_EXECUTION` | Get execution | Get a task execution: status, output, error, and timing. Pass include=artifacts,logs to bundle artifacts and recent logs, include=agent_hints for honesty notes when AI Fallback was used, and tail to cap log lines. Pass wait_seconds>0 to block server-side until the run reaches a terminal status (use instead of polling). Example: {"include":"artifacts,logs,agent_hints","wait_seconds":120,"executionId":"exec_123"} |
| `ANCHOR_BROWSER_MCP_GET_IDENTITY` | Get identity | Get one identity by id: status (pending = Anchor is still signing in, active or validated = ready to use, failed or agent_failed = needs attention), linked application, and browser profile. Example: {"identityId":"id_123"} |
| `ANCHOR_BROWSER_MCP_GET_SESSION` | Get session | Get one browser session by id: status, duration, credits used, and live/end state. Pass include=downloads,pages,action_analysis to bundle its downloads, visited pages, and a browser-action/network recording analysis in one call. Example: {"include":"downloads,pages","session_id":"sess_123"} |
| `ANCHOR_BROWSER_MCP_GET_TASK` | Get task | Get task metadata and optionally its workflow code. Pass include=code to bundle the code in one call (source precedence: from_execution_id snapshot > draft > latest published; override with code_source). Example: {"include":"code","taskId":"t1"} |
| `ANCHOR_BROWSER_MCP_GET_WEB_TASK_STATUS` | Get web task status | Status and result of a perform_web_task run. status: RUNNING (keep polling), COMPLETED, or FAILED. When RUNNING, sessionId is returned — call get_session(sessionId) to get live_view_url. On COMPLETED, result.status is success, partial (ran out of steps), or error; result.result is the output. Example: {"workflowId":"wf_123"} |
| `ANCHOR_BROWSER_MCP_LIST_APPLICATION_IDENTITIES` | List application identities | List managed logins (identities) for one application. applicationId comes from list_applications. Each row has id, name, status (active, pending, validated, failed, agent_failed), and auth_flow. Pass an id as identities: [{ id }] to create_session. Example: {"applicationId":"app_123"} |
| `ANCHOR_BROWSER_MCP_LIST_APPLICATIONS` | List applications | List authenticated applications (login connectors) in the workspace, optionally filtered by name via search. Example: {"search":"gmail"} |
| `ANCHOR_BROWSER_MCP_LIST_ENDPOINTS` | List endpoints | List Anchor REST API endpoints (id, method, path, summary, tag, and agent meta when one exists). Pass q to narrow by keyword. Then get_endpoint with the id for the full schema, and call it with call_endpoint_read or call_endpoint_write (id or tool name) unless the tool is already in your tool list. Example: {"q":"identities"} Always pass q over MCP: the unfiltered catalog is about 275 entries and the full agent meta for each. |
| `ANCHOR_BROWSER_MCP_LIST_TASKS` | List tasks | List the team's tasks (workflows), newest first. Optional page/limit/search filters. Example: {"search":"checkout"} |
| `ANCHOR_BROWSER_MCP_PERFORM_WEB_TASK` | Perform web task | Run a one-shot AI web task from a natural-language prompt in an Anchor cloud browser. A fresh session is not logged in anywhere; for tasks needing the user's account, set up an identity first (see instructions). Pass sessionId to use an existing session with proxy, stealth, or a signed-in identity. url starts from a specific page; output_schema returns structured JSON. Full options: get_endpoint post-v1-tools-perform-web-task. Example: {"sessionId":"sess_123","prompt":"Find the top Show HN post","url":"https://news.ycombinator.com"} Over MCP this returns { status: 'running', workflow_id } at once; poll get_web_task_status with workflowId = workflow_id until status is COMPLETED or FAILED. |
| `ANCHOR_BROWSER_MCP_READ_DOC` | Read doc | Read one product documentation page by its exact path. Example: {"docPath":"quickstart/use-via-api"} |
| `ANCHOR_BROWSER_MCP_REAUTHENTICATE_IDENTITY` | Reauthenticate identity | Sign an identity in again with its stored credentials or profile, e.g. after the site logged it out. Synchronous by default and returns auth_status authenticated, or an error when the login failed; with sync: false it returns pending and get_identity shows progress. Use create_reauth_link instead when a human must complete the login. Example: {"sync":true,"identityId":"id_123"} Over MCP this returns pending at once; poll get_identity until active, validated, or failed. |
| `ANCHOR_BROWSER_MCP_RESOLVE_DYNAMIC_AUTH` | Resolve dynamic auth | Answer a dynamic-auth step and advance to the next. After decision: { choice: options[].step_id }. After form: { option_index, values } with the fields listed (username, password, MFA code, or gmail_tokens). Never call after detection_failed. authenticated response → call finalize_dynamic_auth. Example: {"option_index":0,"values":{"username":"user@example.com","password":""},"session_id":"sess_123"} |
| `ANCHOR_BROWSER_MCP_RUN_TASK` | Run task | Enqueue a real production run of a task on a fresh browser with the AI Fallback safety net. Returns an execution id. Requires explicit user approval. Example: {"input_params":{},"taskId":"t1"} Confirm with the user before calling. |
| `ANCHOR_BROWSER_MCP_SEARCH_ACTION_INDEX` | Search action index | List active action indexes for a domain, including names and input/output schemas, without deterministic code. Use get_action_index for code. An empty list means no saved action exists for the domain yet; fall back to perform_web_task. Call once per site with the bare domain (linkedin.com, not a URL). The index covers a subset of sites, so an empty list is final: do not retry with other spellings; use perform_web_task, which reuses indexed actions automatically. |
| `ANCHOR_BROWSER_MCP_SEARCH_DOCS` | Search docs | Full-text search across product docs. Returns ranked hits with path + snippet. Use q for the query. Example: {"q":"authenticated applications identity"} |
| `ANCHOR_BROWSER_MCP_START_DYNAMIC_AUTH` | Start dynamic auth | Begin a guided login in an open session: url is the login page and host its hostname. Anchor maps the sign-in flow and returns the first step. Step types: decision (pick a method) or form (enter credentials) — answer both with resolve_dynamic_auth; detection_failed — poll get_dynamic_auth_state while retryable; authenticated — call finalize_dynamic_auth. Use when the user is present in the conversation or has provided credentials for an account they control; otherwise create_reauth_link keeps credentials out of the conversation. Example: {"url":"https://app.example.com/login","host":"app.example.com","session_id":"sess_123"} |

## Supported Triggers

None listed.

## Installation and MCP Setup

### Path 1: SDK Installation

#### Path 1, Step 1: Install Composio

Install the Composio SDK, the OpenAI provider, and the OpenAI SDK
```python
pip install composio composio_openai openai
```

```typescript
npm install @composio/core @composio/openai openai
```

#### Path 1, Step 2: Create a Composio session

Initialize Composio with the OpenAI Responses provider and create a session scoped to Anchor Browser MCP
```python
import json
from openai import OpenAI
from composio import Composio
from composio_openai import OpenAIResponsesProvider

composio = Composio(provider=OpenAIResponsesProvider())
client = OpenAI()

session = composio.create(user_id="your-user-id", toolkits=["anchor_browser_mcp"])
tools = session.tools()
```

```typescript
import OpenAI from "openai";
import { Composio } from "@composio/core";
import { OpenAIResponsesProvider } from "@composio/openai";

const composio = new Composio({ provider: new OpenAIResponsesProvider() });
const client = new OpenAI();

const session = await composio.create("your-user-id", { toolkits: ["anchor_browser_mcp"] });
const tools = await session.tools();
```

#### Path 1, Step 3: Run Anchor Browser MCP tools with your agent

Send a request, execute the Anchor Browser MCP tool calls through the session, and print the final answer
```python
response = client.responses.create(
    model="gpt-5.6-sol",
    tools=tools,
    input=[{"role": "user", "content": "Open example.com in an Anchor browser session and return the page title."}],
)

while True:
    tool_calls = [o for o in response.output if o.type == "function_call"]
    if not tool_calls:
        break
    results = composio.provider.handle_tool_calls(response=response, session=session)
    response = client.responses.create(
        model="gpt-5.6-sol",
        tools=tools,
        previous_response_id=response.id,
        input=[
            {"type": "function_call_output", "call_id": call.call_id, "output": json.dumps(results[i])}
            for i, call in enumerate(tool_calls)
        ],
    )

print(response.output_text)
```

```typescript
let response = await client.responses.create({
  model: "gpt-5.6-sol",
  tools,
  input: [{ role: "user", content: "Open example.com in an Anchor browser session and return the page title." }],
});

while (response.output.some((o) => o.type === "function_call")) {
  const outputs = await composio.provider.handleToolCalls(session, response.output);
  response = await client.responses.create({
    model: "gpt-5.6-sol",
    tools,
    previous_response_id: response.id,
    input: outputs,
  });
}

console.log(response.output_text);
```

### Path 2: MCP Server Setup

#### Path 2, Step 1: Install Composio

Install the Composio SDK and your agent framework
```python
pip install composio claude-agent-sdk
```

```typescript
npm install @composio/core ai @ai-sdk/mcp @ai-sdk/openai
```

#### Path 2, Step 2: Create a session with MCP enabled

Create a session scoped to Anchor Browser MCP and read its MCP URL and headers
```python
from composio import Composio

composio = Composio()
session = composio.create(user_id="your-user-id", toolkits=["anchor_browser_mcp"], mcp=True)
```

```typescript
import { Composio } from "@composio/core";

const composio = new Composio();
const { mcp } = await composio.create("your-user-id", {
  toolkits: ["anchor_browser_mcp"],
  mcp: true,
});
```

#### Path 2, Step 3: Connect your agent to the MCP server

Pass the session's MCP URL and headers to your agent and run a Anchor Browser MCP request
```python
import asyncio
from claude_agent_sdk import ClaudeSDKClient, ClaudeAgentOptions, AssistantMessage, TextBlock

options = ClaudeAgentOptions(
    mcp_servers={
        "composio": {
            "type": "http",
            "url": session.mcp.url,
            "headers": session.mcp.headers,
        }
    },
    system_prompt="You are a helpful assistant with access to Anchor Browser MCP tools.",
    tools=[],
    allowed_tools=["mcp__composio__*"],
)

async def main():
    async with ClaudeSDKClient(options=options) as client:
        await client.query("Open example.com in an Anchor browser session and return the page title.")
        async for message in client.receive_response():
            if isinstance(message, AssistantMessage):
                for block in message.content:
                    if isinstance(block, TextBlock):
                        print(block.text)

asyncio.run(main())
```

```typescript
import { createMCPClient } from "@ai-sdk/mcp";
import { openai } from "@ai-sdk/openai";
import { generateText, stepCountIs } from "ai";

const client = await createMCPClient({
  transport: { type: "http", url: mcp.url, headers: mcp.headers },
});

const { text } = await generateText({
  model: openai("gpt-5.6-sol"),
  tools: await client.tools(),
  prompt: "Open example.com in an Anchor browser session and return the page title.",
  stopWhen: stepCountIs(10),
});

console.log(text);
await client.close();
```

## Why Use Composio?

### 1. AI Native Anchor Browser MCP Integration

- Supports both Anchor Browser MCP and direct API based integrations
- Structured, LLM-friendly schemas for reliable browser sessions, web tasks, and API calls
- Rich coverage for running tasks, managing identities, and handling authenticated browser workflows

### 2. Managed Auth

- Built-in DCR OAuth handling with secure token storage and lifecycle management
- Central place to manage, scope, and revoke Anchor Browser MCP access
- Per user and per environment credentials instead of hard-coded secrets

### 3. Agent Optimized Design

- Tools are tuned using real error and success rates to improve browser task reliability over time
- Clear tool schemas help agents choose the right session, identity, or Anchor API action
- Comprehensive execution logs show what ran, when, and on whose behalf

### 4. Enterprise Grade Security

- Fine-grained RBAC so you control which agents and users can access Anchor Browser MCP
- Scoped, least privilege access to browser sessions, saved identities, and authenticated tasks
- Full audit trail of agent actions to support review and compliance

## Use Anchor Browser MCP with any AI Agent Framework

Choose a framework you want to connect Anchor Browser MCP with:

- [ChatGPT](https://composio.dev/toolkits/anchor_browser_mcp/framework/chatgpt)
- [Claude Cowork](https://composio.dev/toolkits/anchor_browser_mcp/framework/claude-cowork)

## Related Toolkits

- [Supabase](https://composio.dev/toolkits/supabase) - Supabase is an open-source backend platform offering scalable Postgres databases, authentication, storage, and real-time APIs. It lets developers build modern apps without managing infrastructure.
- [Codeinterpreter](https://composio.dev/toolkits/codeinterpreter) - Codeinterpreter is a Python-based coding environment with built-in data analysis and visualization. It lets you instantly run scripts, plot results, and prototype solutions inside supported platforms.
- [GitHub](https://composio.dev/toolkits/github) - GitHub is a code hosting platform for version control and collaborative software development. It streamlines project management, code review, and team workflows in one place.
- [1password](https://composio.dev/toolkits/_1password) - 1Password is a password manager and digital vault for storing logins, secrets, notes, and secure documents. It helps individuals and teams protect credentials, share access safely, and reduce password risk.
- [Ably](https://composio.dev/toolkits/ably) - Ably is a real-time messaging platform for live chat and data sync in modern apps. It offers global scale and rock-solid reliability for seamless, instant experiences.
- [Abuselpdb](https://composio.dev/toolkits/abuselpdb) - Abuselpdb is a central database for reporting and checking IPs linked to malicious online activity. Use it to quickly identify and report suspicious or abusive IP addresses.
- [Agent37](https://composio.dev/toolkits/agent37) - Agent37 is a control API for managed agent sandboxes, templates, networking, and execution. It gives teams built-in scheduling, observability, budgets, and workspace administration.
- [Aikido Security](https://composio.dev/toolkits/aikido) - Aikido Security is a security platform for workspace, code, cloud, and application protection. It helps teams find vulnerabilities, manage compliance, and reduce security risk.
- [Alchemy](https://composio.dev/toolkits/alchemy) - Alchemy is a blockchain development platform offering APIs and tools for Ethereum apps. It simplifies building and scaling Web3 projects with robust infrastructure.
- [Algolia](https://composio.dev/toolkits/algolia) - Algolia is a hosted search API that powers lightning-fast, relevant search experiences for web and mobile apps. It helps developers deliver instant, typo-tolerant, and scalable search without complex infrastructure.
- [Anakin](https://composio.dev/toolkits/anakin_io) - Anakin is a web automation platform offering scraping, crawling, search, and browser automation. Use it to extract structured data, automate site tasks, and monitor web changes reliably.
- [Anchor browser](https://composio.dev/toolkits/anchor_browser) - Anchor browser is a developer platform for AI-powered web automation. It transforms complex browser actions into easy API endpoints for streamlined web interaction.
- [AnyAPI](https://composio.dev/toolkits/anyapi) - AnyAPI is a marketplace of utility APIs for validation, currency conversion, holidays, documents, and web data. It brings common application workflows together through one practical API platform.
- [Apiflash](https://composio.dev/toolkits/apiflash) - Apiflash is a website screenshot API for programmatically capturing web pages. It delivers high-quality screenshots on demand for automation, monitoring, or reporting.
- [Apiverve](https://composio.dev/toolkits/apiverve) - Apiverve delivers a suite of powerful APIs that simplify integration for developers. It's designed for reliability and scalability so you can build faster, smarter applications without the integration headache.
- [APIVerve MCP](https://composio.dev/toolkits/apiverve_mcp) - APIVerve MCP is a hosted utility API server for lookups, validation, conversion, and data enrichment. It gives developers one MCP connection to access APIVerve's utility APIs.
- [Appcircle](https://composio.dev/toolkits/appcircle) - Appcircle is an enterprise-grade mobile CI/CD platform for building, testing, and publishing mobile apps. It streamlines mobile DevOps so teams ship faster and with more confidence.
- [Appdrag](https://composio.dev/toolkits/appdrag) - Appdrag is a cloud platform for building websites, APIs, and databases with drag-and-drop tools and code editing. It accelerates development and iteration by combining hosting, database management, and low-code features in one place.
- [Appveyor](https://composio.dev/toolkits/appveyor) - AppVeyor is a cloud-based continuous integration service for building, testing, and deploying applications. It helps developers automate and streamline their software delivery pipelines.
- [Authyo](https://composio.dev/toolkits/authyo) - Authyo is a REST API service for passwordless authentication, OTP verification, session management, and transactional notifications. Use it to add secure login flows and user verification without building auth infrastructure from scratch.

## Frequently Asked Questions

### Do I need my own developer credentials to use Anchor Browser MCP with Composio?

Yes, Anchor Browser MCP requires you to configure your own Dcr OAuth credentials. Once set up, Composio handles secure credential storage and management for you.

### Can I use multiple toolkits together?

Yes! Composio's Tool Router enables agents to use multiple toolkits. [Learn more](https://docs.composio.dev/tool-router/overview).

### Is Composio secure?

Composio is SOC 2 and ISO 27001 compliant with all data encrypted in transit and at rest. [Learn more](https://trust.composio.dev).

### What if the API changes?

Composio maintains and updates all toolkit integrations automatically, so your agents always work with the latest API versions.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
