Connectors
Connectors let threads call tools from remote MCP servers such as Linear, Sentry, GitHub’s MCP server, or an internal service. An org admin adds a connector once, and the control plane acts as the MCP client—holding credentials and forwarding calls so tokens never reach a machine.
Add a connector
Section titled “Add a connector”Org owners and admins add connectors in Settings → Connectors → Add: enter the server URL, click Check, name it, and pick its authentication mode. Or from the CLI:
anastroctl connector add linear https://mcp.linear.app/mcpanastroctl connector add internal https://mcp.example.com/mcp --header 'Authorization: -' # reads from stdinanastroctl connector add sentry https://mcp.sentry.dev/mcp --project api --project webThe server must speak MCP’s Streamable HTTP or legacy HTTP+SSE transport over public https://.
Adding a server probes it first to verify reachability and discover OAuth metadata.
| Authentication | Who calls run as |
|---|---|
| No authentication | Unauthenticated |
| Shared header | One org-wide header (Authorization: Bearer …, X-API-Key: …) |
| Per-user header | Each user provides their own header; threads use the acting user’s credential |
| OAuth | Each user connects their own account; threads act as that user |
If an OAuth server doesn’t support dynamic client registration, pass your pre-registered client with
--client-id and --client-secret-file, and register the exact redirect URI shown by Connect
(including its server and issuer query parameters). Pass --project (repeatable) to restrict a
connector to specific projects; otherwise every project in the org can use it.
anastroctl connector list # org connectors and your connection statusanastroctl connector delete linear # removes the server and everyone's connectionsConnect your account
Section titled “Connect your account”For OAuth connectors, each user links their own account in Settings → Connectors → Connect (or Reconnect if a token expires).
With the Cloudflare Tunnel enabled, OAuth redirects return
through your cluster’s hooks hostname and finish over iroh—so desktop, iPhone, and anastroctl connector connect all complete automatically. Without a tunnel, OAuth redirects back to
anastroctl ui or the desktop app, so start the flow from there.
anastroctl connector connect linearanastroctl connector tools linear # list tools visible to your accountanastroctl connector disconnect linearWhat threads get
Section titled “What threads get”- Each remote tool is exposed to the agent as
mcp__<server>__<tool>with its upstream description. - Calls run with the acting user’s own connection, so the agent can only do what that person can do.
- Unconnected servers are still named to the agent, so it can ask you to connect one in Settings → Connectors when a task needs it.
- Tool calls appear in the thread log under the server’s name (e.g.
linear · create issue). In supervised mode they wait for approval, and project owners can choose Always allow in this project per tool. - Every call is recorded in the audit log with server, tool, thread, and user—never arguments or results.
Edit connectors and per-user keys
Section titled “Edit connectors and per-user keys”Click Edit in Settings to update a connector’s name, URL, auth mode, or project list (changing the URL or OAuth identity disconnects existing users; stored secrets are never echoed back to the browser):
anastroctl connector edit linear --new-name issues --project apianastroctl connector add private https://mcp.example.com/sse --auth user_headeranastroctl connector connect private --header 'Authorization: -'Resources, prompts, and server requests
Section titled “Resources, prompts, and server requests”Expand a connector in Settings to inspect its resources and prompt templates. Agents can browse and
read them via mcp_request (remote prompts are returned as data for review rather than executed
blindly).
A remote server can also ask the user for input (elicitation) or request an LLM completion (sampling):
- Requests appear above the thread composer labeled with the server’s name, and expire after 4 minutes. Only the acting user can answer.
- Elicitation supports flat forms (
string,number,integer,boolean, enum choices, and length/numeric bounds); never enter passwords or API keys in these forms. URL-mode elicitation is not supported. - Sampling always asks you to review the prompt before generation and the response before sending it back—even in full-access threads. It uses your org’s default model with no automatic thread context attached. Image and audio sampling are not supported.
- Threads: approvals and allow rules.
- MCP server: use Anastro from external MCP clients.
- Full design: Connectors in the spec.