Agents

MCP OAuth

Automatic authentication for MCP clients that support OAuth

Some MCP clients support OAuth-based authentication, which means they can automatically handle the login flow without you manually copying API keys.

How it works

  1. Your MCP client discovers Ink's OAuth configuration at /.well-known/oauth-authorization-server
  2. The client opens a browser window for you to sign in with your Ink account
  3. After signing in, Ink automatically creates an agent key and returns it to the client
  4. The client stores the key and uses it for all future requests

Supported clients

MCP OAuth works with any client that implements the MCP OAuth specification. The flow is transparent — you just approve the connection and the client handles the rest.

Manual vs OAuth

Manual keyMCP OAuth
SetupCopy-paste API keyClick approve
Key managementYou manage keysAuto-created
Supported clientsAll clientsOAuth-capable clients
RevokingDashboardDashboard

Both methods create the same type of agent key. You can see and revoke OAuth-created keys in your dashboard just like manually created ones.

On this page