# Trusty Squire

Trusty Squire — an MCP server that gives your agent access to API keys, OAuth sign-in, and purchase approval through a vault.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 3 repo stars
- Author: Trusty-Squire
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/Trusty-Squire/trusty-squire/tree/HEAD/apps/mcp
- Updated: 2026-10-24
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/trusty-squire

## What it does

Trusty Squire lets your agent register on services, fetch API keys, and store them in a secure vault instead of chat history. The agent can sign in via Google or GitHub on any site that supports it, fill payment forms after your approval, and complete OAuth app setup end to end.

It runs a browser the agent controls and a key vault. Keys never reach the agent's context: it calls them through server tools. On Linux the server starts as a systemd user service; on macOS as a launchd user agent. If the service stops, the client reports broker not running after retries.

The installer writes `npx -y @trusty-squire/mcp@latest` into agent config. Interactive setup offers an optional 2Captcha key, stored in the vault.

## Requirements
- Needs: Node.js (commands run via npx)

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add trusty-squire -- npx -y @trusty-squire/mcp
```

### Codex

**Platform CLI**
```bash
codex mcp add mcp -- npx -y @trusty-squire/mcp
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "mcp": {
            "command": "npx",
            "args": [
                "-y",
                "@trusty-squire/mcp"
            ]
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "mcp": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@trusty-squire/mcp"
            ]
        }
    }
}
```

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add mcp npx -y @trusty-squire/mcp
```

## When to use it
- fetch an API key from a new service and store it securely
- sign in to a site using Google or GitHub OAuth
- approve and complete a purchase with saved card details
- finish registration with email verification
- call an API with a stored key without exposing it to the agent

## Example prompts
- Order one Glow Serum from whitejade.xyz
- Sign in to the dashboard with my GitHub account

## Similar
- [n8n-credentials-and-security-official](https://affpapa.org/en/nevibecode/skills/n8n-credentials-and-security-official.md) — skill · 2600 installs
- [cli-keys](https://affpapa.org/en/nevibecode/skills/cli-keys.md) — skill · 1400 installs
- [api-authentication](https://affpapa.org/en/nevibecode/skills/api-authentication.md) — skill · 613 installs
- [n8n-security-testing](https://affpapa.org/en/nevibecode/skills/n8n-security-testing.md) — skill · 176 installs
- [openrouter-typescript-sdk](https://affpapa.org/en/nevibecode/skills/openrouter-typescript-sdk.md) — skill · 537 installs
- [developer-signup-flow](https://affpapa.org/en/nevibecode/skills/developer-signup-flow.md) — skill · ★ 88 repo stars

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
