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
- Your MCP client discovers Ink's OAuth configuration at
/.well-known/oauth-authorization-server - The client opens a browser window for you to sign in with your Ink account
- After signing in, Ink automatically creates an agent key and returns it to the client
- 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 key | MCP OAuth | |
|---|---|---|
| Setup | Copy-paste API key | Click approve |
| Key management | You manage keys | Auto-created |
| Supported clients | All clients | OAuth-capable clients |
| Revoking | Dashboard | Dashboard |
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.