Skip to content
FedTrustFederated TrustDocs

Enter at least two characters.

Type to search all documentation pages and sections. Use ↑ ↓ to move, Enter to open, and Esc to close.

MCP connector

fedtrustctl

fedtrustctl connects Claude Code, Codex and Cursor to the applications you sign in to with Federated Trust. It is an MCP connector: your agent works in those applications with your own access, and you sign in once with your passkey.

Install

Run one command in your terminal. It works on macOS, Linux and Windows, and needs no administrator rights.

macOS and Linux

curl -fsSL https://federatedtrust.com/install.sh | sh

Installs to ~/.local/bin/fedtrustctl. The download is checked against its published SHA-256 before anything is installed.

Windows

irm https://federatedtrust.com/install.ps1 | iex

Installs to %LOCALAPPDATA%\Programs\fedtrustctl\fedtrustctl.exe. The download is checked against its published SHA-256 before anything is installed.

What it does

Connects your coding agent

One command registers an MCP server with Claude Code, Codex or Cursor. The agent starts fedtrustctl itself whenever it needs the application.

Signs in as you

You approve a short code with your passkey in the browser. The agent then works with the access you already have in that application, and nothing more.

Keeps credentials out of your agent

Your sign-in is kept in your operating system’s credential manager. The agent’s configuration holds only the command to run, never a token.

Works with every application you can reach

Each application is a named resource. List them, sign in to the ones you use, and connect each to your agent separately.

Direct downloads

Each file is one platform’s build of the latest release, served with the size and checksum the release index records.

Version
0.47.0
Built
Source revision
cb6f51bf8afc
Files in fedtrustctl 0.47.0
PlatformFileSizeSHA-256Download
macOS (Apple silicon)fedtrustctl88.9 MBe995e6fece4602b8de4c943fbabe9562023e178e6bf58a040f1520c2a30c225eDownload
macOS (Intel)fedtrustctl98.5 MB1811fb1020a39a37574362d0511b50c1c63e640e6ba097052a91b7b537232f12Download
Linux (x64)fedtrustctl109.5 MBe12a16516f9659d33b1ca12b8e733d49fd338c87e2ecfcfe40745da46e7c677fDownload
Linux (ARM64)fedtrustctl109.6 MBab3c997b6cd2a86281411703586837f983d12314e1c6683ccf92db26312f38acDownload
Windows (x64)fedtrustctl.exe115.7 MB6329874b81e0b54c7470f356f59d26525aadfad76df6d053c2532b7325b69539Download

On macOS and Linux, make a downloaded file executable with chmod +x fedtrustctl and move it to a folder on your PATH. Because builds are not signed with a publisher certificate, your browser or operating system may warn about the file; check its SHA-256 below before you run it.

Get connected

The examples sign in to snyder-foundry. Use the name of your own resource from the first step, for example snyder-foundry.

  1. See what you can sign in to

    Lists every resource this build can sign in to, with its name, address and scopes. It reads the list built into the program and makes no network call.

    Terminal
    fedtrustctl resources
  2. Sign in

    Prints a link and a short code. Open the link, confirm the code, and approve it with your passkey. The client accepts an approval link only on that resource’s own sign-in domain, and it waits until you approve.

    Terminal
    fedtrustctl login --resource snyder-foundry
  3. Print the setup for your agent

    For Claude Code this prints one command. Use --target codex for a block to append to ~/.codex/config.toml, or --target cursor for JSON to merge into ~/.cursor/mcp.json. The output names this executable by its own path and contains no secret.

    Terminal
    fedtrustctl mcp config --resource snyder-foundry --target claude
  4. Run what it printed

    Paste the printed command, or add the printed block to your agent’s configuration, then start the agent. The agent launches the client as a local MCP bridge whenever it needs the resource.

    Example output for Claude Code (yours shows your own path)
    claude mcp add --scope user snyder-foundry -- /Users/you/.local/bin/fedtrustctl mcp proxy --resource snyder-foundry

To confirm the login from your terminal at any time, run fedtrustctl whoami --resource snyder-foundry. A login that has been revoked is reported there, not inside your agent.

Command reference

fedtrustctl commands
CommandWhat it does
fedtrustctl resourcesList the resources you can sign in to. No network call.
fedtrustctl login --resource <name|url> [--scope <a,b>]Sign in with a device code that you approve with your passkey.
fedtrustctl status --resource <name|url>Show whether this computer holds a login. No network call.
fedtrustctl whoami --resource <name|url>Check your login with Federated Trust and show its scopes and expiry.
fedtrustctl logout --resource <name|url>Revoke your login and delete it from this computer.
fedtrustctl mcp config --resource <name|url> --target claude|codex|cursorPrint the MCP server setup for your agent. It contains no secret.
fedtrustctl mcp proxy --resource <name|url> [--verbose]Run the MCP bridge. Your agent starts this; you do not.
fedtrustctl --version [--json]Show the version of this build.
  • --resource takes a name from the resources list or that resource’s exact address. Any other address is refused.
  • Set FEDTRUSTCTL_RESOURCE to skip the flag; the flag wins when both are given.
  • Results are written to standard output and instructions to standard error. Exit codes: 0 success, 1 error, 2 bad arguments, 3 not found, 4 not signed in or refused, 5 the resource or Federated Trust unavailable.

What it stores on your computer

The client holds no password. Signing in leaves the following on your computer and nothing else.

In your operating system’s credential manager

A refresh token and a signing key, one pair for each resource you sign in to, under the service name com.federatedtrust.fedtrustctl. That is Keychain on macOS, Credential Manager on Windows and the Secret Service (libsecret) on Linux.

In memory only

Access tokens. The client requests one when it needs it and never writes it to disk.

On disk

The program itself, and short-lived empty lock folders under ~/.fedtrustctl/locks that stop two copies from using the same refresh token at once. The client writes no token or key to a file of its own.

In your agent’s configuration

Only the command that starts the client. The setup that mcp config prints carries no token.

What logout does

It asks Federated Trust to revoke the login, then deletes the refresh token and the key from this computer. If the revocation cannot be confirmed, the local copy is still deleted and the command says so.

This describes this client and the resources it lists. It is not a statement that every Federated Trust sign-in is bound to a key, and it is not a certification.

Verify a download

The release index lists the SHA-256 of every file. Print the index, compute the checksum of your file, and compare the two values. The install scripts make this same comparison before they install.

1. Print the published checksums

Terminal
curl -fsSL https://federatedtrust.com/downloads/fedtrustctl/latest.json

2. Compute the checksum of your file

macOS
shasum -a 256 ~/.local/bin/fedtrustctl
Linux
sha256sum ~/.local/bin/fedtrustctl
Windows PowerShell
Get-FileHash "$env:LOCALAPPDATA\Programs\fedtrustctl\fedtrustctl.exe" -Algorithm SHA256

A matching checksum shows that your file is the one in the published index. It is not a code signature, and it does not replace reviewing what you run.

Uninstall

Signing out revokes each login and removes it from your credential manager. Deleting the file alone leaves the login in place until it expires.

  1. Sign out of each resource you signed in to

    Terminal
    fedtrustctl logout --resource snyder-foundry
  2. Remove the server entry you added to your agent

    Delete the entry named after the resource from your agent’s MCP configuration, where you added it in step four.

  3. Delete the program and its lock folder

    macOS and Linux
    rm ~/.local/bin/fedtrustctl && rm -rf ~/.fedtrustctl
    Windows PowerShell
    Remove-Item "$env:LOCALAPPDATA\Programs\fedtrustctl" -Recurse; Remove-Item "$HOME\.fedtrustctl" -Recurse -ErrorAction SilentlyContinue

Related documentation