Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

Explore

  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Tags index
  • Submit a server
  • Pricing

Learn

  • Guides hub
  • What is MCP?
  • Install guide
  • Troubleshooting
  • Security
  • Blog
  • Blog RSS

Tools

  • All tools
  • Config generator
  • Config validator
  • MCP playground
  • OpenAPI β†’ MCP
  • Badge generator

For agents

  • API docs
  • Trust & traffic
  • llms.txt β†— (opens in a new tab)
  • Catalog JSON β†— (opens in a new tab)
  • Remote MCP β†— (opens in a new tab)

Company

  • About
  • Contact
  • X (@AllMCPs) β†— (opens in a new tab)
  • GitHub β†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on Buildlist
Β© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. πŸ”’ Security
  3. API Locker
A
Health: Not checked yetWe have not completed a health check for this listing yet.Last checked 8/11/2026, 12:27:03 AM

API Locker

Enrichment pendingWe haven’t run our AI enrichment pass on this listing yet, so the overview, use cases, and FAQ below may be sparse or missing. We work through the catalog over time β€” check back soon.
View RepositoryVisit Website

Encrypted credential vault: LLM, service & OAuth keys. 21-tool MCP server for your AI agent.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Manual Client & Custom JSON ConfigExpand JSON β–Ύ

Install Config Generator

Choose your client
claude_desktop_config.json
{
  "mcpServers": {
    "api-locker": {
      "command": "npx",
      "args": [
        "-y",
        "api-locker"
      ]
    }
  }
}

πŸ’‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

Install Directory Badge Claim listing AlternativesπŸ”’ More in Security

Documentation Overview

API Locker mascot

API Locker

One vault, three types of credentials. Replace your .env file with one token.

npm license website mcp

API Locker is an encrypted credential vault for developers. Store your LLM API keys, service API keys, and OAuth credentials in one place β€” then inject them into any command with apilocker run -- npm start. Your raw credentials never touch disk, never live in shell history, never get committed to git.

Free to use. Try it β†’


What it does

bash
# Install
npm install -g apilocker

# One-click browser confirmation β€” no pasted tokens
apilocker register

# Store a credential (for any of 34 provider templates, plus "custom")
apilocker store --name OPENAI_API_KEY --provider openai --key sk-proj-...

# Run any command with your vault secrets injected as env vars
apilocker run -- npm start
#  ↑
#  process.env.OPENAI_API_KEY is populated for the lifetime of this command,
#  then gone. No .env file. Nothing on disk. Nothing in shell history.

That's the whole pitch. Everything else in this repo is making that flow work for every kind of credential a developer has to deal with.

One vault, three types of credentials

API Locker distinguishes three credential types because they're used differently:

🧠 LLM API Keys

Single opaque tokens for model APIs.

OpenAI, Anthropic, Gemini, Groq, Mistral.

bash
apilocker store --name OPENAI_API_KEY \
  --provider openai \
  --key sk-proj-xxxxx

⚑ Service API Keys

Single tokens for everyday SaaS.

Stripe, Twilio, Resend, ElevenLabs, Cloudflare, GitHub, Clerk, Sentry, PostHog, Cloudinary, Mux, SendGrid, Vercel, Upstash, LemonSqueezy.

bash
apilocker store --name STRIPE_SECRET_KEY \
  --provider stripe \
  --key sk_live_xxxxx

πŸ”— OAuth Credentials

Multi-field credentials for sign-in flows.

Google, GitHub, Slack, Microsoft, Notion, Spotify, Twitter/X, LinkedIn, Discord, Zoom, Dropbox, Salesforce, HubSpot.

bash
apilocker store --oauth \
  --name google-oauth \
  --provider google-oauth \
  --client-id ... \
  --client-secret ...

Under the hood, LLM and Service credentials share the same single-string encrypted storage. OAuth is a multi-field encrypted JSON blob. Users experience three product surfaces; implementation shares one foundation.

Why not just use .env files?

Problem.env fileAPI Locker
Secrets on diskβœ… (plaintext)❌ (encrypted, AES-256-GCM)
Secrets in git history if misconfiguredβœ…βŒ
Secrets in shell history when debuggingβœ…βŒ
Sharing across machinesManual copy-pasteβœ… (one apilocker register per device)
RotationManual edit in every copyOne dashboard click
Audit log of who accessed whatβŒβœ… (every reveal + proxy call)
Revocation of a specific deviceNuke every local copyOne apilocker devices revoke
AI agent access (Claude, Cursor, etc.)"Paste this into Cursor settings"Native MCP integration

Features

  • Encrypted vault β€” AES-256-GCM on every stored credential. Keys never leave the vault in plaintext except when explicitly revealed to an authenticated master-token holder.
  • Runtime injection β€” apilocker run -- cmd injects your vault secrets as env vars for the duration of one command, then clears them.
  • Smart proxy β€” POST /v1/proxy/:keyId forwards authenticated calls upstream (Stripe, OpenAI, etc.) with the raw key injected server-side. Your app code never sees the secret.
  • Scoped tokens with rotation β€” OAuth2 refresh-token flow with reuse detection. Static, hourly, daily, weekly, monthly rotation cadences. Scoped tokens can only call a pre-approved subset of keys.
  • Per-device master tokens β€” RFC 8628 device authorization flow. Each machine gets its own token; revoke one without affecting others.
  • Lossless rename β€” Renaming a credential never breaks existing .apilockerrc files. Old aliases transparently resolve via a previous_names fallback.
  • Pause / resume β€” Freeze proxy access without losing the credential. Useful for incident response.
  • Audit logs β€” Every reveal, every proxy call, every rotation, every rename logged with source IP, country, and timestamp. Stream live with apilocker activity --follow.
  • Vault health check β€” apilocker doctor surfaces stale rotations, unused keys, expiring tokens, and local config permission issues.
  • Import from .env β€” apilocker import .env migrates an existing project into the vault in one command.
  • First-class MCP server β€” Works with Claude Code, Claude Desktop, Cursor, Zed, Continue, and any other MCP-compatible client. 21 tools give your AI agent the same surface as the CLI.

Connect your AI assistant (MCP)

API Locker exposes a full Model Context Protocol server so AI agents can read and manage your vault directly.

Claude Code (one command):

Terminal
claude mcp add apilocker -- apilocker mcp

Claude Desktop, Cursor, Zed, Continue β€” use the apilocker mcp stdio bridge in your client's config:

config.json
{
  "mcpServers": {
    "apilocker": {
      "command": "apilocker",
      "args": ["mcp"]
    }
  }
}

Full MCP docs with the 21-tool catalog and per-client setup instructions: apilocker.app/docs/mcp

Repository layout

This is a monorepo. The three surfaces are kept together because they share types, provider templates, and product conventions.

Code
apilocker/
β”œβ”€β”€ cli/         # The `apilocker` npm package (published as apilocker)
β”œβ”€β”€ api/         # Cloudflare Worker backend (api.apilocker.app)
β”œβ”€β”€ site/        # Marketing site + dashboard + docs (www.apilocker.app)
└── README.md    # You are here
  • cli/ β€” The published apilocker npm package. Built with Node 18+ and Commander. See cli/README.md for the full command reference.
  • api/ β€” The Cloudflare Worker that powers everything: D1 for metadata, KV for encrypted blobs, a Durable Object for rate limiting, and a fully-featured MCP server at /v1/mcp.
  • site/ β€” The static marketing site, the dashboard, the /docs/mcp integration guide, and a hidden admin analytics page.

How it works (one minute)

  1. You register a device. apilocker register opens your browser, you click Authorize once, the CLI writes a per-device master token to ~/.apilocker/config.json (mode 0600).
  2. You store credentials via the CLI or dashboard. Each credential is encrypted with AES-256-GCM and the ciphertext lives in Cloudflare KV. Only metadata (name, provider, tags, rotation status) lives in D1.
  3. Your app uses credentials in one of three ways:
    • Runtime injection: apilocker run -- npm start reveals the needed credentials for one command and exports them as env vars.
    • Proxy: Your app holds a scoped token, calls POST /v1/proxy/:keyId, and the API Locker Worker injects the raw key into the upstream call server-side. Your app never sees the secret.
    • AI agent: An MCP-compatible client (Claude Code, Cursor, etc.) connects through the apilocker mcp stdio bridge and gets the same 21-tool surface as the CLI.
  4. Rotation, rename, pause, revoke are all one-click. Credentials in use stay in use β€” scoped tokens are unaffected by rotation, .apilockerrc files are unaffected by rename, and revoking a device never touches any other device.

Security posture

  • Per-credential AES-256-GCM encryption with a unique IV per blob
  • Encryption key lives as a Worker secret, never in source
  • Session cookies: HttpOnly, Secure, SameSite=Lax, domain-scoped to .apilocker.app
  • CSRF protection on all OAuth flows via single-use state tokens (10-minute TTL in KV)
  • RFC 8628 device authorization flow for CLI sign-in β€” no pasted master tokens
  • Per-device master tokens with independent revocation
  • Audit log on every access β€” reveal, rotate, rename, pause, resume, proxy, MCP call
  • Rate limiting via Cloudflare Durable Objects (TrafficMonitor)
  • Worker self-hosts its own OAuth secrets in its own vault β€” vault is the source of truth even for the app's own sign-in credentials (meta-dogfooding)

Status

Free plan available. Unlimited keys, unlimited tokens, unlimited proxy calls. Early adopters get grandfathered into free Pro permanently when paid plans launch.

  • CLI: v1.0.2 on npm
  • API: live at api.apilocker.app
  • Dashboard: live at www.apilocker.app/dashboard
  • Docs: /docs/mcp
  • MCP Registry: io.github.apilocker/apilocker

Contributing

Issues and PRs welcome. The repo is intentionally kept as a monorepo so a single PR can touch the CLI, API, and site in coordinated steps.

Contact

The right address depends on what you want to talk about:

  • Bugs & reproducible issues: open a GitHub issue
  • Feature requests, ideas, advice, what's missing: feedback@apilocker.app
  • General support, account questions: support@apilocker.app
  • Security disclosures: security@apilocker.app β€” please don't open public issues for security findings
  • Privacy questions: privacy@apilocker.app

License

MIT

Related MCP Servers

View all in Security View all alternatives
  • V
    Vault MCP

    MCP server for credential isolation β€” bots use passwords and API keys without seeing them

    πŸ”’ Security0 views
    Compare vs Vault MCP β†’
  • G
    Gorgon Scout

    Run AI-driven web-app and API security scans (DAST) from Claude or any MCP agent. Windows.

    πŸ”’ Security0 views
    Compare vs Gorgon Scout β†’
  • Volta Mcp Server logoVolta Mcp Server

    Burn-after-read encrypted notes for AI agents. Create and read self-destructing notes via Volta Notes with AES-256-GCM E2E encryption β€” the decryption key never leaves the URL fragment. Secure credential handoff between users and agents without secrets appearing in chat history.

    πŸ”’ Security1 views
    Compare vs Volta Mcp Server β†’
  • Mcp Maigret logoMcp Maigret

    MCP server for maigret, a powerful OSINT tool that collects user account information from various public sources. This server provides tools for searching usernames across social networks and analyzing URLs.

    πŸ”’ Security3 views
    Compare vs Mcp Maigret β†’

Frequently Asked Questions about API Locker

Add the following block to your claude_desktop_config.json under mcpServers: "mcpServers": { "api-locker": { "command": "npx", "args": ["-y", "API Locker"] } }

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewAPI Locker AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/api-locker?style=directory)](https://allmcps.com/mcp/api-locker)
HTML Embed
<a href="https://allmcps.com/mcp/api-locker"><img src="https://allmcps.com/api/badge/api-locker?style=directory" alt="API Locker on AllMCPs" /></a>

Technical Specs & Signals

CategoryπŸ”’Security
More technical detailsExpand β–Ύ
TransportSTDIO
RuntimeNode.js
0/4 checks healthy over the last 6h
Views0
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
27Quality signal: Emerging Β· 27/100How this signal is calculated β–Ύ
Server availabilityNot measured

Not scored for repo-hosted servers β€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership8/20
Documentation & tools11/30
Adoption & activity1/15
Community engagement0/10

A guidance signal from public completeness & health data β€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

β˜… FeaturedMoxie Docs MCP logo

Moxie Docs MCP

MCP & Agent Skills for Automated Documentation, and codebase conventions + context

Explore Server β†’

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to get the verified badge.

Free dofollow backlink: after claiming, verify your product site and place a dofollow AllMCPs badge β€” we recheck it stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in πŸ”’ Security β†’Best MCP servers for Security β†’Alternatives to API Locker β†’Install in Claude DesktopInstall in CursorInstall in VS Code