Trusty Squire — Claude Code MCP server: what it does, how to install
Trusty Squire — an MCP server that gives your agent access to API keys, OAuth sign-in, and purchase approval through a vault.
MIT ★ 3 updated 2026-10-24
claude mcp add trusty-squire -- npx -y @trusty-squire/mcpWhat Trusty Squire 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.
What it helps with
- 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 for the agent
- Order one Glow Serum from whitejade.xyz
- Sign in to the dashboard with my GitHub account
How to install Trusty Squire
Platform CLI
claude mcp add trusty-squire -- npx -y @trusty-squire/mcpPlatform CLI
codex mcp add mcp -- npx -y @trusty-squire/mcpConfig file
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@trusty-squire/mcp"
]
}
}
}Config file
{
"servers": {
"mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@trusty-squire/mcp"
]
}
}
}Platform CLI
gemini mcp add mcp npx -y @trusty-squire/mcpStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Trusty Squire
How to install Trusty Squire in Claude Code?
Run npx -y @trusty-squire/mcp@latest connect, sign in with Google or GitHub, and restart your agent. To pick the agent manually, add --target=codex.
What does Trusty Squire do?
It lets your agent register on services, fetch API keys and store them in a vault, sign in via OAuth, and complete purchases after your approval.
What does Trusty Squire need on Linux?
A working systemd user service manager. The server registers as a user service, and if it stops, the client reports an error after retries.