Anchor Browser MCP server for AI agents and assistants

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.

Anchor Browser MCP logoAnchor Browser MCP
Dcr Oauth

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.

29 Tools

Try Anchor Browser MCP now

Type what you want done — sign in and watch it run live in the Tool Router playground.

TOOL ROUTER PLAYGROUND
Anchor Browser MCP
Try asking
TOOLS

Supported Tools

Every Anchor Browser MCP action and event your agent gets out of the box.

Call endpoint read

Call any read-only Anchor REST endpoint that is not listed as a tool.

Call endpoint write

Call any Anchor REST endpoint that creates, changes, or deletes something and is not listed as a tool.

Create identity

Create an identity: a managed login for one site (source URL) that sessions and tasks reuse.

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.

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.

Create session

Create an isolated cloud browser.

End session

End (delete) a browser session by id.

Execute action index

Run an active action by name using its deterministic code.

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.

Get action index

Get one action index by name, including deterministic code and parameter schemas.

Get dynamic auth state

Re-read the current dynamic-auth step.

Get endpoint

Get one endpoint entry by id (from list_endpoints) with its request/response JSON schema.

Get execution

Get a task execution: status, output, error, and timing.

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.

Get session

Get one browser session by id: status, duration, credits used, and live/end state.

Get task

Get task metadata and optionally its workflow code.

Get web task status

Status and result of a perform_web_task run.

List application identities

List managed logins (identities) for one application.

List applications

List authenticated applications (login connectors) in the workspace, optionally filtered by name via search.

List endpoints

List Anchor REST API endpoints (id, method, path, summary, tag, and agent meta when one exists).

List tasks

List the team's tasks (workflows), newest first.

Perform web task

Run a one-shot AI web task from a natural-language prompt in an Anchor cloud browser.

Read doc

Read one product documentation page by its exact path.

Reauthenticate identity

Sign an identity in again with its stored credentials or profile, e.g.

Resolve dynamic auth

Answer a dynamic-auth step and advance to the next.

Run task

Enqueue a real production run of a task on a fresh browser with the AI Fallback safety net.

Search action index

List active action indexes for a domain, including names and input/output schemas, without deterministic code.

Search docs

Full-text search across product docs.

Start dynamic auth

Begin a guided login in an open session: url is the login page and host its hostname.

SETUP GUIDE

Connect Anchor Browser MCP Tool with your Agent

1

Install Composio

typescript
npm install @composio/core ai @ai-sdk/mcp @ai-sdk/openai
Install the Composio SDK and your agent framework
2

Create a session with MCP enabled

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

const composio = new Composio();
const { mcp } = await composio.create("your-user-id", {
  toolkits: ["anchor_browser_mcp"],
  mcp: true,
});
Create a session scoped to Anchor Browser MCP and read its MCP URL and headers
3

Connect your agent to the MCP server

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();
Pass the session's MCP URL and headers to your agent and run a Anchor Browser MCP request
SETUP GUIDE

Connect Anchor Browser MCP API Tool with your Agent

1

Install Composio

typescript
npm install @composio/core @composio/openai openai
Install the Composio SDK, the OpenAI provider, and the OpenAI SDK
2

Create a Composio session

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();
Initialize Composio with the OpenAI Responses provider and create a session scoped to Anchor Browser MCP
3

Run Anchor Browser MCP tools with your agent

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);
Send a request, execute the Anchor Browser MCP tool calls through the session, and print the final answer

Why Use Composio?

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

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

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

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
FRAMEWORKS

Use Anchor Browser MCP with any AI Agent Framework

Choose a Framework you want to connect Anchor Browser MCP with

Rolling this out across your team?

Give your team centralized access control across every framework with Composio’s MCP Gateway.

EXPLORE MCP GATEWAY
FAQ

Frequently asked questions

Start with Anchor Browser MCP.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Anchor Browser MCP tool your agent needs.Free to start.

Start building