Prototyp · Vorschau: alle Server aus der offiziellen Registry, alle 30 Minuten synchronisiert. Bewertungen und Benutzerkonten folgen in einem späteren Schritt.
PopNx MCPMCP-Server für alle, die KI nutzen · in einfachen Worten erklärt

Two-Key

von Insomniac-VibeLabsVersion 0.8.0i★ –iLäuft auf deinem Computer
Name in der Registryio.github.Insomniac-VibeLabs/two-key

Installieren

Überblick

Beschreibung vom Entwickler (englisches Original)

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

Die drei Säulen von PopNx MCP

Diese drei werden nie zu einer Punktzahl zusammengefasst: Meinungen, Messungen und Beliebtheit sind verschiedene Dinge.

Was du damit machen kannst

Für diesen Server haben wir noch keine Zusammenfassung in einfacher Sprache geschrieben. Unten stehen die Fakten, die wir aus der Registry gelesen haben.

  • Verbindung: Läuft auf deinem Computer
  • Transport: stdio
  • Kategorie: Sonstiges

Installation

Wähle die KI-App, die du nutzt, und kopiere die Einstellungen.

Bevor du installierst

  • Basischecks: 1 von 1 bestanden
  • Läuft auf deinem Computer mit den Rechten deines Benutzerkontos (Dateien, Netzwerk, Apps).
  • Die Registry nennt keinen Schlüssel zum Eintragen.

Du brauchst

  • PyPIuv für Python installiert (für den Befehl uvx)

Welche App nutzt du?

Wähle oben deine App. Wir merken sie uns, damit der Button beim nächsten Mal „In … installieren“ anzeigt.

Öffne Claude Desktop → Settings → Developer → Edit Config und füge dies in claude_desktop_config.json ein

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

Führe das in deinem Terminal aus

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

Dieser Server braucht Werte in seiner Befehlszeile, also kopier die Einstellungen und trag sie ein.

Oder kopier die Einstellungen selbst

In .cursor/mcp.json in deinem Projekt oder in ~/.cursor/mcp.json einfügen

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

Dein Browser fragt, ob er die App öffnen darf, dann zeigt die App die Einstellungen und bittet dich um Bestätigung. Schlüsselwerte bleiben leer, damit du sie selbst einträgst.

Dieser Server braucht Werte in seiner Befehlszeile, also kopier die Einstellungen und trag sie ein.

Oder kopier die Einstellungen selbst

In .vscode/mcp.json in deinem Projekt einfügen

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

Dein Browser fragt, ob er die App öffnen darf, dann zeigt die App die Einstellungen und bittet dich um Bestätigung. Schlüsselwerte bleiben leer, damit du sie selbst einträgst.

Dieser Server läuft auf deinem Computer, und ChatGPT kann sich nur mit Servern im Internet verbinden. Wähle eine andere App.

Deine Auswahl bleibt in einem Cookie auf diesem Gerät; kein Konto nötig.

Diese Einstellungen werden aus dem Registry-Eintrag des Entwicklers erzeugt. Wenn in der README etwas anderes steht, folge der README.

Was er kann

Läuft auf deinem Computer; die Tool-Liste erscheint nach der Installation in deiner KI-App.

Basischecksi

Wir prüfen Informationen, die jeder sehen kann; den Code haben wir nicht gelesen. Checks, die nicht zutreffen, werden nicht mitgezählt. · Geprüft am 8. Nov. 2026

  • ✓ Bestanden

    Entwickler passt zum Repo

    Der Registry-Name wurde mit dem GitHub-Konto Insomniac-VibeLabs bestätigt, dem das Repo gehört

  • … Noch nicht geprüft

    Wird noch gepflegt

    Dieses Repo haben wir noch nicht von GitHub gelesen

  • … Noch nicht geprüft

    Hat eine Lizenz

    Dieses Repo haben wir noch nicht von GitHub gelesen

  • – Nicht zutreffend

    Endpunkt antwortet

    Dieser Server läuft auf deinem Computer; es gibt keinen Endpunkt im Internet

  • – Nicht zutreffend

    Anmeldung mit OAuth

    Läuft auf deinem Computer und nutzt stattdessen lokale Einstellungen

  • … Noch nicht geprüft

    Keine versteckten Anweisungen in Tool-Beschreibungen

    Läuft auf deinem Computer; Tool-Listen können wir nur von Endpunkten im Internet lesen

Im Vergleich mit anderen in Sonstigesi

  • Mehr Sterne als 0 % der anderen 18474 Server in dieser Kategorie
  • Neuer in der Registry veröffentlicht als 79 % der anderen 18474 Server in dieser Kategorie
  • Basischecks gleich gut wie oder besser als bei 100 % der anderen 18474 Server in dieser Kategorie

Verglichen mit allen aktiven Servern dieser Kategorie in der Registry. Sterne zählen nur, wenn dem Herausgeber das Repo gehört.

Häufige Fragen

Ist Two-Key sicher?

Er hat 1 von 1 zutreffenden Basischecks bestanden. Den Code haben wir nicht gelesen. Bevor du einen Schlüssel oder Token hinzufügst, sieh nach, welche Zugriffe der Server verlangt, und nutze einen Schlüssel, der nur die Berechtigungen hat, die du brauchst.

Welche Schlüssel oder Codes braucht er?

Die Registry nennt keinen erforderlichen Schlüssel, manche Server bitten dich aber bei der ersten Nutzung, dich anzumelden.

Läuft er auf meinem Computer oder in der Cloud?

Er läuft auf deinem Computer. Deine KI-App startet ihn bei Bedarf, und die Daten laufen nicht über die Server des Entwicklers (außer der Server ruft selbst einen Onlinedienst auf).

Wird er noch gepflegt?

Das GitHub-Repo wurde zuletzt – geändert, und die neueste Version (0.8.0) kam vor 10 Tagen in die Registry.

Welche Apps können ihn nutzen?

Apps, die MCP unterstützen, etwa Claude Desktop, Claude Code, Cursor und VS Code. Außerdem brauchst du Python (uv) auf deinem Computer.

Was kann ich stattdessen nutzen?

In derselben Kategorie: Spec Driven Development, Remote Desktop Commander, Thalovant MCP

Alternativen

Server derselben Kategorie von anderen Entwicklern, sortiert nach Sternen.

So liest du eine Karte:↓ Downloads pro Wochei★ GitHub-SterneiDrei Säulen: Bewertungen · Checks · NutzungiAktualisiert = neueste Version in der Registry veröffentlichti

Spec Driven Development

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

von formulahendryAm Anfang↓ 66/Wo.★ 440Aktualisiert vor 14 Monaten

Läuft auf deinem Computer

Remote Desktop Commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

von desktop-commanderWachsend★ 211Aktualisiert vor 3 Tagen

Läuft in der Cloud✓ desktopcommander.app

Thalovant MCP

Connect MCP clients to Thalovant control-plane and hub runtime APIs over stdio or Streamable HTTP.

von thalovantAm Anfang↓ 455/Wo.Aktualisiert heute

Läuft auf deinem Computer

README vom Entwickler

README öffnen

Unverändert aus dem Repo des Entwicklers übernommen. PopNx MCP hat den Inhalt weder geprüft noch empfiehlt es ihn. HTML, Bilder und Skripte wurden entfernt. Links führen von dieser Website weg.

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

Nur der Anfang wird gezeigt; den Rest findest du im Repo

PopNx fragen