> ## Documentation Index
> Fetch the complete documentation index at: https://docs.anchorbrowser.io/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Anchor Browser is cloud browser infrastructure for AI agents and automation: browser sessions you control over CDP or REST, natural-language web tasks, versioned automation tasks, managed authentication into third-party web apps (identities with MFA), persistent volumes and profiles, recordings, live view, batch sessions, webhooks, and network options including residential proxies, extra stealth, and captcha solving for sites that block standard browsers. The for-agents page (https://docs.anchorbrowser.io/for-agents) covers authentication and the first API calls. API keys are created at https://app.anchorbrowser.io/api-keys. Append .md to any page URL for its Markdown version. The SDKs read the API key from ANCHORBROWSER_API_KEY, and REST calls send it in the anchor-api-key header. End every session you create with DELETE /v1/sessions/{id}, because a session is billed until it ends. Location targeting, captcha solving and managed authentication need the Starter plan, and extra stealth needs the Growth plan; on the Free plan, create a session with an empty body. Plans and limits are at https://docs.anchorbrowser.io/pricing. The hosted MCP server is https://api.anchorbrowser.io/v1/mcp.

# Replit

> Give Replit Agent a cloud browser: add the Anchor MCP server as a custom integration.

Connect [Replit](https://replit.com) Agent to Anchor's hosted MCP server. Agent can then run web tasks in plain English, open cloud browser sessions and work inside accounts you have signed in to, while it builds your app.

## Quick setup

**1. Open Settings, then Integrations**

Go to the **Your integrations** tab.

**2. Choose Add custom, then the personal MCP server option**

To share the server with your whole workspace, choose the workspace option instead. That needs permission to manage workspace integrations.

**3. Fill in the server**

* **Display name:** `Anchor`
* **MCP Server URL:** `https://api.anchorbrowser.io/v1/mcp`

Leave **Scan tool output for prompt injection** on.

![Replit's Connect an MCP server dialog with Anchor as the display name and the Anchor MCP URL](https://mintcdn.com/anchor-b3ec2715/UOwwL4_jVutgsbf6/images/integrations/replit/connect-form.png?fit=max\&auto=format\&n=UOwwL4_jVutgsbf6\&q=85\&s=f6d3eed6dbe071a3656d43bed1b3a6d1)

**4. Click Test & save**

If Replit opens the Anchor sign-in, approve it. You connect to your default Anchor project.

Anchor then shows in your integrations list as an **MCP** connector with the status **Active**.

![Anchor listed in Replit integrations as a personal MCP connector with status Active](https://mintcdn.com/anchor-b3ec2715/UOwwL4_jVutgsbf6/images/integrations/replit/active.png?fit=max\&auto=format\&n=UOwwL4_jVutgsbf6\&q=85\&s=f16d6be2f30c0becf6bec98e49794f71)

## Try it

Ask Agent, naming the server so it picks the right tools:

```text theme={null}
Use the Anchor MCP server to open https://books.toscrape.com and return the title and price of the first three books. Do not write any code.
```

Agent calls Anchor's `perform_web_task`, polls `get_web_task_status` until the task completes, and answers with data read from the live page:

![Replit Agent answering with three book titles and prices read through the Anchor MCP server](https://mintcdn.com/anchor-b3ec2715/UOwwL4_jVutgsbf6/images/integrations/replit/agent-result.png?fit=max\&auto=format\&n=UOwwL4_jVutgsbf6\&q=85\&s=c0bc9410e92fc70de5abdb0089002e53)

```text theme={null}
Use Anchor to create an identity for https://linkedin.com and give me a link to sign in.
```

## Use Anchor inside the app you build

The MCP server gives **Agent** a browser while it works. If the app itself should open browsers for its users, call Anchor from your app's code instead:

1. Add `ANCHORBROWSER_API_KEY` to your Replit app's Secrets.
2. Ask Agent to install the `anchorbrowser` package and call it from the backend.

See [Use via SDK](https://docs.anchorbrowser.io/quickstart/use-via-sdk.md) for the calls.

## Troubleshooting

* **Add custom is missing:** custom MCP servers depend on your account or workspace permissions. Ask a workspace admin.
* **Test & save fails:** confirm the URL is exactly `https://api.anchorbrowser.io/v1/mcp`.
* **A tool call is blocked:** Replit scans MCP traffic and can block a tool. The message in Agent says which one.

## Next steps

* [MCP servers and tools](https://docs.anchorbrowser.io/advanced/mcp.md): the three Anchor servers and what each tool does.
* [All integrations](https://docs.anchorbrowser.io/integrations/overview.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.