> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fiet.finance/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect MCP

> Add Fiet to Claude, Codex, Grok Build, Cursor or any MCP client.

Fiet's MCP is hosted by Fiet. There is one address:

```text theme={null}
https://api.fiet.finance/mcp
```

It uses streamable HTTP. You sign in through your browser at [console.fiet.finance](https://console.fiet.finance), so there is no key to paste.

> [tab] Claude Code
>
> ```bash theme={null}
> claude mcp add --transport http fiet https://api.fiet.finance/mcp
> ```
>
> Then run `/mcp` inside Claude Code, choose **fiet** and sign in.

> [tab] Claude
>
> In the Claude desktop or web app, open **Settings**, then **Connectors**, and add a custom connector with the address above. Sign in when prompted.

> [tab] Codex
>
> ```bash theme={null}
> codex mcp add fiet --url https://api.fiet.finance/mcp
> codex mcp login fiet
> ```

> [tab] Grok Build
>
> ```bash theme={null}
> grok mcp add --transport http fiet https://api.fiet.finance/mcp
> ```
>
> Check it with `grok mcp list`.

> [tab] Cursor
>
> Add this to `.cursor/mcp.json`, then sign in from Cursor's MCP settings.
>
> ```json theme={null}
> {
>   "mcpServers": {
>     "fiet": { "url": "https://api.fiet.finance/mcp" }
>   }
> }
> ```

> [tab] Other clients
>
> Any client that supports remote MCP servers over streamable HTTP works. Most accept this form:
>
> ```json theme={null}
> {
>   "mcpServers": {
>     "fiet": { "type": "http", "url": "https://api.fiet.finance/mcp" }
>   }
> }
> ```

## Let your agent do it

Add the Fiet MCP at [https://api.fiet.finance/mcp](https://api.fiet.finance/mcp) to your configuration, start the sign-in and give me the link.

Add the Fiet MCP at `https://api.fiet.finance/mcp` to your configuration, start the sign-in and give me the link.

## Agents without a browser

A scheduled job or a server cannot sign in through a browser. Create an API key in the [console](https://console.fiet.finance) and send it as a bearer token. Keep it in the environment and never in a prompt.

```bash theme={null}
claude mcp add --transport http fiet https://api.fiet.finance/mcp \
  --header "Authorization: Bearer $FIET_API_KEY"
```

Keys and their scopes are covered in [Hosted API](https://docs.fiet.finance/data/hosted-api.md).

## Troubleshooting

| Result | Meaning |
| - | - |
| `401` | Not signed in, or the key is missing, invalid, expired or revoked |
| `403` | Your sign-in or key lacks the scope |
| `429` | Limit reached; follow `Retry-After` |
| `503` | A required service is unavailable |

> [!NOTE]
>
> The address changes only if you run Value-as-Code yourself. See [Self-hosted VaC](https://docs.fiet.finance/open-source/run-locally.md).


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