# Trusty Squire

> Trusty Squire is an MCP server for developer tools. Let a coding agent sign up for services, store API keys and pay without exposing secrets. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Platforms:** CLI
- **Repository:** https://github.com/trusty-squire/trusty-squire/tree/HEAD/apps/mcp
- **MCP Registry name:** ai.trustysquire/trusty-squire
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools), [finance and payments](https://ai-powered.com/categories/finance-and-payments)
- **Listing updated:** 2026-11-15

## About

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.

## Features

- **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

## Install

### Claude Code (Terminal)

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

### Claude Desktop (claude_desktop_config.json)

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

### Cursor (~/.cursor/mcp.json)

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

### VS Code (.vscode/mcp.json)

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

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

### Other clients (your client's MCP settings (most use this shape))

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

## 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.

## Alternatives

- [Agents Trust](https://ai-powered.com/mcp/agents-trust): Agents Trust is a paid MCP server for finance and payments.
- [Keysrs](https://ai-powered.com/mcp/keysrs): Keysrs is an open-source MCP server for security.
- [Keyblind](https://ai-powered.com/mcp/keyblind): Keyblind is a freemium MCP server for security.
- [s-gw](https://ai-powered.com/mcp/s-gw): s-gw is a free MCP server for security.
- [Secret Handoff](https://ai-powered.com/mcp/secret-handoff): Secret Handoff is a free MCP server for security.
- [API Key Case](https://ai-powered.com/mcp/api-key-case): API Key Case is a freemium MCP server for security.
- [q-ring](https://ai-powered.com/mcp/q-ring): q-ring is an open-source MCP server for security.
- [Clize](https://ai-powered.com/mcp/clize): Clize is a freemium MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/trusty-squire
