Authentication & Scopes
The Booked55 MCP server supports two authentication methods: OAuth 2.0 for interactive AI clients like ChatGPT, and API keys for programmatic access.
OAuth 2.0 (ChatGPT & browser-based clients)
When you connect ChatGPT or another browser-based AI client, the MCP server uses the OAuth 2.0 Authorization Code flow with PKCE (Proof Key for Code Exchange). This is the same standard used by Google, GitHub, and other major platforms.
How the flow works
- Authorise: ChatGPT redirects you to the Booked55 login page with a
client_id,redirect_uri, requestedscope, and acode_challenge. - Login & consent: You sign in with your Booked55 credentials and approve the requested permissions.
- Callback: Booked55 redirects back to ChatGPT with an authorization
code. - Token exchange: ChatGPT exchanges the code (plus the
code_verifier) for an access token and refresh token. - API calls: ChatGPT includes the access token in every MCP tool call. When it expires, the refresh token is used to get a new one.
OAuth endpoints
| Endpoint | URL | Purpose |
|---|---|---|
| Authorise | /oauth/authorize | Start the login flow |
| Token | /oauth/token | Exchange code for tokens |
| User Info | /oauth/userinfo | Get current user profile |
| Introspect | /oauth/introspect | Validate a token (RFC 7662) |
| Revoke | /oauth/revoke | Revoke a token (RFC 7009) |
API Key (programmatic access)
For scripts, automations, or non-browser AI clients, you can authenticate with an API key instead of OAuth.
- Go to Workspace Settings → API Keys in your Booked55 dashboard.
- Click Generate API Key.
- Copy the key (it starts with
vg_). - Pass it in the
Authorizationheader:Authorization: Bearer vg_your_api_key_here
Scopes
Scopes control what the MCP server is allowed to do on your behalf. When you authorise via OAuth, you approve the requested scopes.
| Scope | Description |
|---|---|
read:contacts | Search and view contacts |
write:contacts | Create and update contacts |
delete:contacts | Delete contacts |
read:companies | Search and view companies |
write:companies | Create and update companies |
read:tasks | List and view tasks |
write:tasks | Create tasks |
complete:tasks | Mark tasks as complete |
read:events | Search and view events |
write:events | Create events |
openid | OpenID Connect identity |
profile | User profile information |
email | User email address |
Related
Ready to get started?
Create your free Booked55 account and start managing your sales pipeline in minutes.