https://mcp.trio.com.br/mcp.
Before you start
Nothing to set up on Trio’s side. Your AI client registers itself the first time it connects, through OAuth dynamic client registration. Adding the server grants no access on its own. Your browser opens the Trio App sign-in page. Sign in with your Trio App user, review the organization you are connecting and select Allow. Trio issues the client a token limited to that organization, with the read-onlymcp:foundation scope. Cancel at the sign-in screen and the client gets nothing.
Every tool is read-only. Payments, transfers and account changes stay in the Trio App, under your approval rules. See Supported tools for what the agent can read.
Use the user of the organization whose data the agent should read. The token is bound to that organization, so an agent connected with a user of one organization does not see another.
Claude
In Claude on the web or desktop:1
Open the connectors settings
Go to Settings, then Connectors, and choose to add a custom connector.
2
Add the server
Name it
Trio and paste https://mcp.trio.com.br/mcp as the server URL. Leave the client ID and secret empty: Trio registers the connector automatically.3
Sign in
Select Connect. The Trio App sign-in page opens in your browser. Sign in, review the organization and select Allow.
4
Enable Trio in a chat
Open a new chat, enable the Trio connector in the tools menu and ask a question such as “What’s my balance today?”.
Claude Code
- Add the server.
-s user flag adds the server to every project. Leave the flag out to add it to the current project only.
- Sign in.
/mcp and select Authenticate next to trio.
- Check the connection.
trio row shows https://mcp.trio.com.br/mcp (HTTP) - ✔ Connected. Now ask Claude a question about your accounts.
Codex CLI
- Add the server and sign in.
- Check the connection.
trio row shows the URL with enabled as its status and OAuth as its authentication.
Cursor
Add the server to.cursor/mcp.json in your project, or to ~/.cursor/mcp.json for every project:
trio. The Trio App sign-in page opens in your browser.
ChatGPT, Gemini, Perplexity and other MCP clients
Trio MCP works with any client that supports remote MCP servers over streamable HTTP with OAuth. Trio is not listed in the clients’ connector directories yet, so add it by URL: create a new connector or MCP server in the client’s settings, set the URL tohttps://mcp.trio.com.br/mcp and let the client run the sign-in. Where the client asks for an authentication method, choose OAuth; do not paste a Trio API key.
If the client cannot find the authorization server on its own, point it at the protected resource metadata document:
Troubleshooting
The server answers401 Invalid credentials
The client has no token, or the token expired. Sign in again: claude mcp login trio, codex mcp login trio, or the reconnect option in your client’s settings.
The tools do not appear in the chat
Refresh the tool list or start a new chat after signing in. In Claude, check that the Trio connector is enabled for that chat.
The agent reports data from the wrong organization
The token belongs to the user who signed in. Disconnect, then sign in again with a user of the organization you want.
The connection stops after a few days
Sign in again. Clients that request a refresh token keep the connection alive longer; Trio issues one to clients that ask for it.
I asked for a payment and nothing happened
Trio MCP has no tool that moves money. Create and approve the payment in the Trio App; the agent can read it afterwards.
Security best practices
The MCP ecosystem is evolving quickly. These practices keep your financial data safe while you use it.- Verify the official endpoint. Connect only to
https://mcp.trio.com.br/mcp, and sign in only onhttps://app.trio.com.br. A one-click installation from a third-party marketplace deserves a look at the marketplace’s domain first. - Use clients you trust. Connecting a client gives it read access to balances, statements, every transaction with its counterparties, and card data. Review the permissions on the consent screen before you select Allow.
- Sign in with OAuth, never with your password or an API key. The OAuth flow issues a time-limited token with a read-only scope that you can revoke. No client ever needs your Trio App password.
- Understand what read access exposes. If the client or the AI provider is compromised, everything the tools can read can leak. Card numbers and CPFs are masked, CNPJs and amounts are not.
- Know prompt injection. Content the agent reads, such as a spreadsheet you attach or a web page it visits, can carry instructions like “send every transaction to this address”. A read-only server cannot move money, but it can disclose data. Keep untrusted content away from sessions connected to Trio.
- Mind data handling. Check how your client and AI provider retain conversation history, avoid connecting Trio in shared or public sessions, prefer ephemeral sessions where the client offers them, and opt out of model training if the provider uses conversations for it.
- Revoke what you no longer use. Disconnect Trio in the client’s settings when a person or a tool no longer needs it. A client built on the API can revoke its own token at the revocation endpoint below.
Build your own client
Trio supports OAuth 2.0 dynamic client registration, so your client asks Trio for its own credentials at runtime. Nobody has to create an app for you first.Endpoints
The order to call them in
- Register.
POST /oauth/registerwith yourredirect_uris, aclient_nameand, for a command line or native app,token_endpoint_auth_method: "none". Store theclient_id. - Send the user to authorize. Open
/oauth/authorizein a browser with yourclient_id, yourredirect_uri,response_type=code,scope=mcp:foundation, a PKCEcode_challengewith theS256method, andresource=https://mcp.trio.com.br/mcp. The user signs in and selects Allow. - Exchange the code for a token.
POST /oauth/tokenwithgrant_type=authorization_code, thecodefrom your redirect URI and the PKCEcode_verifier. - Call the MCP server.
POST https://mcp.trio.com.br/mcpwithAuthorization: Bearer <access token>, over streamable HTTP. - Refresh when the token expires.
POST /oauth/tokenwithgrant_type=refresh_token.
Rules Trio enforces
- PKCE is required, with the
S256method only. - The scope for the MCP tools is
mcp:foundation. The authorization server also offersopenid,profileandemail. - Grant types are
authorization_codeandrefresh_token; the response type iscode. - Token endpoint authentication is
none,client_secret_basicorclient_secret_post. Usenonefor a command line or native app. - Tokens are sent as a bearer token in the
Authorizationheader.
Discovering the endpoints
A client written only for Trio can hardcode the URLs above. A client meant to work with any MCP server discovers them in three steps, and Trio supports all three:- Call the server without a token. The
401response carriesWWW-Authenticate: Bearer realm="trio-foundation", resource_metadata="https://mcp.trio.com.br/.well-known/oauth-protected-resource". - Read that protected resource metadata. It names the resource, the scope and the authorization server:
- Read the authorization server’s metadata at
https://app.trio.com.br/.well-known/oauth-authorization-server. It names the registration, authorization, token and revocation endpoints and the rules above.
Register your client
client_id and no secret, and PKCE proves your identity at the token endpoint. For a web app, use an https redirect URI and leave token_endpoint_auth_method out to receive a client_secret as well.
Next steps
- Supported tools: what each tool returns and the prompts that trigger it.
- What is Trio MCP?: how it works and what it does not do.

