> ## Documentation Index
> Fetch the complete documentation index at: https://octo-98895abd.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# MCP server

> Connect a client over Streamable HTTP, list the SILO tools, and retrieve Brazilian financial data.

SILO MCP v2 has 14 read-only tools.

**1. Connect your client**

Add a remote **Streamable HTTP** server with this URL:

```text theme={null}
https://zcjbtpxuhdekpwcxmepn.supabase.co/functions/v1/silo-mcp-v2
```

For signed-in access, configure the same Bearer header as in the [REST quickstart](https://octo-98895abd.mintlify.site/api-docs/v2/quickstart.md#authenticate-and-discover-resources).

**2. Discover tools and resolve the ticker**

Initialize the connection, then use `tools/list` to load the input schemas. Call `silo_search` with `{"q":"PETR4"}` and identify the listed security in the returned rows.

**3. Check coverage and read the price**

Call `silo_coverage` with `{"dataset":["quotes"]}`. Then call `silo_prices` with `{"id":"PETR4","kind":"latest"}` to read the raw close and trade date.

## Read tool results

Use the JSON envelope in the first text block of a successful result. It contains `data`, `meta`, and sometimes `next_page_url`. Check `meta.tier` on a data call when testing access. A tool error sets `isError`. Gateway errors include an `error` object and input-validation failures can be plain text. Branch on `error.code` and `error.reason`, not on the message: `over_limit` with `reason: row_cap` means narrow or page, `tier_cap` means narrow or sign in, and `unknown_id` means look the id up again with `silo_search`. The provenance line (the second text block) of a successful call ends with `· cite: SILO <meta.source> · read <meta.endpoint> · data through <meta.data_through>`; cite those three, never a URL the result does not give. MCP has no response headers, so a `rate_limited` result ends its provenance line (the second text block) with `· Retry-After <n> s`. Wait that many seconds before the next call. See [pagination and errors](https://octo-98895abd.mintlify.site/api-docs/v2/responses.md#error-contract).

For another GET page, extract the opaque `cursor` from `next_page_url` and call the same tool with that cursor alone. If a POST result supplies a next page, send the same body as well. A tier cap marks a partial result. For research and citation, use the [agent workflow](https://octo-98895abd.mintlify.site/api-docs/v2/agents.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.