LiorDocs

MCP sign-in: OAuth, consent and keys

OAuth 2.1 for apps such as Claude and ChatGPT, a key for your own agents. Every call requires a sign-in, and consent applies to the server.

Last updated:

The server needs an Lior account, even for initialize and tools/list. When an app acts for you (Claude, ChatGPT, Cursor, VS Code) it uses OAuth 2.1; your own agent without a browser takes an ath_ key, which only works with Lior. If something does not work, see Troubleshooting.

How sign-in works

  1. The app calls the server and gets 401 with the WWW-Authenticate header, naming the rights and the description of the sign-in.
  2. You sign in to Lior, for example with a code by email.
  3. On app.liorhq.com/verbinden you see which app wants to connect to the server and which rights it asks for. The base right (lesen) is always on. vorschlagen is on if the app asks for it. The boundary right (freigeben) is off until you switch it on, unless you already gave it to this app.
  4. The app gets a token, valid for an hour, renewable and only at this server. Lior checks the consent on every call: disconnecting blocks the app at once.

If an app registered itself, the page says its name is not verified: connect it only if you have just set it up yourself.

Disconnecting

In Settings, MCP under Connected apps you disconnect each connection on its own; that also ends its events.

For client developers

Lior
Resourcehttps://mcp.liorhq.com/mcp
Metadatahttps://mcp.liorhq.com/.well-known/oauth-protected-resource/mcp
Scopeslesen, vorschlagen, freigeben

Lior accounts have one server of their own: resource https://mcp.liorhq.com/mcp, metadata https://mcp.liorhq.com/.well-known/oauth-protected-resource/mcp, authorization server https://app.liorhq.com/api/auth, the scopes of Lior. Its tokens are valid only there.

If a right is missing, the server answers 403 with insufficient_scope (the scope lists the existing and the missing right). An invalid, expired, revoked token, or one issued for the other server, gets 401 with invalid_token.

Keep reading

On this page