Integration

Use browser.city in Windsurf via MCP (remote server)

Configure browser.city as an MCP server in Windsurf so your agent can browse, click, and extract markdown with real remote browsers.

Windsurf supports MCP servers. browser.city runs a hosted MCP endpoint, so you can give Windsurf real browser tools without running a local server.

1) Set your API key

Set BROWSERCITY_API_KEY in your environment.

2) Add browser.city to Windsurf MCP config

Edit:

  • ~/.codeium/windsurf/mcp_config.json

Add a remote server entry:

~/.codeium/windsurf/mcp_config.json
{  "mcpServers": {    "browsercity": {      "serverUrl": "https://mcp.browser.city/mcp",      "headers": {        "Authorization": "Bearer $BROWSERCITY_API_KEY"      }    }  }}

Notes:

  • Keep secrets out of the file by using env vars ($BROWSERCITY_API_KEY).
  • After changing the config, restart Windsurf so it reloads MCP servers.

3) Try it

Ask Windsurf:

Open a browser with browsercity, navigate to a page, and return its markdown.

4) Practical tip: use REST for pure extraction

If you just need markdown and don’t need interaction, the Request API is cheaper and simpler than tool-driving:

request.ts
const apiKey = process.env.BROWSERCITY_API_KEY!;const opts = { method: "POST", headers: { Authorization: `Bearer ${apiKey}` } };const res = await fetch("https://api.browser.city/v1/requests", {  ...opts,  body: JSON.stringify({ url: "https://example.com", markdown: true }),}).then((r) => r.json());console.log(res.content);
[ 06 / 06 ] — Get Started

Start building in under a minute

Free tier. No credit card. Full stealth from day one.