Which one you need
HeyServo signs apps in with OAuth 2.1, the same way it signs in AI apps like Claude. Most people never need this page: Claude, ChatGPT and Cursor register themselves. Use it when you build something of your own.
| Service client | OAuth app | |
|---|---|---|
| For | Your own server, with no person signed in | Your own app that people sign in to with their HeyServo account |
| Acts as | One of the workspace's custom roles | The person who signs in and approves it |
| Grant | client_credentials | Authorization code with PKCE |
| Secret | Always, shown once | Only if Confidential is on |
| Reaches | The MCP tools that do not need a person | Every MCP tool the person and the approved scopes allow |
Service clients
A service client is a client id and secret that act as one of the workspace's custom roles, with no person signed in. Your server exchanges them for an access token, then uses the token with the MCP server.
GoalA client id and secret stored on your server.
- 1
Create a custom role for the job
On Roles and permissions, make a role with only what the server needs, for example
Order syncwith Work tickets. Built-in roles cannot be used: they are for people. - 2
Open DevelopersMCP & OAuth and click New service client
- 3
Fill in Name, Acts as and Scopes
The scopes are a ceiling on top of the role.
- 4
Click Create and copy the secret
Copy the client secret now shows the Client ID, the secret and a Get a token command. The secret is shown only once.
- NameText
- Your label, for example
Order sync. - Acts asChoice
- Custom roles only; the built-in ones are for people. With none: "This workspace has no custom roles yet. Create one on Roles first." and Open Roles.
- ScopesList
- A ceiling: the client holds the role's permissions under these scopes, and never more than you hold yourself. The scope names are on MCP server.
- CreateButton
- Makes the client and shows its secret once.
- Like a console key, a service client needs you to reach every assistant, and it can never hold more than your own role.
- It has no person behind it, so tools that act as a person (knowledge, contacts, the team and others) are hidden from it. It reaches what a console key could: conversations, leads, calls, tickets, usage and the like.
Get a token
curl -X POST https://app.heyservo.ai/oauth/token \
-u YOUR_CLIENT_ID:YOUR_CLIENT_SECRET \
-d grant_type=client_credentialsThe access token lasts 60 minutes by default. Ask for a new one when it runs out. Connect your MCP client library to the Server URL from DevelopersMCP & OAuth with the token as a Bearer token.
Rotate or remove
- Rotate secretButton
- The old secret stops working at once; update whatever uses it. You see New secret ready.
- RemoveButton
- Anything using this client stops working at once. This can't be undone.
OAuth apps
An OAuth app is your own app that signs people in through HeyServo, with redirect URIs of its own. Each person sees the same consent screen as for Claude, approves it, and the app then acts as them.
GoalA client id your app can sign people in with.
- 1
Open DevelopersMCP & OAuth and click New OAuth app
- 2
Give it a Name and its Redirect URIs
One per line. https, or http on localhost for a desktop app.
- 3
Decide on Confidential
On for a server-side app that can keep a client secret. Off for a desktop, mobile or browser app.
- 4
Click Create
A public app: "OAuth app created. Its client id is in the list." A confidential app opens Copy the client secret now with its client id and secret, shown once.
- NameText
- What people see on the consent screen.
- Redirect URIsList
- Where HeyServo may send people back after they approve. They must match exactly, except that a
localhostor127.0.0.1address may use any port.Limit 20 - ConfidentialSwitch
- A server-side app that can keep a client secret. Leave off for a desktop, mobile or browser app.Default
Off
- Redirect URIsShown
- Where it may send people back.
- TypeShown
- Confidential or Public.
- {n} people connectedShown
- How many people have approved it.
- Rotate secret, RemoveButton
- As for service clients.
The sign-in flow
HeyServo is a standard OAuth 2.1 authorization server. Most OAuth libraries need only its discovery address.
- Your app reads
/.well-known/oauth-authorization-serveron the HeyServo base address for the endpoints. - It sends the person to
/oauth/authorizewith your client id, a redirect URI, the scopes, astateand a PKCE challenge (S256only). Ask foroffline_accessto get a refresh token. - The person signs in if needed and answers the consent screen. They can untick scopes, never add.
- HeyServo redirects back with
code,stateandiss. The code lasts ten minutes and works once. - Your app exchanges the code at
/oauth/tokenwith the PKCE verifier (and the secret, if confidential). - It calls the MCP server with
Authorization: Bearer <access token>. - When the access token runs out, it uses the refresh token at
/oauth/token. Each use gives a new refresh token; using an old one twice ends the connection.
| Endpoint | Use |
|---|---|
/.well-known/oauth-authorization-server | Discovery: every endpoint and what the server supports |
/oauth/authorize | Send the person here to sign in and approve |
/oauth/token | Exchange a code, refresh a token, or get a service client token |
/oauth/revoke | Revoke a token |
/oauth/register | Dynamic registration for public clients |
/.well-known/jwks.json | The keys tokens are signed with |
Kinds of client
| Label | What it is |
|---|---|
| Published app | An app that publishes its own client document, such as Claude. |
| Self-registered app | An app that registered itself when it first connected, such as Cursor. |
| Registered here | An OAuth app made on this page. |
| Service client | A service client made on this page. |
Connected apps
Everyone sees the apps they let in under their account menu's Connected apps, with the workspaces, access and tool profile each has, and can Disconnect any of them. See MCP server.