Scalebrowser

What is an MCP server? A browser as the example

What an MCP server is and how it works: 3 building blocks, 2 transports, the difference from an API, and a browser server with 68 tools as the example.

Davide Valli · Founder, Scalebrowser

Published Nov 15, 2026 · 6 min read

Short answer

An MCP server is a program that offers an AI application 3 kinds of building blocks over the Model Context Protocol: tools the model calls, resources the application reads and prompts a user picks. The protocol's own documentation compares MCP to a USB-C port for AI applications. A browser server shows what that means in practice: Scalebrowser's holds 68 tools that open, read and operate a real web page, and serves 21 of them by default, because every tool definition travels with every request to the model.
68, tools, 21 by default, beside a server rack

Every agent framework now asks for an MCP server, and the name hides a small idea: a program that tells an AI application what it can do and then does it when the model asks. The protocol's own examples are calendars and flight searches. A browser is a harder example and a more useful one, because its tools act on a page that changes between two calls, and every tool it offers costs tokens on every request.

What is an MCP server?

An MCP server is a program that offers an AI application 3 kinds of building blocks over the Model Context Protocol (MCP): tools, resources and prompts. The application connects to the server, asks what it offers and hands that list to the model. The server does the work, and the model only decides which tool to call with which arguments.

Building blockWho controls itProtocol methodsExample from the MCP documentation
Toolsthe modeltools/list, tools/callsearch flights, send messages
Resourcesthe applicationresources/list, resources/readretrieve documents, read calendars
Promptsthe userprompts/list, prompts/getplan a vacation, draft an email

Tools carry most of the weight in agent work. Each tool has a name, a description and an input schema written in JSON Schema, and each call returns content that the model reads as its next input. A server can offer only tools and still be a complete MCP server.

How does an MCP server work?

An MCP server works as one end of a dedicated connection that a host application opens for it. The MCP architecture overview names three participants: the host, an AI application such as Claude Code or Visual Studio Code; one MCP client per server, which the host creates; and the server, "a program that provides context to MCP clients". The messages follow JSON-RPC 2.0, "a stateless, light-weight remote procedure call (RPC) protocol": tools/list returns the tool definitions and tools/call runs one.

The same messages travel over 2 transports, and the transport decides where the server runs.

TransportHow the server runsClients per server, typically
stdioas a subprocess the host starts on the same machine1
Streamable HTTPas a service at an address, local or remote, over HTTP POST with optional Server-Sent Eventsmany

The current revision of the specification, dated 28 July 2026, makes every request stand on its own: each one carries its protocol version and capabilities, and a client can ask any server what it supports with a single server/discover request. The MCP introduction calls the protocol "a USB-C port for AI applications" and names Claude, ChatGPT, Visual Studio Code and Cursor among the clients. The comparison holds in one sense: a server written once works in every host that speaks the protocol.

What does an MCP server for a browser do?

An MCP server for a browser gives the model tools that open a page, read what is on it and act on it, and it runs the real browser behind those tools. The model never touches the browser itself. Scalebrowser's server works in one loop of four steps:

  1. lease_profile reserves a browser profile, starts it and returns a handle that every later call carries.
  2. open_page navigates and returns a page map: one line per element the agent can operate, each with a reference.
  3. click, type_text, press_key or scroll act on a reference, and the answer lists only what changed.
  4. release_profile ends the reservation and stops the browser.

A page map is flat text, not nested JSON. The reference in brackets is what the next tool call addresses:

text
URL: https://x.com/home  |  epoch 3  |  snapshot #7
title: Home
[e_412] textbox "What is happening?"
[e_418] button "Post" (disabled)
[e_431] link "Notifications"

How that map comes back after an action is where browser MCP servers differ most. On Hacker News, measured on 8 September 2026, one follow-up step cost 462 tokens with a server that answers with the difference and between 12,076 and 26,438 tokens with five servers that send the page again. The Puppeteer-based MCP server is covered in Puppeteer MCP server.

Why does a browser server serve 21 of its 68 tools?

A browser server serves 21 of its 68 tools because the model API is stateless: every tool definition travels with every request to the model, including the requests that call no tool. Scalebrowser groups its tools into five sets and serves only the first one unless the operator adds more in the daemon's configuration.

Tool setToolsServed by defaultWhat it covers
core21yesreserve a profile, open, read, click, type, scroll, wait, screenshot
extended17nohover, drag, upload, tabs, cookies, the measuring tools
management22nothe fleet by profile id: create, start, stop, tasks
workflows3norecord a routine and replay it
credentials5nosign in with a stored login
Source: Scalebrowser daemon tool registry, 68 tools, read 22 September 2026; catalogue cost counted with cl100k_base on 8 September 2026

The 21 default definitions cost 5,267 tokens on every request. No argument a model sends can widen that set: a tool outside it is missing from tools/list and refused when called anyway. The tool reference lists all 68 with what each one does.

How is an MCP server different from an API?

An MCP server differs from an API in who reads the interface: a developer reads an API's documentation and writes code against it, while the model reads an MCP server's tool list during the conversation and decides each call step by step.

QuestionREST APIMCP server
Who reads the interfacea developer, from reference docsthe model, from tools/list
When a call is decidedwhen the code is writtenat each step of a run
How an operation is describedendpoints and payloadsa name, a description and a JSON Schema per tool
Message formatHTTP requests per endpointJSON-RPC 2.0 over stdio or Streamable HTTP

Many MCP servers are a thin layer over an API that already exists. Scalebrowser's daemon carries both: the REST API for code you write yourself, and the MCP server for an agent, working on the same browser profiles. How a browser agent takes the place of a recorded macro is covered in AI RPA with a browser agent.

What does an MCP server not decide for you?

An MCP server does not decide whether a tool call should happen at all; the protocol leaves that to the host application. The server concepts page says tools "may require user consent prior to execution" and lists approval dialogs, permission settings and activity logs as controls an application can implement. A server that operates real accounts has to be read with that in mind.

Scalebrowser's documentation puts it for a team running agents in production: treat every tool call as final, because there is no confirmation step, no dry run and no undo. What a server can do is narrow what exists. Scalebrowser's refuses a stale reference, an element that something else covers and an address outside the public web, hands out no DevTools endpoint and runs no JavaScript from the model. A read-only mode removes every tool that changes anything, and reserving a profile counts as a change, so an agent under it cannot start a browser at all.

The next step is a client. The MCP client guides show the configuration for Claude, Cursor, Codex and the other hosts, and the MCP server page covers both transports and the full loop.

Real browser profiles for your AI agent, on your PC.

Each profile keeps its own identity, logins and proxy. Your agent drives it over MCP and signs in without seeing a password.

Download free for Windows

Free plan with 3 profiles · No credit card · Runs on your PC

Written by

Davide Valli

Founder, Scalebrowser

Builds Scalebrowser, browser automation for the agentic era that runs on your own machine. Measures every change a web page could observe against a real browser before it ships, and writes up the ones that turned out wrong.

All articles by Davide Valli

More in Infrastructure

All 15 articles in Infrastructure