MCP and the CLI

MCP server

Connect ChatGPT, Claude, Claude Code, Codex, Cursor and other MCP clients to Tabbio. The credentials the server accepts, OAuth discovery and client registration, personal MCP tokens, approvals, errors, and a curl walkthrough.

The Tabbio MCP server at https://server.tabbio.com/api/mcp lets an AI assistant work in a person's Tabbio account: their profile, CVs, jobs, applications and messages. It serves 192 tools today, and 76 of them wait for the person's approval every time they are called.

Most clients sign in with OAuth: the client finds Tabbio's authorization server, registers itself, sends the person through the same consent screen as Sign in with Tabbio, and calls the server with a bearer token. With OAuth, nobody pastes a token. Clients that cannot run a browser sign-in use a personal MCP token instead. A person with no Tabbio account creates one in Tabbio first, then signs in the same way.

This page is for people building an MCP client and for IT admins deciding whether to allow one. A person connecting their own account only needs the setup steps on tabbio.com.

At a glance

WhatValue
MCP server (the resource)https://server.tabbio.com/api/mcp
TransportStreamable HTTP, one request at a time, no session id
Issuerhttps://server.tabbio.com
Protected resource metadatahttps://server.tabbio.com/.well-known/oauth-protected-resource/api/mcp, also served at /.well-known/oauth-protected-resource
Authorization server metadatahttps://server.tabbio.com/.well-known/oauth-authorization-server
Authorization endpointhttps://app.tabbio.com/oauth/authorize
Token endpointhttps://server.tabbio.com/oauth/token
Registration endpointhttps://server.tabbio.com/oauth/register
PKCES256 only, always required
resource parameterhttps://server.tabbio.com/api/mcp on authorize, token and refresh
Scopesmcp:read, mcp:write
Access token1 hour
Refresh token90 days from the latest rotation, rotated on every use

What the server accepts

CredentialWho uses itWhere it comes from
OAuth access token (tbo_at_)ChatGPT, Claude, Claude Code, Codex, Cursor, VS Code and any client that signs in by itselfSign in with Tabbio, with dynamic client registration, PKCE and resource. Must carry an MCP scope.
Personal MCP token (tabbio_mcp_)Clients that cannot run a browser sign-in, scripts, and the Tabbio CLI with `--token`Created by the person in the Tabbio app. While Tabbio's sign-up server is on, an assistant that finishes a sign-up through it also receives one. Always mcp:read mcp:write.
Tabbio CLI sessionThe Tabbio CLI after `tabbio login`, or after `tabbio signup` while Tabbio's sign-up server is onThe person's own Tabbio session. Used only by the CLI.

Two rules hold whichever credential arrives:

  • A token from Sign in with Tabbio that carries only user scopes (profile, email, cv:read, cv:contact) does not open the MCP server, and a token that carries only MCP scopes opens no /v1 endpoint: /v1 answers it with OAUTH_INSUFFICIENT_SCOPE.
  • None of these appear on the developer platform. MCP clients, personal MCP tokens and CLI sessions belong to the person, who manages them in the Tabbio app, and their calls are not counted in your usage, logs or limits.

Connect a client

The commands below were checked against the client versions named. Menus in ChatGPT and Claude move often, so the setup page on tabbio.com walks a person through them click by click.

Add a custom MCP connector with the server URL and OAuth as the authentication, and leave the client id and secret empty: ChatGPT registers itself. The person then signs in to Tabbio in the browser window ChatGPT opens. ChatGPT cannot send a header, so it always uses OAuth.

Text
https://server.tabbio.com/api/mcp

Personal MCP tokens

A person creates a token in the Tabbio app under Settings > Plugins > MCP access (app.tabbio.com/settings/mcp), copies it once, and pastes it into a client that cannot sign in by itself. A token:

  • starts with tabbio_mcp_ and always carries mcp:read mcp:write;
  • covers the person's own profile, a set of company workspaces, or both, chosen when it is created;
  • does not expire on a clock. Creating a new token in Settings replaces the person's previous Settings token, Regenerate replaces that one token, and Revoke ends it at once.

Discovery

The 401 challenge

401 from /api/mcp with no token
HTTP/1.1 401 Unauthorized
WWW-Authenticate: Bearer resource_metadata="https://server.tabbio.com/.well-known/oauth-protected-resource/api/mcp", scope="mcp:read mcp:write"
Content-Type: application/json

{
  "error": "invalid_request",
  "error_description": "Bearer token required"
}

The challenge header is what an OAuth client starts its sign-in from. Tabbio's sign-up server for assistants is not available yet; once it is switched on, the body also names it in tabbio_signup_url and the description says how to reach it. The header does not change either way.

A token that is presented and refused gets the same challenge with error and error_description added. Every refusal is a real HTTP status with a raw JSON body, never a 200 with an error inside and never the { data, error, meta } envelope, because a real 401 is what makes clients start or restart the sign-in. The full list is under Errors.

Protected resource metadata (RFC 9728)

GEThttps://server.tabbio.com/.well-known/oauth-protected-resource/api/mcp

The same document is served at the root path, https://server.tabbio.com/.well-known/oauth-protected-resource, for clients that only ever probe the root. Both are public, raw JSON with no envelope.

200 OK
{
  "resource": "https://server.tabbio.com/api/mcp",
  "authorization_servers": ["https://server.tabbio.com"],
  "scopes_supported": ["mcp:read", "mcp:write"],
  "bearer_methods_supported": ["header"],
  "resource_name": "Tabbio",
  "resource_documentation": "https://developer.tabbio.com"
}

Authorization server metadata (RFC 8414)

GEThttps://server.tabbio.com/.well-known/oauth-authorization-server

This is the same document Sign in with Tabbio uses. The fields an MCP client reads:

200 OK (abridged)
{
  "issuer": "https://server.tabbio.com",
  "authorization_endpoint": "https://app.tabbio.com/oauth/authorize",
  "token_endpoint": "https://server.tabbio.com/oauth/token",
  "registration_endpoint": "https://server.tabbio.com/oauth/register",
  "revocation_endpoint": "https://server.tabbio.com/oauth/revoke",
  "scopes_supported": ["profile", "email", "cv:read", "cv:contact", "mcp:read", "mcp:write", "offline_access"],
  "response_types_supported": ["code"],
  "grant_types_supported": ["authorization_code", "refresh_token"],
  "code_challenge_methods_supported": ["S256"],
  "token_endpoint_auth_methods_supported": ["client_secret_basic", "client_secret_post", "none"],
  "authorization_response_iss_parameter_supported": true
}
  • The issuer is exactly https://server.tabbio.com: no path, no trailing slash. Compare it byte for byte.
  • The authorization endpoint lives on app.tabbio.com because the consent screen runs on the person's Tabbio session, with every sign-in method Tabbio offers. The redirect back still carries iss=https://server.tabbio.com.
  • offline_access is listed so clients know refresh tokens are on offer. Asking for it is accepted and changes nothing: Tabbio always issues a refresh token.

Use the advertised endpoints

Some clients ignore the metadata and try /authorize, /token and /register at the server origin. Those paths answer as aliases of the endpoints above, but they are a fallback for clients with that bug, not something to build against.

Registering a client (RFC 7591)

POSThttps://server.tabbio.com/oauth/register

Registration is open, takes JSON, and is rate limited per IP address: 20 registrations a minute and 300 an hour. It answers 201 Created with the flat RFC 7591 body, never the { data, error, meta } envelope.

FieldTypeDescription
redirect_urisrequiredstring[]

Where the person is sent back. See the rules below.

client_namestring

Shown on the consent screen, next to the redirect host and a Not verified by Tabbio label. Up to 80 characters. Defaults to the redirect host.

token_endpoint_auth_methodstring

none (the default) makes a public client that authenticates with PKCE alone. client_secret_post or client_secret_basic makes a confidential client and returns a client_secret once, with client_secret_expires_at 0.

One of none, client_secret_post, client_secret_basic

scopestring

Space separated. Only mcp:read, mcp:write, profile and email are kept; anything else is dropped, never refused. A request that names no MCP scope is given all four.

grant_typesstring[]

authorization_code and refresh_token. Unknown values are ignored.

response_typesstring[]

code.

application_typestring

web or native.

One of web, native

client_uristring

Stored with the client.

logo_uristring

Stored, never displayed. Anyone can register a client, so Tabbio does not load a logo nobody has reviewed.

software_idstring

Stored with the client.

software_versionstring

Stored with the client.

Terminal
curl -X POST https://server.tabbio.com/oauth/register \
  -H "Content-Type: application/json" \
  -d '{
    "client_name": "My MCP client",
    "redirect_uris": ["http://127.0.0.1:8976/callback"],
    "token_endpoint_auth_method": "none",
    "grant_types": ["authorization_code", "refresh_token"],
    "response_types": ["code"],
    "scope": "mcp:read mcp:write"
  }'
201 Created
{
  "client_id": "tbo_ci_7Hq2mLx9Vd4pR1sZ0bNc",
  "client_id_issued_at": 1792800000,
  "client_name": "My MCP client",
  "redirect_uris": ["http://127.0.0.1:8976/callback"],
  "grant_types": ["authorization_code", "refresh_token"],
  "response_types": ["code"],
  "token_endpoint_auth_method": "none",
  "scope": "mcp:read mcp:write"
}

A refused registration is a 400 with error set to invalid_redirect_uri or invalid_client_metadata and an error_description that names the field.

What a registered client is

  • It has no owner and never appears on the developer platform. The person sees it in the Tabbio app under Settings > Data controls > Apps with access, and can disconnect it there.
  • It can hold mcp:read, mcp:write, profile and email, and never a CV scope. A product that needs the person's CV registers an app on the developer platform instead.
  • A client that is never issued a token and never connects anyone is deleted 30 days after it registered. A client that connected anyone, even once, is kept, so register once per installation and reuse the client id.

Platform apps cannot hold MCP scopes

An app you create on the developer platform can only hold the four user scopes today. Asking for mcp:read or mcp:write with its client id is refused with invalid_scope. An MCP client registers itself at /oauth/register instead.

Redirect URIs

Registration applies the same rules as every Tabbio app:

  • https, or http only on a loopback address (127.0.0.1, localhost).
  • Loopback URIs match on any port, because a native client cannot reserve one in advance (RFC 8252 section 7.3). Everything else is an exact string match.
  • A custom scheme, such as cursor://, only for a public client (token_endpoint_auth_method none).
  • No fragments, and at most 10 URIs per client.

These are the redirect URIs the common clients registered when they were tested in October and November 2026. Tabbio does not keep a list of them; any URI that follows the rules above is accepted.

ClientRedirect URI
ChatGPThttps://chatgpt.com/connector_platform_oauth_redirect, or https://chatgpt.com/connector/oauth/ followed by a callback id
Claude on the web, Desktop and mobilehttps://claude.ai/api/mcp/auth_callback
Claude Codehttp://localhost:PORT/callback or http://127.0.0.1:PORT/callback
Codexhttp://127.0.0.1:PORT/callback
MCP Inspectorhttp://127.0.0.1:6274/oauth/callback (web) and http://127.0.0.1:6276/oauth/callback (CLI)
VS Codehttp://127.0.0.1:PORT/, https://vscode.dev/redirect, https://insiders.vscode.dev/redirect
Cursorcursor://anysphere.cursor-mcp/oauth/callback, plus loopback variants

The authorization request

GEThttps://app.tabbio.com/oauth/authorize

The parameters are the ones in the authorization flow, plus resource. scope may be omitted, which means every scope the client may request.

Authorization request
https://app.tabbio.com/oauth/authorize
  ?response_type=code
  &client_id=tbo_ci_7Hq2mLx9Vd4pR1sZ0bNc
  &redirect_uri=http%3A%2F%2F127.0.0.1%3A8976%2Fcallback
  &scope=mcp%3Aread%20mcp%3Awrite
  &state=s_4f1c
  &code_challenge=E9Melhoa2OwvFrEMTJguCHaoeK1t8URWbuGJSstw-cM
  &code_challenge_method=S256
  &resource=https%3A%2F%2Fserver.tabbio.com%2Fapi%2Fmcp

What the person sees

The consent screen is titled "Sign in to client name with Tabbio". For a client that registered itself, a box says "Not verified by Tabbio", names the host the person goes back to ("After you continue, you go back to 127.0.0.1.", or chatgpt.com, claude.ai), and adds "This app registered itself with Tabbio. Continue only if you started connecting Tabbio there." The redirect host is the only identity such a client has, which is why it is always shown.

Under "What client name will receive", a "Tabbio tools" group lists the two scopes:

ScopeGrants
mcp:readUse Tabbio tools (read): see the person's profile, CVs, jobs, applications and messages. Required whenever it is requested.
mcp:writeUse Tabbio tools (write): make changes for them, like tailoring a CV or drafting a message. Actions that need their approval still wait for them in Tabbio. The person can turn it off.

mcp:read is marked Required and has no switch: without it the client cannot even list the tools. mcp:write has a switch, on by default; turning it off leaves a read-only connection. A client that also asks for profile and email gets two more required rows first, "Name, username and profile photo" and "Email address". The buttons are Continue and Cancel. When the client is already connected, the title reads "client name is already connected" and the switch keeps the person's last choice.

The callback

Text
http://127.0.0.1:8976/callback?code=tbo_ac_yLh0dJ8Q1s5B&state=s_4f1c&iss=https%3A%2F%2Fserver.tabbio.com

Check state, then check that iss is exactly https://server.tabbio.com (RFC 9207). A refusal carries error=access_denied with the same state and iss.

The resource parameter (RFC 8707)

  • Send resource=https://server.tabbio.com/api/mcp on the authorization request, the code exchange and every refresh.
  • Any other value is refused with invalid_target: on the authorization request as an error redirect, on the token endpoint as a flat 400.
  • A request with MCP scopes and no resource is bound to the MCP server anyway, so older clients still work.
  • The MCP server refuses a token bound to any other resource.

Tokens

POSThttps://server.tabbio.com/oauth/token

The exchange is the one in the authorization flow, with resource added. A public client sends client_id alone; a confidential client adds its secret in the body or with HTTP Basic.

200 OK
{
  "access_token": "tbo_at_9QpX2f",
  "token_type": "Bearer",
  "expires_in": 3600,
  "refresh_token": "tbo_rt_4Kd81a",
  "scope": "mcp:read mcp:write"
}
FieldTypeDescription
Authorization code10 minutes

Single use. A second exchange revokes every token minted from it.

Access token1 hour

Sent as Authorization: Bearer on every /api/mcp call.

Refresh token90 days

Rotated on every use. The 90 days runs from the most recent rotation.

Rotation works as described in Tokens, including the allowance that matters most to MCP clients, which often refresh from several places at once: a rotated refresh token presented again within 60 seconds returns a fresh pair on the same chain. After 60 seconds, presenting it again is treated as theft and revokes the whole chain. A dead refresh token answers invalid_grant; send the person through authorization again.

Calling the MCP server

Send the access token, or a personal MCP token, as a bearer token. MCP runs over streamable HTTP, so ask for both JSON and an event stream. Answers arrive as server-sent event frames.

Terminal
curl https://server.tabbio.com/api/mcp \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
  • tools/list returns 192 tools. Tabbio can switch an individual tool off, so treat the list as the authority and do not hard-code it. A client sees each tool by its camelCase name, such as cvList.
  • A read-only connection (mcp:read only) still lists every tool. The read-only tools work; a tool that changes data answers "This MCP token does not allow writes" when it is called, not a new sign-in.
  • A successful call's text content is the tool's own JSON. A refused or failed call is still a tool result, not an HTTP error: either marked isError: true (for example, a write on a read-only connection, or a record that does not exist), or a result whose JSON has ok: false and an error code (for example, input that fails the tool's schema). Either way the assistant can explain it to the person.
  • 25 tools act for a company workspace rather than the person. An OAuth connection reaches only the company workspaces whose plan allows assistant access; a personal MCP token reaches the ones the person chose when they made it.
  • A token that stops working answers 401 with the challenge above. Refresh once; if the refresh fails, start the sign-in again.

Approvals

Applying to a job, sending a message, deleting a CV and the other actions that need the person's say do not run when a client calls them. The tool answers with an approval instead:

Tool result
{
  "approvalRequired": true,
  "approvalId": "cmh7q2x9k0004s8l1v2b3n4m5",
  "status": "pending",
  "message": "This Tabbio action requires approval in Settings before it runs.",
  "toolName": "jobs.apply"
}
  • The person approves or rejects it in the Tabbio app, under Settings > Plugins > MCP access > Pending approvals, where each request is listed by its tool id and time, or from the Tabbio CLI with tabbio approvals (with a full sign-in), where tabbio approvals show also prints the request's arguments. Approving runs the action on Tabbio's side.
  • The client polls mcpApprovalStatus with the approvalId. Its status moves from pending to approved or rejected. The status carries no tool output, so tell the person what happened rather than calling the tool again.
  • An approval for an action tied to what the person saw, such as publishing a CV, can carry expiresAt. It is refused if the thing it was about changed in the meantime.
  • Over MCP, every tool that needs approval asks every time: there is no "always allow" for an MCP client. That includes applying to a job, cancelling an application, and changing or running Auto Apply.

Walkthrough with curl

This runs the whole flow by hand with a public client and a loopback redirect. Nothing needs to listen on the port: the browser shows an error page and the code is in its address bar.

  1. Probe the server

    Terminal
    curl -i https://server.tabbio.com/api/mcp \
      -H "Content-Type: application/json" \
      -H "Accept: application/json, text/event-stream" \
      -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

    Expect 401 and the WWW-Authenticate header.

  2. Read the metadata

    Terminal
    curl https://server.tabbio.com/.well-known/oauth-protected-resource/api/mcp
    curl https://server.tabbio.com/.well-known/oauth-authorization-server
  3. Register a client

    Terminal
    curl -X POST https://server.tabbio.com/oauth/register \
      -H "Content-Type: application/json" \
      -d '{"client_name":"curl walkthrough","redirect_uris":["http://127.0.0.1:8976/callback"],"token_endpoint_auth_method":"none"}'

    Keep the client_id from the response as CLIENT_ID.

  4. Make a PKCE pair

    Terminal
    CODE_VERIFIER=$(openssl rand -base64 48 | tr '+/' '-_' | tr -d '=\n')
    CODE_CHALLENGE=$(printf '%s' "$CODE_VERIFIER" \
      | openssl dgst -sha256 -binary | openssl base64 -A | tr '+/' '-_' | tr -d '=')
  5. Authorize in a browser

    Terminal
    echo "https://app.tabbio.com/oauth/authorize?response_type=code&client_id=$CLIENT_ID&redirect_uri=http%3A%2F%2F127.0.0.1%3A8976%2Fcallback&scope=mcp%3Aread%20mcp%3Awrite&state=s_4f1c&code_challenge=$CODE_CHALLENGE&code_challenge_method=S256&resource=https%3A%2F%2Fserver.tabbio.com%2Fapi%2Fmcp"

    Open the printed URL, sign in, approve, and copy code from the address bar of the page you land on as CODE. Check that state is s_4f1c and iss is https://server.tabbio.com.

  6. Exchange the code

    Terminal
    curl -X POST https://server.tabbio.com/oauth/token \
      -H "Content-Type: application/x-www-form-urlencoded" \
      -d "grant_type=authorization_code" \
      -d "code=$CODE" \
      -d "code_verifier=$CODE_VERIFIER" \
      -d "client_id=$CLIENT_ID" \
      --data-urlencode "redirect_uri=http://127.0.0.1:8976/callback" \
      --data-urlencode "resource=https://server.tabbio.com/api/mcp"

    Keep access_token as ACCESS_TOKEN and refresh_token as REFRESH_TOKEN.

  7. List the tools

    Terminal
    curl https://server.tabbio.com/api/mcp \
      -H "Authorization: Bearer $ACCESS_TOKEN" \
      -H "Content-Type: application/json" \
      -H "Accept: application/json, text/event-stream" \
      -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

    A full MCP client sends initialize first. tools/list on its own is enough to prove the token works.

  8. Refresh

    Terminal
    curl -X POST https://server.tabbio.com/oauth/token \
      -H "Content-Type: application/x-www-form-urlencoded" \
      -d "grant_type=refresh_token" \
      -d "refresh_token=$REFRESH_TOKEN" \
      -d "client_id=$CLIENT_ID" \
      --data-urlencode "resource=https://server.tabbio.com/api/mcp"

    Both values in the response are new. The old refresh token stops working after the 60 second allowance.

To clean up, disconnect the client in the Tabbio app under Settings > Data controls > Apps with access. The next call to /api/mcp with the old token answers 401.

Errors

From the MCP server

These answer before any tool runs.

HTTPerrorWhen
401invalid_requestNo Authorization header. The challenge carries no error. While Tabbio's sign-up server is on, the body also carries tabbio_signup_url.
401invalid_tokenThe token is unknown, expired or revoked, or the person disconnected the client. Refresh once, then sign in again.
401invalid_tokenA Tabbio OAuth token issued for something other than the MCP server, such as a Sign in with Tabbio token minted without resource. The description names the MCP server.
403insufficient_scopeA live Tabbio OAuth token issued for the MCP server that carries neither mcp:read nor mcp:write, for example after a refresh narrowed it to profile. Ask for an MCP scope.
503server_errorTabbio cannot check tokens for a moment. Retry-After: 5 and no challenge: retry, do not start a new sign-in.

From registration and tokens

WhereErrorMeaning
/oauth/registerinvalid_redirect_uriA redirect URI breaks the rules above. The description names it.
/oauth/registerinvalid_client_metadataAnother field is malformed, such as an unknown token_endpoint_auth_method.
Authorization redirectinvalid_scopeA platform app asked for an MCP scope, or another scope outside its allowed scopes. A client that registered itself never gets this: scopes it may not hold are dropped.
Authorization redirect, /oauth/tokeninvalid_targetresource names something other than https://server.tabbio.com/api/mcp.
/oauth/tokeninvalid_grantA used or expired code, a PKCE mismatch, or a dead refresh token.

The other token endpoint errors are listed in the authorization flow.

For IT admins

  • Hosts. Clients reach server.tabbio.com (the MCP server, metadata, registration and tokens). People's browsers reach app.tabbio.com (sign-in and consent).
  • Credentials. With OAuth, each person signs in with their own Tabbio account in their own browser. The AI client never sees a password, and there is no shared key to manage. A personal MCP token is one person's token, made and revoked by that person.
  • Reach. A connection acts for the person in their own Tabbio account. It reaches a company workspace they belong to only when that workspace's plan allows assistant access; a suspended or paused workspace is left out.
  • Approvals. Actions that need approval wait for the person in Tabbio, whichever client asked for them.
  • Revocation. People see every OAuth client they connected under Settings > Data controls > Apps with access (the consent screen's footer calls it Connected apps), and their MCP tokens under Settings > Plugins > MCP access. Disconnecting a client or revoking a token ends it at once.
  • Adding the connector. On Claude Team and Enterprise an Owner adds the connector for the organisation and each member then connects their own account. On ChatGPT Business and Enterprise, workspace admins control whether members can add custom MCP servers. Both were true when the clients were tested in October 2026.