---
title: "Tutorial: let FluxOS MCP browse a page and discover the API for you | FluxOS MCP Blog"
description: "Enter a page URL and FluxOS MCP opens it, watches the API calls, and proposes the tools. A step-by-step walkthrough with a public page, no HAR export needed."
url: "https://www.fluxosmcp.com/en/blog/tutorial-let-fluxos-mcp-browse-a-page-and-discover-the-api-for-you"
lang: "en-US"
---

[Blog](https://www.fluxosmcp.com/en/blog) · Nov 26, 2026 · updatedNov 27, 2026 · FluxOS MCP Team

# Tutorial: let FluxOS MCP browse a page and discover the API for you

[Leia este artigo em português](https://www.fluxosmcp.com/blog/tutorial-deixe-o-fluxos-mcp-navegar-e-descobrir-a-api-por-voce)

In the [HAR tutorial](https://www.fluxosmcp.com/en/blog/tutorial-no-api-documentation-discover-the-api-from-your-browser), you opened the browser, pressed F12, used the page, and exported a file with the calls. That works for any system, but it involves manual work.

For public pages there is a shortcut: **you enter the address and FluxOS MCP makes the visit**. It opens the page in a headless browser, waits for it to load, records the API calls, and proposes a tool for each one.

In this tutorial you do that with a page anyone can open: FluxOS MCP’s own pricing page.

## What we are going to build

A `listar_planos` tool that returns the FluxOS MCP plans with included calls and price. At the end, the assistant answers questions like “which plan includes 100,000 calls per month?”.

The example is small on purpose. The page makes a single API call, which makes each step easy to check.

## How the capture works

It is worth understanding the mechanism before you click, because it explains the limits that come up later.

![Diagram of the capture: you enter the URL; inside FluxOS MCP, a headless browser with no internet access opens the page, and each request is made by the API, which blocks the internal network and talks to the origin site; then come recording, cleanup, and tool proposals](https://www.fluxosmcp.com/api/public/blog/images/78b023c3eebf9159779b4d7033f2d8b3)Three points about the diagram:

- **The capture browser does not access the internet.** Each request from the page is intercepted and made by the FluxOS MCP API, with the same protection as the other imports: internal addresses are blocked. The response is handed back to the browser, which keeps running the page.
- **The capture ends on its own.** It finishes when the network has been idle for 2 seconds, or when it reaches the 25-second limit. Before finishing, the browser scrolls the page to the bottom, to trigger whatever only loads on demand.
- **No credentials are stored.** Cookies, `Authorization`, and browser headers are removed before the record is saved, and responses are reduced to short samples.

## What you need

- Access to the FluxOS MCP dashboard.
- An installation with the capture browser configured. If it is not, the screen tells you in step 2 and you continue with the HAR file.

## Step 1: create the system

In **Sistemas → Novo sistema** (Systems → New system):

- **Nome** (Name): Site FluxOS MCP
- **Tipo de origem** (Source type): Descoberta automática (Automatic discovery)
- **URL base** (Base URL): `https://www.fluxosmcp.com`
- **Credencial da empresa** (Company credential): Nenhuma (None)

The base URL is optional, but fill it in. With it, only calls to that server are proposed. A typical page calls several other addresses (maps, videos, support chat), and you do not want a tool for each one.

One common case is an exception to this rule: the site lives at one address and the API at another (the page `www.exemplo.com` consuming `api.exemplo.com`). If the page makes no calls to the base URL, FluxOS MCP proposes the calls to the addresses the page actually used and tells you which ones they are, in the review step. This only applies to a system with no credential. With a credential, discovery stops and asks you to replace the base URL with the API address, because the credential is only sent to the base URL’s server.

## Step 2: have it open the page

Click **Criar e importar** (Create and import). The first tab, **Abrir página** (Open page), is already selected. The **URL da página** (Page URL) field already contains the system’s base URL; complete it with the page’s path:

```text
https://www.fluxosmcp.com/planos

```

Click **Descobrir chamadas** (Discover calls). It takes a few seconds.

If you see the message “a descoberta pelo navegador não está configurada neste servidor; envie um arquivo HAR exportado do navegador” (browser discovery is not configured on this server; upload a HAR file exported from the browser), your installation does not have the capture browser. Use the **Arquivo HAR** (HAR file) tab with the steps from the [previous tutorial](https://www.fluxosmcp.com/en/blog/tutorial-no-api-documentation-discover-the-api-from-your-browser): the result is the same.

## Step 3: see what was discovered

In our test, the page made 7 requests. One proposal was left.

![Diagram of the filter: of everything a page requests (HTML document, scripts, styles, images, fonts, analytics services), only the API calls remain; the GET /api/public/plans call, with status 200, becomes the get_api_public_plans tool, with a description and a sample of the response](https://www.fluxosmcp.com/api/public/blog/images/01f67ec88599b029fd4619ab6d12e700)The proposal arrives like this:

- **Nome:** `get_api_public_plans`
- **Chamada** (Call): `GET /api/public/plans`, with the **Leitura** (Read) badge
- **Resposta** (Response): 200, “observada 1 vez” (observed once)
- **Descrição** (Description): “Chama GET [www.fluxosmcp.com/api/public/plans](http://www.fluxosmcp.com/api/public/plans) (observada ao abrir “Planos e preços do FluxOS MCP: chamadas incluídas por mês”). Devolve objeto com items (lista de objetos com aiCallWeight, billingCycle, currency, description, featured, features, maxActiveKeys, maxLimitPerDay…), nextCursor.” In English: it calls that GET endpoint, observed when opening the page with that title, and returns an object with items (a list of objects with those fields) and nextCursor.

Click **Ver resposta** (View response). You see a sample of what the API returned and the schema inferred from it: which fields exist and the type of each one.

Notice what was left out. The document, the scripts, and the style sheets do not become tools. Images and fonts are not even downloaded. Known analytics and advertising services are discarded. So are calls that failed.

## Step 4: fix what the machine has no way of knowing

Discovery sees the shape of the response, not its meaning. Look at the sample:

```json
{
  "name": "Plano Mensal",
  "billingCycle": "monthly",
  "monthlyCalls": 25000,
  "priceCents": 15000,
  "overageCentsPer1000": 1000
}

```

An assistant that reads `priceCents: 15000` may answer “the plan costs 15,000 reais”. The value is in cents (centavos), and that is not written anywhere in the response. You are the one who knows.

Make three adjustments on the tool’s row:

**Name.** Change `get_api_public_plans` to `listar_planos`.

**Description.** Delete the generated text and write:

> Lists the FluxOS MCP plans. Use when asked about price, included calls, or limits. It takes no arguments. The values in `priceCents` and `overageCentsPer1000` are in centavos of the Brazilian real (BRL): divide by 100\. `monthlyCalls` is the number of calls included per month. `billingCycle` is the billing period: `monthly`, `quarterly`, or `annual`, and `priceCents` is the price for the entire cycle.

The description says when to use the tool, what to provide, and how to read what comes back. The article on [names and descriptions](https://www.fluxosmcp.com/blog/como-escrever-nomes-e-descricoes-de-ferramenta-que-a-ia-entende) shows why each of those parts matters.

**Client filter.** The list starts at “Escolha o filtro de cliente…” (Choose the client filter…) and the screen warns: “Nenhum parâmetro de cliente detectado: marque como global se o dado for público ou desmarque a ferramenta” (No client parameter detected: mark it as global if the data is public, or deselect the tool). Plans are public data: choose **Global (sem filtro, para todos)** (Global: no filter, for everyone).

The screen will not let you continue without this decision, and that is intentional. In a real system, this is where you say which field carries the identifier of the client that owns the key. No filter is selected by default. Only when there is a field with an unambiguous name, such as `X-Tenant` or `cliente_id`, does it appear marked as **Sugestão** (Suggestion), for you to verify.

## Step 5: choose the server and create

Move on to **Resumo** (Summary). Under **Servidor MCP de destino** (Target MCP server), choose **Criar novo servidor…** (Create new server…) and enter:

- **Nome do servidor** (Server name): Site FluxOS MCP
- **Endereço** (Address): `site-fluxos` (the screen fills it in from the name; you can shorten it)

Click the create button at the bottom of the page. The tool is born as a three-block workflow: the trigger, the `GET /api/public/plans` request, and the response.

## Step 6: publish and hand over a key

From here on, the path is the same as for any server:

1. In **Servidores MCP** (MCP servers), open the server and click **Publicar** (Publish).
2. In **Clientes → Novo cliente** (Clients → New client), create a test client.
3. On the client’s **Acesso e portal** (Access and portal) tab, use **Liberar servidor** (Grant server access) with a low cap, for example 10 calls per minute.
4. On the **Chaves** (Keys) tab, create a **Nova chave** (New key). It is shown only once: copy it right away.

The server’s **Conexão** (Connection) tab shows the MCP address and a sample configuration. For what each key is allowed to call, see [keys, limits, and tools per key](https://www.fluxosmcp.com/blog/chaves-limites-e-ferramentas-por-chave-quem-pode-chamar-o-que).

## Test

- “What are the FluxOS MCP plans?”
- “Which plan includes 100,000 calls per month, and how much does it cost per month?”

If the assistant gets the price wrong by a factor of one hundred, the description is not mentioning the cents. Go back to step 4.

## When the capture finds nothing

Try an experiment: repeat step 2 with `https://www.fluxosmcp.com/blog`. The response is:

> nenhuma chamada de API foi observada; se a página exige login ou cliques, exporte um HAR do navegador (DevTools → Network → Save all as HAR) e envie o arquivo
>
> (In English: no API calls were observed; if the page requires login or clicks, export a HAR from the browser and upload the file.)

It is not a defect. The blog arrives fully rendered from the server and calls no API when it opens. The capture only sees what the page does **on its own**.

That defines when each mode is the right one:

- **Abrir página:** public pages that load data when they open. Transparency dashboards, catalogs, status pages, price tables.
- **Arquivo HAR:** anything that requires a login, clicks, or a form. A company’s internal system almost always falls here, because the screen that matters is behind a password.

## Limits worth knowing

- **Time and volume.** 25 seconds per capture, 400 requests per page, and 15 MB per response. Two captures run at the same time; the third one waits.
- **Only what was seen.** The output schema comes from one sample. A field that did not appear in that response is not in it.
- **Identifiers become arguments.** If the page calls `/pedidos/42` and `/pedidos/43`, the proposal is a single tool, with `/pedidos/{id}`. Query parameters become optional arguments, with the observed value as the default.
- **GraphQL and WebSocket.** A GraphQL POST becomes an ordinary HTTP tool, with `query` and `variables` as arguments. For GraphQL, the [dedicated importer](https://www.fluxosmcp.com/en/blog/tutorial-turn-a-public-graphql-api-into-an-ai-tool) is better. WebSocket is not captured.
- **Writes are flagged.** Calls that change data appear with the **Escrita · destrutiva** (Write · destructive) badge, and you decide on them one by one.

## Before you point it at someone else’s site

The capture does what a visitor would do: it opens the page once. But the tool you create will call that API every time an assistant asks. Two questions before you publish:

- **Are you allowed to use this API?** An API with no public documentation is not, for that reason, an API you are free to use. Check the site’s terms of use.
- **Will it stay the same?** A site’s internal API changes without notice. If the address changes, the tool stops working. The [Executions](https://www.fluxosmcp.com/en/blog/what-did-the-ai-do-yesterday-at-3-pm-how-to-read-an-execution-in-fluxos-mcp) screen shows the error when that happens.

For your own company’s system, neither is a problem: the API is yours. There, discovery solves what was missing: turning an API nobody documented into tools.

## Summary

You entered an address and FluxOS MCP returned a tool proposal with a name, a description, a sample, and a schema. The work left over was what no capture does for you: giving it a clear name, explaining what the fields mean, and deciding who can see the data.
