Skip to main content
Connect Lovable to Anchor’s hosted MCP server. Lovable can then run web tasks in plain English, open cloud browser sessions and work inside accounts you have signed in to, while it builds with you in chat. Custom MCP servers are available on all Lovable plans.

Quick setup

1

Open Connectors

Choose Add custom, then MCP server.
2

Fill in the server

  • Server name: Anchor
  • Server URL: https://api.anchorbrowser.io/v1/mcp
  • Authentication: OAuth, which is the default
Lovable's Add MCP server form with Anchor as the server name, the Anchor MCP URL and OAuth selected
3

Click Add & authorize

Anchor asks whether Lovable may access your account. Choose Allow access. You connect to your default project.
Anchor then shows as Connected with a Chat badge and its 29 tools, split into read-only tools and write/delete tools.
Anchor connector in Lovable showing Connected, Chat, 16 read-only tools and 13 write/delete tools
By default Lovable runs read-only tools without asking and asks each time before a write/delete tool. Starting a web task or a browser session counts as a write tool, so expect an approval prompt the first time. Change this under Manage my agent’s permissions. If MCP server is grayed out, a workspace admin has turned off custom MCP for your workspace.

Try it

Name the connector in your prompt:
Lovable calls Anchor’s perform_web_task, waits for the task to finish, and answers from the live page:
Lovable chat calling Anchor perform_web_task and listing the top five AI stories on Hacker News

Chat only

A custom MCP connector works in the Lovable chat. It is personal to you and is not included in the app you publish. If the app itself should open browsers for its users, call the Anchor API from your app’s backend:
  1. Create a key at API Keys and store it as a secret named ANCHORBROWSER_API_KEY.
  2. Ask Lovable to add a backend function that calls Anchor with that secret. Never call Anchor from frontend code, because the key would be visible to every visitor.
See Run a task for the call.

Troubleshooting

  • MCP server is grayed out: ask a workspace admin to enable custom MCP.
  • Authorization fails: confirm the URL is exactly https://api.anchorbrowser.io/v1/mcp and that you have an Anchor account.
  • Lovable does not use the tools: start the prompt with “Using the Anchor connector”.

Next steps