---
title: "Undocumented API to MCP: discovery from a HAR file | FluxOS MCP"
description: "No spec and no collection for the API? Upload a HAR file recorded in the browser and FluxOS MCP proposes one MCP tool per call, without storing cookies or tokens."
url: "https://www.fluxosmcp.com/en/servidor-mcp/api-sem-documentacao"
lang: "en-US"
---

Undocumented API (HAR)

# No API documentation? Discover the calls from your browser

Many systems have a web screen that already consumes an API nobody documented. Record a HAR file while you use the screen, upload it to FluxOS MCP and it proposes one MCP tool for each API call the page made.

[Talk to us](mailto:contato@fluxosmcp.com) [Documentation for this source](https://www.fluxosmcp.com/en/docs/origens/har)

## How the source becomes MCP tools

| In the HAR file                                          | In the MCP tool                                                                          |
| -------------------------------------------------------- | ---------------------------------------------------------------------------------------- |
| XHR and fetch calls                                      | One tool per distinct call. Images, scripts, styles and analytics services are left out. |
| /orders/42 and /orders/43                                | The same tool, /orders/{id}, with the identifier as a required parameter.                |
| Query parameters and body fields                         | Optional arguments, with the observed value as the default.                              |
| Observed response                                        | Summarized in the tool description, which helps the AI choose.                           |
| Cookies, Authorization and fields that look like secrets | Removed before storing. Only their names appear in the description; the values never do. |

Step by step

## From the source to an MCP server in four steps

1. ### Record the HAR
In the browser, open the screen, press F12, go to the Network tab, use the screen as usual and export with Export HAR.
2. ### Upload it to FluxOS MCP
Create a system of type Automatic discovery and upload the file. The screen itself drops images, scripts and large bodies before sending.
3. ### Choose the calls
Each one is shown with its method, route, status and a sample of the response. Adjust the name and the field that identifies the client.
4. ### Publish the MCP server
Pick or create the target server, publish it and generate a key for each client, with limits and the tools each key may call.

In every server

## What the MCP server already includes

### Per-client isolation

Every call carries who the client is. Each tool filters by the identifier of the key's owner, which the assistant cannot choose or change.

### Keys with limits

Per-minute and per-day limits, tools allowed per key, rotation with a grace period and instant revocation.

### Metered usage

Calls, errors and rejections by day, key and tool. That same metering checks the plan's included calls and, when it applies, the overage.

## Limits and things to watch

- Tools call the API with the system credential (Bearer, username and password, or API key). Calls that depend on the page's session cookie do not work.
- The output schema is inferred from a sample: fields that did not show up in the recording are not in it.
- The stored HAR keeps up to 300 entries, at most 5 per distinct call.
- A HAR from a logged-in session carries the data the page displayed. Check the file before uploading it.

## Going deeper

- [Documentation for this source](https://www.fluxosmcp.com/en/docs/origens/har)
- [Tutorial: no API documentation? Discover the API from your browser](https://www.fluxosmcp.com/en/blog/tutorial-no-api-documentation-discover-the-api-from-your-browser)

## Other sources

- [OpenAPI and REST APIs](https://www.fluxosmcp.com/en/servidor-mcp/openapi): Each operation in the spec becomes an MCP tool.
- [SQL database](https://www.fluxosmcp.com/en/servidor-mcp/banco-de-dados-sql): PostgreSQL, MySQL and SQL Server: tools per table, with no SQL to write.
- [GraphQL](https://www.fluxosmcp.com/en/servidor-mcp/graphql): Each query and each mutation in the schema becomes an MCP tool.
- [SOAP and WSDL](https://www.fluxosmcp.com/en/servidor-mcp/soap): Legacy services with a WSDL become tools, with JSON responses.
- [Postman and cURL](https://www.fluxosmcp.com/en/servidor-mcp/postman-e-curl): No OpenAPI? Each request in the collection or each command becomes a tool.

Frequently asked questions

## Questions about this source

How do I export a HAR file?

In the browser, open the page, press F12 and go to the Network tab. Use the page as usual and click Export HAR, or right-click the list and choose Save all as HAR.

Is my session token stored in FluxOS MCP?

No. Before storing the HAR, the server removes cookies, the Authorization header and any field whose name or value looks like a secret, and reduces responses to short samples.

Does it work with screens that require login?

Yes: record the HAR in your own browser, already logged in. For the tools to call the API afterwards, the system needs a credential of its own, such as a token or an API key.

## Publish your first MCP server

Connect the system, choose the tools and hand each client a key with limits.

[ Talk to us ](mailto:contato@fluxosmcp.com) [Log in](https://app.fluxosmcp.com/entrar)
