The ByRecord connector lets the vendor's people ask Claude about the programme: which customers owe money now, what happened to a deal, how a statement ties out. It is a remote MCP server, served by the console itself. It reads what your console pages show you, as you, and changes nothing.
The vendor connector is how ByRecord controls service through your API. This page is about connecting Claude to the console.
| Address | https://<programme host>/mcp |
| Who can connect | The vendor's people: partner_sales, partner_ops and partner_finance |
| What it does | Reads what the person's console pages show them |
| What it never does | Writes: it cannot send, change, approve or pay anything |
| Sign-in | OAuth, in the console, as yourself |
| Transport | MCP over Streamable HTTP |
It works with Claude on the web, desktop and mobile, with Claude Code, and with any other client that speaks MCP over Streamable HTTP with OAuth.
Who can use it
Anyone with one of the vendor's roles can connect. The operator's staff and the programme's customers cannot: the console's consent page tells them their account can't connect apps.
A connection lasts only while its person qualifies. Every call checks that the person is still active and still holds one of the vendor's roles, so deactivating someone, or moving them to a role that cannot connect, stops every connection of theirs at once.
Connecting
- In Claude, open Settings, then Connectors, and choose Add custom connector.
- Paste
https://<programme host>/mcp, then choose Connect. - The console opens. Sign in if you are not signed in already.
- The console shows which app is asking, who you are signed in as, and what the app will be able to read. Choose Allow or Deny. Either way you return to Claude.
Then run /mcp in Claude Code and sign in when it asks. The console's consent page opens in your browser, as for Claude.
Give the client the address. It discovers the console's authorization server from the address itself, registers, and sends you to the console to sign in and allow it. See OAuth for what the client must support.
The address and these steps are also on your Security page in the console, under Connected apps.
A connection request waits up to 10 minutes for you to answer. After that, or once it has been answered, the console says the request has ended: start again from the app.
Allow a request only if you started connecting the app yourself, just now. If someone sent you a link to the consent page, deny it.
What it can read
Every tool is read-only, is marked so (readOnlyHint), and is a read of the console's own API as the person who connected. A tool your role cannot use is not offered at all, so Claude sees only the tools you can use.
| Tool | Answers | Roles |
|---|---|---|
whoami | Who the connection reads as, their role, and what they can ask about | All three |
find_customers | Finance: customers with what each was billed, paid and credited and owes now, and their standing, searched by name, legal name or bill number and filtered by standing or balance. Sales and ops: the customers you can see, with a rollup per customer, searched by name or email | All three |
get_customer | One customer's record: names, contacts, address, status | All three |
list_deals | Deals, meaning quotes and what came of them, newest activity first; yours only, or all | All three |
get_deal | One deal with its versions, what happened to it, and its order | All three |
customer_bills | Every bill of one customer with what is paid and still owed, every payment, and every credit note and refund | partner_finance |
customer_standing | Whether a customer is in good standing, at risk, on hold or suspended, with the rules, holds and decisions behind it | partner_finance |
customers_needing_attention | Customers at risk, on hold, eligible or requested for suspension, suspended, or waiting to be restored | partner_finance |
list_statements | The vendor's statements by period, with how each ties out | partner_finance |
get_statement | One statement in full: its lines, its totals and how it ties out | partner_finance |
Results are the console's own JSON, with the partner redaction applied and objects named by public ID: acc_… for a customer, inv_… for a bill, quo_… for a deal, stm_… for a statement. Money is in cents of the currency named beside it, dates are YYYY-MM-DD and times are UTC; the connector tells Claude so.
A question your role cannot answer in the console is refused the same way here: the tool answers that your role cannot see it in the console either. A record outside the programme is not found, exactly like one that does not exist.
Example questions
- Which customers owe money right now, and how much?
- Which customers need attention, and why?
- Show every bill, payment and credit for
acc_…. - Which customer is bill number … for?
- How did last month's statement tie out?
- List my deals, newest activity first.
- What happened on
quo_…, and where is its order? - Find the customer called … and show me their contacts and address.
- Who am I connected as, and what can I ask?
Disconnecting
- In the console. Security, under Connected apps, lists every app you connected, when you connected it and when it was last used. Disconnect ends a connection at once, whatever the app does.
- From the app. An app can revoke its own tokens (RFC 7009), which ends the connection.
- Automatically. Deactivating a person, or moving them to a role that cannot connect, ends every connection of theirs. A refresh token used twice ends its connection; see Security.
- By expiry. Each refresh token lasts 30 days. A connection whose app does not refresh it within that time expires, and the app must connect again.
Security
- Read-only by construction. A tool is a read of the console's API, made from inside the console with the connection's own token. The console accepts a connector token only from the connector itself and only to read (
GETandHEAD). From anywhere else, or for any other method, it is an invalid session, so a connector token is never a way into the console and can never change anything. - The console decides what you see. The same role checks, account scoping, partner redaction and public IDs apply as on your console pages. The connector adds no query of its own.
- Origin check. A request carrying an
Originheader is accepted only from the console's own address, fromhttps://claude.ai, or fromhttp://localhost,http://127.0.0.1orhttp://[::1]. Any other answers403, so a page on another site cannot reach the connector from your browser. - Tokens. Authorization codes and tokens are random, shown once, and stored only as SHA-256 hashes. A code lives 60 seconds and is spent by its first exchange, right or wrong. Access tokens last an hour. Refresh tokens last 30 days and are replaced on every use; one presented a second time is treated as a copy in someone else's hands, and the connection is revoked.
- Audited. Registering an app, allowing it, each tool call (
mcp.tool_called) and disconnecting it in the console are in the audit log, and each read is recorded like any request the vendor's people make. - Rate limited. The OAuth endpoints answer at most 60 requests in 15 minutes from one address.
OAuth
The console is its own OAuth 2.1 authorization server, as the MCP authorization specification and Claude's connectors expect. This section is for anyone building or configuring a client other than Claude.
| Step | Endpoint | What it takes |
|---|---|---|
| Discovery | GET /.well-known/oauth-protected-resource/mcp (RFC 9728) and GET /.well-known/oauth-authorization-server (RFC 8414) | Nothing. The first names the resource, https://<programme host>/mcp, and the authorization server, https://<programme host> |
| Registration | POST /api/oauth/register (RFC 7591) | Public clients only (token_endpoint_auth_method: none). One to ten redirect URIs, each https, or http on a loopback address; a loopback URI matches on any port (RFC 8252) |
| Authorization | GET /api/oauth/authorize | Authorization code with PKCE, S256 only. A resource, if given, must be https://<programme host>/mcp. The response carries iss (RFC 9207) |
| Tokens | POST /api/oauth/token | The authorization_code and refresh_token grants. The one scope is read |
| Revocation | POST /api/oauth/revoke (RFC 7009) | Either token; the connection ends |
An unauthenticated call to /mcp answers 401 with WWW-Authenticate: Bearer resource_metadata="https://<programme host>/.well-known/oauth-protected-resource/mcp", scope="read".
The MCP endpoint is stateless. It takes POST /mcp only and answers with JSON; GET and DELETE answer 405, because there is no stream to resume and no session to end. A request body can be up to 1 MB.
Client ID Metadata Documents are not supported yet: a client must register dynamically.
Limits
- Result size. A tool's result is cut at 100,000 characters, with a note asking Claude to narrow the question. Search and filter, by name, standing or balance, to keep answers inside it.
- Read-only. To send, change or decide anything, use the console.
- Time. A read the console takes longer than 30 seconds to answer fails.