Trusty Squire
OfficialAllows setting up Google OAuth for an application by driving multi-step console configurations.
Allows creating scoped, revocable OpenAI API keys that are injected via proxy without exposing the raw secret.
Allows provisioning a PostHog account and vaulting its API key for product analytics.
Allows signing up for Resend and vaulting the API key for secure use.
Allows migrating away from SendGrid by provisioning a new email service and switching with zero downtime.
Allows provisioning a Sentry account and vaulting its API key for error monitoring.
Allows rotating Stripe API keys, creating scoped revocable grants, and managing key usage.
Operator-style browser tools can build most of an integration, then stall at the signup wall or bot detection. Trusty Squire gets the real account provisioned and finishes the setup.
Trusty Squire is an MCP server for Claude Code, Codex, Cursor, Goose, and other coding agents. It opens the real website, completes signup or sign-in, and saves generated credentials in an encrypted, write-only vault. The raw provider secret does not need to enter the agent's context, source code, or .env, so it cannot be copied into a commit.
One prompt
Use Trusty Squire to create a Clerk account for this app, save the generated secret key, allow api.clerk.com for server-side requests, and wire it in without putting the raw key in chat, code, or .env.Your coding agent plans the job. Trusty Squire operates the website, stores the generated key, and can issue your backend a scoped grant. The backend calls the provider through Trusty Squire, which injects the provider key on the server side.
Other useful asks:
“Create a Render API key for deployment automation and keep it out of this conversation.”
“Set up OpenRouter without returning its API key to this conversation.”
“That app grant leaked. Revoke it without rotating the provider key.”
Related MCP server: mcpvault
Install
npx @trusty-squire/mcp connectconnect signs you in with Google or GitHub, detects your coding agent, and merges the squire MCP server into its existing configuration. Restart the agent and ask for the finished website outcome. Trusty Squire is free to start.
To choose a target explicitly:
npx @trusty-squire/mcp connect --target=codexSupported targets: claude-code, cursor, codex, goose, cline, continue, and hermes.
What happens
Your coding agent names the website and the account, setup, or credential it needs.
Trusty Squire opens a real browser and works through the service flow one step at a time. It can use a Google or GitHub session that you explicitly connect.
When the site reveals an API key or client secret, Trusty Squire captures it into the vault without returning the raw value through its credential tools.
The agent can make an authenticated request through Trusty Squire or create a host-scoped, rate-limited app grant.
Successful flows can become signed registry skills, so later runs can replay verified steps instead of rediscovering every click.
If a site requires a phone, hard CAPTCHA, payment, or a human decision, the run stops and tells you. It does not guess or pretend the signup completed.
Supported services
Discovery pages are generated only for services with an active skill in the Trusty Squire registry. The first five detailed pages cover Braintrust, Cerebras, Clerk, DeepInfra, and Zilliz Cloud. Each sample has explicit signup evidence in its active registry record and a provider request checked against official API documentation. The service hub also lists every active registry entry; the remaining detail pages stay unpublished until their workflow and unique content pass review.
Browse the active service catalog. Maintainers can detect registry drift before merging with:
pnpm seo:verify-servicesThe registry controls which service pages exist. An external list is never used to claim support.
Keep provider keys out of agent context
Ask the agent to create a scoped backend grant:
Grant this backend access to Clerk through Trusty Squire with a limit of 100 requests per hour.Before minting the grant, make api.clerk.com the credential's primary allowed host in the Vault. The egress proxy refuses every other upstream host. This explicit policy step is required when the signup host and provider API host differ.
The agent calls the real MCP tool with the service and requested limit:
grant_app_access({
service: "clerk",
rate_limit_per_hour: 100
})The result contains a host-scoped egress base_url and a token, not the Clerk secret key. The token is returned once through the MCP result and remains valid until revoked. That means the scoped grant token can enter agent context; it is not the provider key. Move it directly into backend-only deployment secret storage, never browser code, logs, or source control. If you need zero grant-token exposure to the model, use use_credential for agent-initiated requests instead. Trusty Squire removes the grant authorization at the boundary and injects the vaulted provider credential into the upstream request.
Security and threat model
Provider credentials are encrypted in the vault and are write-only to agent credential tools. Those tools return references or authenticated results, not stored plaintext.
The raw provider key is injected only into the outbound provider request. It does not need to land in chat, generated code, the consuming app, or the project's
.envfile.App grants are host-scoped, auditable, rate-limitable, and independently revocable. A leaked grant can be revoked without rotating the provider key.
You connect Google or GitHub in a real browser. Trusty Squire does not ask the coding agent to type those passwords.
Browser screenshots and diagnostics can contain whatever a website visibly rendered. Treat diagnostic artifacts as sensitive and do not ask an agent to re-observe a page after a secret is shown.
Trusty Squire does not bypass phone verification, hard CAPTCHAs, payment authorization, or decisions that belong to a person. It stops for human input.
See Architecture and security for the system boundaries and data flow.
MCP tools
operate_start,operate_observe, andoperate_actopen a website, inspect the current state, and perform one browser action at a time.operate_extractcaptures a generated credential into a sealed slot or the vault.operate_rememberandoperate_usesave and replay successful website flows.list_credentialsanduse_credentialfind saved credentials and make authenticated API calls without returning raw values.grant_app_accessandrevoke_app_accesscreate and remove scoped backend access.audit_logreports credential activity without exposing credential values.
One README for GitHub and npm
This root file is the canonical README. The npm pack lifecycle copies it into @trusty-squire/mcp byte-for-byte, then removes the generated package-local copy after packing. GitHub and npm therefore publish the same product explanation.
Development
git clone https://github.com/Trusty-Squire/trusty-squire.git
cd trusty-squire
./scripts/bootstrap.shAfter bootstrap, pnpm typecheck and pnpm test should pass. Stop local services with docker compose -f docker-compose.dev.yml down; add -v to reset their data.
Requirements: Node 20.11.0 (.nvmrc), pnpm 8.15+, Docker, and Docker Compose.
Repository map:
trusty-squire/
├── apps/
│ ├── api/ Accounts, OAuth, machine tokens, proxy, inbox, vault, and billing
│ ├── mcp/ MCP server, browser operation tools, and credential tools
│ ├── registry/ Signed website skills and verification service
│ └── web/ Marketing site and vault UI
└── packages/
├── vault/ Encrypted credential storage and audit log
├── inbox/ Email verification code and link extraction
└── skill-schema/ Shared schema for replayable website skillsProduct and public-web changes should follow PRODUCT.md and DESIGN.md.
License
MIT © Trusty Squire
This server cannot be installed
Maintenance
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Trusty-Squire/trusty-squire'
If you have feedback or need assistance with the MCP directory API, please join our Discord server