API Locker
What it does
Encrypted credential vault: LLM, service & OAuth keys. 21-tool MCP server for your AI agent.
- Connects パソコンで動く
- Account or key No key needed
- Category 検索・AIの記憶
インストール
使っているAIアプリを選んで、設定をコピーしてください。
チェック 3/3 合格 · あなたのパソコンで動きます
まず:どの AI を使っていますか?
使っているアプリを選ぶと、下に手順が表示されます。
Claude につなげますが、先に準備が必要です
先にパソコンへ Node.js を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
パソコン版 Claude アプリの設定ファイルを開く
SettingsDeveloperEdit Config
この設定を貼り付けて保存
コマンドを確認中 · 確認が通るとコピーボタンが出ます
Claude を終了してもう一度開く
試してみる
API Locker を使って、私に何ができるか教えて、1 つやってみせて✓ Claude が API Locker を使っていると言うか、回答に API Locker のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
ChatGPT はまだ API Locker につなげません
API Locker はパソコンに入れて使うものですが、ChatGPT は Web 上で動くサーバーにしかつなげません
代わりにできること
A · API Locker につなげるアプリを使う
- 先にパソコンへ Node.js を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
- 先にパソコンへ Node.js を入れてください(1 回だけ)
- 先にパソコンへ Node.js を入れてください(1 回だけ)
- 先にパソコンへ Node.js を入れてください(1 回だけ)
B · 検索・AIの記憶 の中で ChatGPT につなげる別のサーバー
同じカテゴリでよく使われているものから、キーなしでアドレスだけでつなげるものを選びました
- Context7✓ ChatGPT
- AIHOT✓ ChatGPT
- Sui Knowledge Base (kapa.ai)✓ ChatGPT
Claude Code につなげますが、先に準備が必要です
先にパソコンへ Node.js を入れてください(1 回だけ)
ターミナルを開く
Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く
このコマンドを貼り付けて Enter
コマンドを確認中 · 確認が通るとコピーボタンが出ます
Claude Code で /mcp と入力
API Locker が一覧にあり、接続済みと表示されれば OK です
試してみる
API Locker を使って、私に何ができるか教えて、1 つやってみせて✓ Claude Code が API Locker を使っていると言うか、回答に API Locker のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Cursor につなげますが、先に準備が必要です
先にパソコンへ Node.js を入れてください(1 回だけ)
このボタンで Cursor を開く
コマンドを確認中 · 確認が通るとコピーボタンが出ます
Cursor の AI チャットを Agent モードで開く
試してみる
API Locker を使って、私に何ができるか教えて、1 つやってみせて✓ Cursor が API Locker を使っていると言うか、回答に API Locker のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
VS Code につなげますが、先に準備が必要です
先にパソコンへ Node.js を入れてください(1 回だけ)
このボタンで VS Code を開く
コマンドを確認中 · 確認が通るとコピーボタンが出ます
VS Code の AI チャットを Agent モードで開く
試してみる
API Locker を使って、私に何ができるか教えて、1 つやってみせて✓ VS Code が API Locker を使っていると言うか、回答に API Locker のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Windsurf、Zed、Gemini CLI など MCP を使える他のアプリは追加方法がそれぞれ違います。アプリ一覧で確認してください
JSON 設定は下の「開発者向け」にあります
開発者向け:ターミナルのコマンドと JSON 設定
パソコンにインストール
Claude Code
コマンドを確認中 · 確認が通るとコピーボタンが出ます
Claude Desktop (claude_desktop_config.json)
コマンドを確認中 · 確認が通るとコピーボタンが出ます
Cursor (~/.cursor/mcp.json)
コマンドを確認中 · 確認が通るとコピーボタンが出ます
VS Code (mcp.json)
コマンドを確認中 · 確認が通るとコピーボタンが出ます
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
ひと目でわかる
- 週あたりのダウンロードi
- 82/週
- 接続方法
- パソコンで動く
- 最新バージョンi
- 1.0.3
- レジストリ公開日i
- 2026年4月11日
- コードの最終更新i
- 2026年10月9日
- 作者
- apilocker
- パッケージ
npm: apilocker- ウェブサイト
- www.apilocker.app
- レジストリでの状態
- 有効
使えるアプリ
このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。
パソコン上で動かせるアプリ
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
できること
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
基本チェックi
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月13日にチェック
- ✓ 合格
作者とリポジトリが一致
レジストリ名は、リポジトリを所有するGitHubアカウント apilocker で確認済みです
- ✓ 合格
今もメンテナンスされている
コードの最終更新:35 日前
- ✓ 合格
ライセンスがある
MITを使用
- – 対象外
エンドポイントが応答する
これはパソコンで動くため、インターネット上のエンドポイントはありません
- – 対象外
OAuthでサインイン
パソコンで動き、代わりにローカルの設定を使います
- … 未チェック
ツールの説明に隠れた指示がない
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
話し合い
質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。
ユーザーレビュー
まだレビューはありません
検索・AIの記憶のほかのサーバーとの比較i
- このカテゴリのほかの6040件のうち0%よりスターが多い
- このカテゴリのほかの6040件のうち8%より最近レジストリに公開
- 基本チェックの結果が、このカテゴリのほかの6040件のうち100%と同じかそれ以上
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
よくある質問
API Lockerは安全ですか?
当てはまる基本チェック3項目のうち3項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
どんなキーやコードが必要ですか?
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
パソコンで動きますか、それともクラウドですか?
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
今もメンテナンスされていますか?
GitHubリポジトリの最終更新は35 日前、最新バージョン(1.0.3)がレジストリに届いたのは7 か月前です。
どのアプリで使えますか?
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。
代わりに使えるものは?
同じカテゴリには:Context7, Codebase Memory, Ruflo
同じカテゴリのほかの候補
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
Codebase Memory
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
作者のREADME
READMEを開く
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
API Locker
One vault, three types of credentials. LLM API keys, service API keys, and OAuth credentials — all encrypted, all injectable into your code with a single command.
API Locker replaces the .env file with one encrypted vault. Store your OpenAI key, your Stripe secret, your Google OAuth client — all in one place — and 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.
This is the command-line interface. Website · Dashboard
Install
npm install -g apilocker
Requires Node.js 18 or newer.
Get started in three commands
# 1. Install the CLI (above)
2. Register this device — opens your browser for a one-click confirmation
apilocker register
3. Run any command with your vault secrets injected as env vars
apilocker run -- npm start
That's it. Your process.env.OPENAI_API_KEY, process.env.STRIPE_SECRET_KEY, process.env.GOOGLE_OAUTH_CLIENT_SECRET — everything you'd normally drop in a .env file — is now injected into the subprocess for exactly the duration of that command. When the command exits, the secrets are gone.
One vault, three types of credentials
🧠 LLM API Keys
OpenAI, Anthropic, Gemini, Groq, Mistral.
apilocker store --name OPENAI_API_KEY --provider openai --key sk-proj-xxxxx
apilocker run -- node my-ai-app.js
⚡ Service API Keys
Stripe, Twilio, Resend, ElevenLabs, Cloudflare, GitHub, Clerk, Sentry, PostHog, Cloudinary, Mux, SendGrid, Vercel, Upstash, LemonSqueezy — plus custom for anything else.
apilocker store --name STRIPE_SECRET_KEY --provider stripe --key sk_live_xxxxx
apilocker run -- npm start
🔗 OAuth Credentials
Google, GitHub, Slack, Microsoft, Notion, Spotify, Twitter/X, LinkedIn, Discord, Zoom, Dropbox, Salesforce, HubSpot — plus custom OAuth for anything else.
apilocker store --oauth \
--name google-oauth \ --provider google-oauth \ --client-id 856449...apps.googleusercontent.com \ --client-secret GOCSPX-xxxxx \ --scopes "openid email profile"
Injects GOOGLE_OAUTH_CLIENT_ID, GOOGLE_OAUTH_CLIENT_SECRET, etc.
apilocker run -- node oauth-app.js
The full command set
| Command | What it does |
|---|---|
apilocker register | Register this device via browser confirmation. No pasted tokens. |
apilocker store | Store a credential. --oauth for multi-field OAuth, otherwise --key. |
apilocker list | List credentials grouped into LLM / Service / OAuth buckets. Filter with --tag, --provider, --category, --search. |
apilocker run -- | Run any command with vault secrets injected as environment variables. |
apilocker get | Print a single secret value to stdout (for scripting). --field for OAuth fields. |
apilocker env | Emit shell-eval-able export statements. eval "$(apilocker env)" to load into current shell. |
apilocker init | Pin specific keys to a project directory via a committable .apilockerrc file. |
apilocker import .env | Migrate an existing .env file into the vault. Pattern-matches provider prefixes and offers to replace the .env with an .apilockerrc. |
apilocker rotate | Replace a credential's value. Scoped tokens keep working; rotation is transparent to consumers. |
apilocker rename | Rename a credential alias. Lossless — existing .apilockerrc files that reference the old name keep working via transparent fallback. |
apilocker pause / resume | Freeze proxy access without deleting. Reveal / run / get / env still work on paused credentials. |
apilocker delete | Permanently delete a credential. |
apilocker devices list / revoke | Manage devices registered to your account. |
apilocker token create/list/pause/resume/delete | Manage scoped access tokens for app/proxy use. |
apilocker activity | View the audit log. Add --follow / -f to stream new events live. |
apilocker doctor | Security health check: stale rotations, unused keys, expiring tokens, local config permissions. |
apilocker update | Check npm for a newer version. |
The .apilockerrc file
Pin a project to a specific set of credentials with a committable config file. apilocker init walks you through creating one:
# .apilockerrc — safe to commit to git, contains only pointers
keys:
- OPENAI_API_KEY
- STRIPE_SECRET_KEY
- google-oauth
After apilocker init, anyone cloning your repo who runs apilocker run -- npm start gets the same env vars — assuming they have access to those aliases in their own vault. It's like a package.json for credentials: the file declares what the project needs, each developer has their own vault.
Why the CLI doesn't ask for a pasted master token
Unlike most developer tools, apilocker register doesn't want you to paste a secret from the dashboard. Instead:
- You run
apilocker register - Your browser opens to a single-card confirmation page
- You click "Authorize"
- The CLI receives a per-device master token over an authenticated polling channel — it never touches your clipboard, shell history, or screen
This is the RFC 8628 device authorization flow (the same pattern gh, vercel, wrangler, flyctl, and gcloud use). It's strictly safer than pasted tokens because the secret never appears anywhere a human can accidentally leak it.
New users? The same flow handles signup — your first OAuth click with GitHub/Google creates the account automatically. No separate visit to the web portal required.
MCP integration — connect your AI assistant
API Locker exposes a full Model Context Protocol server with 25 tools so Claude Code, Claude Desktop, Cursor, Zed, Continue, and any other MCP-compatible client can read and manage your vault directly.
Claude Code — one command
claude mcp add apilocker -- apilocker mcp
Verify with claude mcp list. You should see apilocker: apilocker mcp - ✓ Connected. The server is available in your next Claude Code session automatically.
Claude Desktop, Cursor, Zed, Continue
The CLI ships with apilocker mcp — a stdio bridge that handles the connection automatically. Configure any MCP client with:
{
"mcpServers": { "apilocker": { "command": "apilocker", "args": ["mcp"] } } }
The bridge reads your master token from ~/.apilocker/config.json automatically. No credentials go in the client config itself.
Print client-specific config with the built-in helper:
apilocker mcp config --client claude-desktop # or claude-code, cursor, continue, zed, generic
Full docs: https://www.apilocker.app/docs/mcp — includes config file locations for each client, troubleshooting, and the full 25-tool catalog.
Visual status: the dashboard has a dedicated MCP panel at https://www.apilocker.app/dashboard#mcp showing server status, a test-connection button, copy-pasteable config for every major client, and a live feed of recent MCP activity.
Security posture
- AES-256-GCM encryption on every stored credential. Keys never leave the vault in plaintext except when revealed to an authenticated master-token holder (you).
- Per-device tokens with independent revocation. Stolen a laptop? Revoke that one device; every other device keeps working.
- OAuth CSRF protection with state tokens bound to a 10-minute KV window.
- Strict file permissions (
0600) on~/.apilocker/config.json. - Audit-logged everywhere: every reveal, every proxy call, every rename, every rotation. Watch them live with
apilocker activity --follow. - Lossless rename with previous_names fallback: renaming a credential never breaks existing code. Old aliases transparently resolve to the current credential with a gentle nudge to update configs.
- Pause/resume to freeze proxy access during incident response without losing the credential itself.
Configuration
Config lives at ~/.apilocker/config.json (mode 0600). Don't check it in.
Override the API endpoint for self-hosted deployments:
apilocker register --url https://api.your-locker.example.com
Status
API Locker is free to use with unlimited keys, unlimited tokens, and unlimited proxy calls. Early adopters get grandfathered into free Pro permanently when paid plans launch.
Links
- Website: www.apilocker.app
- Dashboard: www.apilocker.app/dashboard
- API: api.apilocker.app
- Changelog: www.apilocker.app/changelog
License
MIT © 2026 API Locker