Skip to content
MCP server

Trusty Squire

Let a coding agent sign up for services, store API keys and pay without exposing secrets

Runs locally
Install
Platforms
CLI
Runs
Locally
Version
1.1.44-rc.1
Listing updated
4 days ago

Similar MCP servers

About Trusty Squire

Trusty Squire is an MCP server for developer tools. It runs locally on your machine and is started by your AI client.

Trusty Squire keeps credentials and card details in a vault so the agent works with them without reading them. Ask it to get an API key for a service and it signs up, verifies the email and puts the key in the vault rather than the chat. Later calls use the stored key without the agent ever seeing it.

For purchases, you approve once and Trusty Squire fills the card fields in its own browser. It can also sign in to sites with your Google or GitHub account where the site offers it.

The package installs with a connect command that signs you in with Google or GitHub and adds itself to your coding agent. The README lists Claude Code, Codex, Cursor, OpenCode, Goose, Cline, Continue and Hermes, and points to an SDK for building approvals into your own app.

Install

Run in a terminal

claude mcp add trusty-squire -- npx -y @trusty-squire/mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "trusty-squire": {
      "command": "npx",
      "args": [
        "-y",
        "@trusty-squire/mcp"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "trusty-squire": {
      "command": "npx",
      "args": [
        "-y",
        "@trusty-squire/mcp"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "trusty-squire": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@trusty-squire/mcp"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "trusty-squire": {
      "command": "npx",
      "args": [
        "-y",
        "@trusty-squire/mcp"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "trusty-squire": {
      "command": "npx",
      "args": [
        "-y",
        "@trusty-squire/mcp"
      ]
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

What it does

API key provisioning
Signs up for a service, verifies email and stores the key in a vault.
Keys stay hidden
The agent calls APIs with saved keys without seeing them.
Social sign-in
Uses your Google or GitHub account on sites that offer it.
Approved purchases
You approve once, then it fills card fields in its browser.
One-command setup
npx connect adds it to your coding agent.
Approvals SDK
@trusty-squire/sdk adds approval flows to your own app.

Good for

  • Get an API key for a new service without copy-pasting
  • Sign in to a site with your GitHub account via the agent
  • Buy a small item with a one-time approval
  • Keep keys out of chat transcripts
  • Add approval steps to an agent in your own app

Trusty Squire FAQ

How do I install it?

Run npx -y @trusty-squire/mcp@latest connect and sign in with Google or GitHub.

Which agents work with it?

Claude Code, Codex, Cursor, OpenCode, Goose, Cline, Continue and Hermes.

Do I approve purchases?

Yes. You approve once before it fills the card fields.

Does the agent see my API keys?

The README says keys stay in the vault and the agent uses them without seeing them.

How do I add Trusty Squire to Claude Code?

Run this command in your terminal: claude mcp add trusty-squire -- npx -y @trusty-squire/mcp

What are the best alternatives to Trusty Squire?

The closest alternatives to Trusty Squire are Agents Trust, Keysrs, Keyblind, s-gw and Secret Handoff.

Where this comes from

  • Description: written from the project's README.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers