Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.
PopNx MCPMCP servers for people who use AI · explained in plain words

Two-Key

by Insomniac-VibeLabsversion 0.8.0i★ 2iRuns on your computer
Registry nameio.github.Insomniac-VibeLabs/two-key

How to install

What it does

Authorization proxy for another MCP server: a rule check and AI judges approve each tool call

  • Connects Runs on your computer
  • Account or key No key needed
  • Category Other

Install

Pick the AI app you use, then copy the settings.

Passed 3/3 checks · Runs on your computer

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

Install Python (uv) on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

  1. Install Python (uv)

    One time only; it works for every server that needs Python (uv)

    Open the Python (uv) download page ↗

  2. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  3. Paste these settings and save the file

    {
      "mcpServers": {
        "two-key": {
          "command": "uvx",
          "args": [
            "two-key",
            "mcp-proxy",
            "--config"
          ]
        }
      }
    }
  4. Quit Claude and open it again

  5. Try it

    Use Two-Key and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using Two-Key or shows a Two-Key tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect Two-Key yet

Two-Key runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect Two-Key

  • Install Python (uv) on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • Install Python (uv) on your computer first (one time)
  • Install Python (uv) on your computer first (one time) · No one-click button: paste the settings and fill in the values yourself
  • Install Python (uv) on your computer first (one time) · No one-click button: paste the settings and fill in the values yourself

B · Others in Other that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

Install Python (uv) on your computer first (one time)

  1. Install Python (uv)

    One time only; it works for every server that needs Python (uv)

    Open the Python (uv) download page ↗

  2. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  3. Paste this command and press Enter

    claude mcp add --scope user two-key -- uvx two-key mcp-proxy --config
  4. Type /mcp in Claude Code

    You should see Two-Key listed as connected

  5. Try it

    Use Two-Key and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using Two-Key or shows a Two-Key tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

Install Python (uv) on your computer first (one time) · No one-click button: paste the settings and fill in the values yourself

  1. Install Python (uv)

    One time only; it works for every server that needs Python (uv)

    Open the Python (uv) download page ↗

  2. Open Cursor’s MCP settings file

    ~/.cursor/mcp.json

    Paste these settings, fill in the empty values and save

    {
      "mcpServers": {
        "two-key": {
          "command": "uvx",
          "args": [
            "two-key",
            "mcp-proxy",
            "--config"
          ]
        }
      }
    }
  3. Open the AI chat in Cursor in Agent mode

  4. Try it

    Use Two-Key and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using Two-Key or shows a Two-Key tool in the answer, you are connected

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

Install Python (uv) on your computer first (one time) · No one-click button: paste the settings and fill in the values yourself

  1. Install Python (uv)

    One time only; it works for every server that needs Python (uv)

    Open the Python (uv) download page ↗

  2. Open VS Code’s MCP settings file

    MCP: Open User Configuration

    Paste these settings, fill in the empty values and save

    {
      "servers": {
        "two-key": {
          "type": "stdio",
          "command": "uvx",
          "args": [
            "two-key",
            "mcp-proxy",
            "--config"
          ]
        }
      }
    }
  3. Open the AI chat in VS Code in Agent mode

  4. Try it

    Use Two-Key and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using Two-Key or shows a Two-Key tool in the answer, you are connected

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use Two-Key💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user two-key -- uvx two-key mcp-proxy --config

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "two-key": {
      "command": "uvx",
      "args": [
        "two-key",
        "mcp-proxy",
        "--config"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "two-key": {
      "command": "uvx",
      "args": [
        "two-key",
        "mcp-proxy",
        "--config"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "two-key": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "two-key",
        "mcp-proxy",
        "--config"
      ]
    }
  }
}

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
177/wk
Licencei
Apache-2.0
Connection
Runs on your computer
Latest versioni
0.8.0
Categoryi
Other
Published to registryi
Oct 29, 2026
Code last changedi
Nov 10, 2026
Maker
Insomniac-VibeLabs
Packages
pypi: two-key
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 12, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account Insomniac-VibeLabs, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed 2 days ago

  • ✓ Pass

    Has a licence

    Uses Apache-2.0

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in with Google to post

User reviews

No reviews yet

Sign in with Google to write a review

Compared with others in Otheri

  • More stars than 91% of the other 19335 servers in this category
  • Published to the registry more recently than 73% of the other 19335 servers in this category
  • Basic checks equal to or better than 100% of the other 19335 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is Two-Key safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

The registry does not list a required key, though some servers ask you to sign in on first use.

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed 2 days ago, and the latest version (0.8.0) reached the registry 14 days ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Python (uv) on your computer.

What can I use instead?

In the same category: World Monitor, Claude Flow, Windmill

Others in the same category

Servers in the same category from other makers, sorted by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

World Monitor

Real-time global intelligence on conflict, markets, energy, trade, shipping and cyber. 104 tools.

by koala73Widely used★ 90.5KUpdated today

Runs in the cloud✓ service owner · worldmonitor.app

Claude Flow

AI orchestration with hive-mind swarms, neural networks, and 87 MCP tools for enterprise dev.

by ruvnetWidely used↓ 13.5K/wk★ 81.5KUpdated 14 months ago

Runs on your computer

Windmill

Run Windmill scripts and flows and manage jobs, schedules, resources and variables.

by windmill-labsWidely used★ 18.5KUpdated today

Runs in the cloud

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

Two-Key

Two independent keys must turn before an AI agent can act. No human needed.

AI agent authorization and MCP gateway with dual-path authorization. Deterministic bytecode policy combined with AI judge approval, single-use capability tokens, and an encrypted ledger.

🎯 The Problem

AI agents can be given permission to use a tool without being given authority to perform every consequential action that tool can perform.

Traditional tool permissions answer:

"Can this agent call this tool?"

Two-Key asks a different question:

"Is this specific action authorized to execute?"

Two-Key is an authorization layer for AI agents that use tools. Before a consequential tool call executes, Two-Key requires independent authorization through a deterministic policy path and an independent judge path:

  • The policy key (Path A). The rules you sign compile to bytecode. A small deterministic VM checks every call against fields read from the call's own arguments: the tool, the amount, the counterparty, the data class, and fields you define. It reads no prose, so no prompt can talk it out of a rule.
  • The judgment key (Path B). One or more AI judges, each with its own credential, review the call against your written constitution. Two-Key refuses to start with a judge that holds the agent's own credential.

Only when both keys turn does Two-Key issue a single-use token, bound to the exact arguments, the signed constitution, and the ledger state. The gateway runs the tool only with that token, and every decision, allowed or denied, is written to an encrypted, hash-chained ledger with a signed head.

What you get:

  • Works with the agent you have. Grok, ChatGPT, Claude, Gemini, or a local model (i.e. Ollama) proposes the call as data; Two-Key decides.
  • Judges you choose. xAI, OpenAI, Anthropic, Gemini, or a local model. One judge is enough to start; the high_assurance profile asks for judges from two makers and a yes from a local one.
  • In front of any MCP server (0.5.0). two-key mcp-proxy shows the agent only the tools you signed and runs every call through both keys.
  • Facts from your systems, not from the agent (0.5.0). A field such as "this invoice matches its purchase order" comes from your own lookup, and is looked up again just before the tool runs.
  • An audit trail you can check. AES-256-GCM at rest, a hash chain, a head signed by the principal and a witness key, and two-key audit.
  • A copy in your SIEM (0.7.0). Every decision can go to syslog or an HTTPS webhook as it is written, in Two-Key's own schema, ECS, or OCSF, with reason codes and digests but no argument values. A collector that is down never blocks a decision.
  • Keys you can recover. Passphrase backup of every key, in three bundles.
  • Small on purpose. Python 3.10 to 3.14, one required dependency (cryptography), Apache-2.0.

Status: beta. 0.9.0 is the current release, the last beta before 1.0: every signature is hybrid Ed25519 + ML-DSA-65 (quantum-resistant), a 0.8.0 deployment's keys are upgraded once at the first start, a tool behind the proxy can check its own calls (the tool check), a tool error spends its token, and two-key setup --window sets up in a window. 0.8.0 added a summary of recent decisions for the judges, each judge's ballot in the ledger, one proxy per agent, a read-only ledger audit window (two-key ledger-view) and a constitution editor. 0.7.3 added two-key setup and two-key config set, get, undo and check for setting up and changing a deployment, a signed serial so a ledger never goes back to older rules, and start-up checks for the upstream server's files behind a launcher. 0.7.0 added the SIEM export, a start-up check that refuses to run when the monitored agent is Two-Key's own account, and a count of the tokens the gateway refuses. Maintainer-reviewed and tested with live LLM agents and judges. Read Known limits and docs/FIT.md before you rely on it.

Contents

  • Quick start
  • Put Two-Key in front of an MCP server
  • Documentation
  • Components
  • Dual-path authorization
  • Architecture
  • What this repo leaves out
  • Known limits
  • Roadmap
  • Install and versions
  • Layout
  • History and license

Quick start

Install 0.9.0 from PyPI (docs/PYPI.md):

pip install "two-key[yaml]==0.9.0"

Tag v0.9.0 on main is the same code.

Or run the offline demo from a clone. It uses test-double judges, so it needs no API keys:

python3 -m venv .venv

. .venv/bin/activate pip install -e ".[yaml]" python -m two_key demo python -m two_key authorize --help

For a ten-minute walkthrough from install to an allowed and a refused call with a local judge, on the command line or in the setup and ledger windows, see docs/QUICKSTART.md.

Real judges are configured in examples/judges.yaml. The operator guide is docs/HOWTO.md. Before a real agent runs, close every way around Two-Key: docs/CONNECTING.md.

Put Two-Key in front of an MCP server

New in 0.5.0 (#2):

pip install "two-key[mcp]==0.9.0"

An MCP client (a desktop assistant, an IDE, an agent framework) normally starts an MCP server and calls its tools directly. With Two-Key, the client starts two-key mcp-proxy instead. The proxy starts the real server itself, shows the agent only the tools you signed, and runs every call through both keys before the server sees it. Facts such as a purchase-order match come from your own hook, never from the agent. A refused call comes back to the agent as a tool error with a reason code.

flowchart TD

host["Agent host MCP client"] -- "tools/list and tools/call, stdio" --> tk subgraph proxy["two-key mcp-proxy, its own OS user"] hooks["Fact hooks your code"] -- "facts" --> tk["Two-Key checks policy, asks judges"] tk -- "token" --> gw["Gateway same process"] end tk -. "normalized record" .-> judges["Judges"] gw -- "projected args, stdio" --> up["Upstream MCP server child process, third OS user"] up --> sor["System of record"] hooks -. "look facts up" .-> sor

two-key setup writes a first deployment; two-key config set, get, and undo change one setting at a time, checked and recorded in the ledger, and config key-passphrase encrypts the principal key (SETUP). two-key config check --config proxy.yaml says whether the proxy would start, and config show prints the settings it resolves to; both are read-only (HOWTO "Look at a config without starting the proxy"). two-key mcp-draft-specs drafts the tool specs from the server's own schemas for you to review and sign. The walkthrough, with a worked example, is HOWTO "Put Two-Key in front of an MCP server". Run the proxy and the upstream server as separate OS users, so neither the agent nor the server can reach the proxy's keys (HOWTO "Key custody"). The proxy speaks stdio only and does not listen on the network; an agent on another machine starts it over SSH with a forced command (CONNECTING), a route that still needs live testing. From 0.7.0 the proxy refuses to start when the account that started it is Two-Key's own, is root, or can change Two-Key's files (on_agent_access).

Documentation

ReadFor
docs/FIT.mdWhether Two-Key is the right control for you
docs/QUICKSTART.mdTen minutes from install to an allowed and a refused call, on the command line or in the windows
docs/DEMO.mdA first-time demo, step by step with screenshots: the MCP filesystem server behind Two-Key, a local LM Studio judge on Windows, and an agent on Ubuntu
docs/GUI_WALKTHROUGH.mdEvery window step by step, in screenshots from one live run: setup, the constitution editor, the ledger view, and the 0.8.0 key upgrade (0.9.0)
docs/HOWTO.mdSetup, configuration, the MCP proxy, and operations
docs/CONNECTING.mdConnecting the agent and every hook so it cannot go around Two-Key, with a checklist
docs/SETTINGS.mdEvery setting: its file, default, what high_assurance does to it, and who may change it
docs/SETUP.mdtwo-key setup for a first deployment, config set, get, and undo to change one setting, and config key-passphrase to encrypt the principal key: who may run them, what they check, and what they refuse
docs/SCANNERS.mdContent scanning with your antivirus or DLP product (0.6.0)
docs/SIEM.mdSending the ledger to a SIEM, and checking a copy against it (0.7.0)
docs/TOOL_CHECK.mdThe tool check: a tool behind the proxy refuses a call that did not come through both keys, and signs a receipt (0.9.0)
docs/AGENT_ROSTER.mdThe signed agent roster: each agent tied to the account it runs as, which tools each may use, and judges from another maker (0.9.0)
docs/LEDGER_VIEW.mdtwo-key ledger-view: search, filter and sort the ledger in a read-only window for an audit (0.8.0)
docs/CONSTITUTION_EDITOR.mdtwo-key constitution-editor: write, try and sign a constitution in a window (0.8.0)
docs/JUDGES_AND_QUORUM.mdHow judges vote and how the two keys combine

| [docs/THREAT_MODEL.md](docs/THREAT_M

Only the beginning is shown; read the rest in the repo