Authentication and access management
Connect with Median OAuth or an MCP key, check company scope, and revoke access.
By Jacob Sheldon. Reviewed
Customer access preview
Customer MCP and REST access are previews. Median must confirm access for your company and client before you connect or build an integration. Live report-read and revocation acceptance are pending.
Authorize a custom connector
When customer MCP OAuth is enabled for your account, add https://api.medianfi.com/api/v1/mcp as a custom connector in Claude or as a custom app in a ChatGPT workspace that allows it. Sign in to Median and authorize the company shown on the consent screen. Client and workspace availability can vary.
- In Claude, open Settings, then Connectors, then Add custom connector.
- Enter the Median MCP endpoint and continue to Connect.
- Sign in to Median, check the company, and authorize read-only access.
- In Median Settings, open Integrations and find Connected apps. Choose Revoke beside a grant to remove that OAuth access. You can also remove the connector in its client settings.
Use an MCP key
If the MCP OAuth flow is unavailable for your account, an owner or admin can open Median Settings, then Integrations, and choose Generate MCP key. Copy the key when it is created and store it securely. Median displays active MCP keys in the MCP server card under Active connections.
The generated MCP key is broader than reports alone. Its read scopes include transactions, journal entries, chart of accounts and periods, reports, bank accounts, documents, fixed assets, loans, overview, subscription information, and connected data sources. The report tool reference covers only part of this access. Ask Median about narrower access if your client only needs reports.
An owner or admin can revoke an MCP key from Active connections. OAuth grants appear separately under Connected apps.
Understand what your AI client receives
An authorized AI client receives the company data returned by the tools it calls. Read-only access can still disclose sensitive financial information. Review the client's data retention, sharing, and privacy settings before connecting it, and authorize only a client you trust with that data.
For OAuth, review the company and scopes shown on Median's consent screen. For an MCP key, check its scopes before giving it to a client. Removing the connector or revoking access stops future requests through that credential; it does not delete data the client already received.
REST report API access
For REST reports, use the company-scoped API key provisioned by Median with the reports:read scope. Do not use an MCP OAuth token as a REST credential.
Protect credentials
- Never put a key in a URL, browser bundle, source repository, or shared prompt. Send it only over HTTPS in the header required by that connection.
- A credential is limited to its company and scopes. A request for another company or a resource outside the key’s scopes is denied.
- Revocation prevents future access through that grant or key. It does not delete data an AI client already received.