Need more detail? Connect your coding agent to the full docs.

Skip to Content
AMIRILDocs

Connect an MCP server with OAuth user sign-in

Register a tool server where a person must sign in at the vendor. You approve the login once, and Amiril renews it for the agents that use the server.

Some vendors let only a person sign in. With the OAuth, user sign-in method, you sign in at the vendor from Amiril and approve the access once. Amiril then renews the login on its own while the vendor allows it.

The agents act with the permissions of the account that signs in. Sign in with a shared account made for the agents where you can. A login made with your own account stops working when you leave and your account is removed.

Add the server

Open Tools and select Add server. Paste the server's MCP address into Server URL. When the server asks for a login, Amiril marks OAuth, user sign-in as Detected and selects it.

If the form shows Authorization URL and Token URL, the server did not say where its login service is. Copy both from the vendor's documentation.

Select Connect. The vendor's sign-in opens in a new window.

Sign in and approve the access. The window closes and the form reads Signed in at the vendor.

Select Test connection. Check the Name, the Slug and each tool's Access. Add a tool server explains each one. Then select the button that adds the tools, such as Add 2 tools.

Next, grant the tools to an agent.

When the vendor needs your own OAuth app

Amiril usually signs in with an OAuth app of its own, so you register nothing. A few vendors accept only an app registered with them. For those, the form says This vendor needs an OAuth app you registered with it, either when you paste the address or after you select Connect.

  1. Register an OAuth app in the vendor's settings.
  2. Copy the Return address from the form into the app's allowed redirect URLs.
  3. Enter the app's Client ID, and its Client secret if it has one.
  4. Select Connect, or Connect again if it shows, and go on from step 4 of Add the server.

Reconnect

A login ends when the account is removed, an admin at the vendor revokes the app or the vendor refuses to renew it. The server's status then changes to Reconnect needed, and the gateway refuses calls to its tools. Admins see a banner at the top of the app that names the server. Amiril also emails the person who connected the server and the owners of each agent that uses it.

Open the server and select Reconnect, then sign in at the vendor. The server works as soon as the new login is saved, and the agents keep the tools they were granted.

Next steps

Last updated on