Skip to content
Anlyon
Esc
↑↓navigate↵open⌘Jpreview
On this page

Connect a service

Choose how your agent reaches a service such as GitHub, Linear or Stripe: by signing in, with an API key, or through the vendor's own MCP server. Every call runs under the same approvals, limits and receipts.

Your agent can act in your company’s accounts and in your users’ own accounts without ever holding their tokens or keys. Anlyon keeps the credential and adds it to each request at dispatch. Whichever way you connect a service, every call goes through the same approvals, counts against the same limits and leaves the same record.

A service is one product your agent works in, such as GitHub, Linear or Stripe. Each service offers one or more ways to connect: signing in, an API key, or the vendor’s own MCP server. Linear, GitHub and Notion offer all three.

Sign in

A person signs in at the service’s own consent page, and Anlyon stores and refreshes the token. No key is created or pasted.

  • Pick it when the service offers it and you would rather approve access than manage a key, or when your users connect their own accounts: they sign in at the provider, not in your app.
  • How: in the console, open Integrations and connect the service. From the CLI, anlyon connections add github --secret GITHUB opens the consent page and waits. From the API, start a connect session and complete it.

Signing in reaches a service’s full toolset. Some services need your own OAuth app in an environment before anyone can sign in. See Connect an account by signing in and What Anlyon asks for when you sign in.

API key

You create a key in the service’s settings and give it to Anlyon. Anlyon checks it with the service once before storing it, and a key the service refuses is never stored.

  • Pick it when the service connects only with a key, when you or your users already have one, or when you want the key’s own permissions at the provider to bound what the agent can do.
  • How: in the console, open Integrations and connect the service with its key. From the CLI, anlyon connections add stripe --secret STRIPE asks for the key without echoing it. From the API, send it to POST /api/v2/connections/keys.

An API key reaches the same full toolset as signing in. See Connect an account with an API key and What to create at each provider.

GET /api/v2/connections/integrations says which of these two ways each service takes in your environment. anlyon connections integrations prints the same list.

MCP server

You register the vendor’s own remote MCP server with Anlyon. Anlyon lists its tools and adopts none of them. A person signs off each tool before your agent can call it, and a tool whose definition changes on the server stops until a person adopts it again.

  • Pick it when the service has no full toolset in Anlyon, or you want the tools the vendor publishes on its own server. It also works for any other remote MCP server, including your own.
  • How: from the CLI, anlyon mcp add <url> with the server’s credential as a stored secret, or --oauth for a server that signs people in. From the SDKs, mcpUpstreams.register(). Registering from the console needs no sign-off, because a person is already there.

See Govern a remote MCP server for the full setup, what needs a person, and what this way does not do.

Pick a way

Situation Way to pick
The service shows Full toolset and offers signing in Sign in
The service shows Full toolset, and you or your users already have a key API key
The service connects only with a key API key
The service shows Via MCP: its vendor runs its own MCP server MCP server
You want the vendor’s own MCP tools for a service that also has a full toolset MCP server
Another remote MCP server, such as your own MCP server, with any URL
A service not in the list that has an HTTPS API Govern any HTTP API, or import its OpenAPI spec

You can connect one service more than one way. Your approvals, limits and records apply to every call, whichever way it goes.

What the badges mean

Each service in the list carries one of two badges. It says what your agent gets from the service at best.

Badge What your agent gets
Full toolset An Anlyon pack: the reads and the checked writes an agent routinely needs on that service. Each write declares what it changes, counts against your limits and can wait for an approval. Where the service can show the change, Anlyon reads it back and the receipt is graded confirmed. You switch on the operations your agent needs.
Via MCP The vendor’s own MCP server. Its tools are listed live from the server, and only the tools a person adopted can be called. Each adopted tool is an action, so its calls go through your approvals and are recorded like any other, and a tool whose impact is declared when it is adopted counts against your limits. Anlyon does not read the change back, so these receipts are graded acknowledged.

A service with a full toolset can also list its vendor’s MCP server as a way to connect. The badge describes the deepest way on offer. The way you connect decides what your agent gets. See Receipts and grades for what each grade means.

Your users connecting their own accounts

Each of your users can connect their own account at a service, by signing in or with their own key, through a connect link your app sends them to. Your server names the user on each call, the model never chooses whose account it acts in, and limits, approvals and receipts work per user. The same holds for an MCP server that signs people in, or one each user brings their own key to. See Workspace connections and end-user connections and the Act for your users guide.

Was this page helpful?