Zum Inhalt springen
Menü

Verbindung einrichten

Connect your AI in minutes.

Kopiere eine Einstellung, füge einen Prompt ein, und deine KI arbeitet ab der nächsten Anfrage mit MatterSpace Duplex. Füge Hooks überall dort hinzu, wo ein Schritt vor der Ausführung geprüft werden soll.

.md

Beginne mit deinem Schlüssel.

Erstelle einen Schlüssel in deiner Konsole und lege ihn in deiner Umgebung ab. Jede Einstellung unten liest ihn von dort, sodass er nie in einer Datei landet, die du committest.

Dein Schlüssel und ScopemacOS und Linux. Unter Windows setzt du dieselben Variablen in deiner Benutzerumgebung.
export DUPLEX_API_KEY="<your key>"
export DUPLEX_SCOPE="eng:platform/you"   # optional

On the hosted service, the address is https://api.duplex.matterspace.ai/mcp. In a dedicated environment or your own cloud, use the address your console shows.

Welche Verbindung jede KI nutzt.

Die Clients laufen auf macOS, Linux und Windows.

Deine KIRegeln und Methoden nachschlagenAusgewählte Schritte prüfenEingerichtet mit
Claude CodeMCPDuplex-HooksEin Befehl oder .mcp.json für das Team
CodexMCPDuplex-HooksEin Befehl oder config.toml
CursorMCPDuplex-Hooks.cursor/mcp.json
GitHub CopilotMCPDuplex-Hooks in der CLI oder Repository-Hooks.vscode/mcp.json, or the CLI package
claude.ai, Claude Desktop, ChatGPTMCPNicht allein über MCPEin Connector: die Adresse und eine Anmeldung
Jeder MCP clientMCPNicht allein über MCPDie Adresse und dein Schlüssel
Deine eigenen AgentenMCP oder die API und SDKsNicht allein über MCPEin Schlüssel, der auf einen Workspace beschränkt ist

Claude Code.

Für dich, mit einem Befehl
claude mcp add --transport http duplex https://api.duplex.matterspace.ai/mcp --header "Authorization: Bearer ${DUPLEX_API_KEY}"
Für dein ganzes Team: .mcp.json im ProjektstammSchlüssel und Scope jeder Person werden aus ihrer eigenen Umgebung gelesen.
{
  "mcpServers": {
    "duplex": {
      "type": "http",
      "url": "https://api.duplex.matterspace.ai/mcp",
      "headers": {
        "Authorization": "Bearer ${DUPLEX_API_KEY}",
        "x-duplex-scope": "${DUPLEX_SCOPE:-}"
      }
    }
  }
}

Codex.

Mit einem Befehl
codex mcp add duplex --url https://api.duplex.matterspace.ai/mcp --bearer-token-env-var DUPLEX_API_KEY
Oder in config.toml
# ~/.codex/config.toml
[mcp_servers.duplex]
url = "https://api.duplex.matterspace.ai/mcp"
bearer_token_env_var = "DUPLEX_API_KEY"

Cursor.

.cursor/mcp.json in the project, or ~/.cursor/mcp.json for you
{
  "mcpServers": {
    "duplex": {
      "url": "https://api.duplex.matterspace.ai/mcp",
      "headers": {
        "Authorization": "Bearer ${env:DUPLEX_API_KEY}"
      }
    }
  }
}

GitHub Copilot in VS Code.

.vscode/mcp.jsonVS Code fragt einmal nach deinem Schlüssel, als Passwort.
{
  "servers": {
    "duplex": {
      "type": "http",
      "url": "https://api.duplex.matterspace.ai/mcp",
      "headers": {
        "Authorization": "Bearer ${input:duplex-api-key}"
      }
    }
  },
  "inputs": [
    { "id": "duplex-api-key", "type": "promptString", "password": true, "description": "MatterSpace Duplex key" }
  ]
}

claude.ai, Claude Desktop und ChatGPT.

Ein Connector braucht nur die Adresse und meldet dich an. Kein Schlüssel nötig.

A connector lands you in your own personal workspace. An organization’s workspace is reached with a key.

  1. ClaudeSettings → Connectors → Add custom connector. Name it MatterSpace Duplex, paste https://api.duplex.matterspace.ai/mcp and leave the advanced settings empty.
  2. ChatGPTSettings → Apps & Connectors → Advanced settings → Developer mode einschalten. Dann Create, dieselbe Adresse einfügen und OAuth wählen.
  3. Anmelden und erlaubenMelde dich mit deinem MatterSpace-Duplex-Konto an. Die Seite nennt die App, die Zugriff erhält: Wähle Allow.
  4. In einem Chat einschaltenSchalte die Tools des Connectors ein und füge den Prompt ohne Hooks in die Projektanweisungen ein.

Jeder MCP-Client oder deine eigenen Agenten.

Deine eigenen Agenten können auch die API, die SDKs für Python und TypeScript oder die Befehlszeile nutzen, mit einem Schlüssel, der auf einen Workspace beschränkt ist.

Adresse und Header
URL:     https://api.duplex.matterspace.ai/mcp   (streamable HTTP)
Header:  Authorization: Bearer <your key>         (or x-duplex-key: <your key>)
Scope:   x-duplex-scope: <your scope>             (when a key is shared by a team)

Hooks hinzufügen: einen Schritt prüfen, bevor er ausgeführt wird.

In Claude Code, Codex, Cursor und GitHub Copilot CLI fügt das Duplex-Paket die Verbindung, ihre Hooks und ihre Befehle mit einer Installation hinzu, sobald du zustimmst. Gib den Hooks einmal deine Adresse und deinen Schlüssel:

  1. Die Schritte wählenWähle die Schritte, die geprüft werden sollen, und was passiert, wenn eine Regel greift.
  2. Erste PrüfungProbiere einen Schritt, den die Regel abdeckt, und einen, den sie nicht abdeckt. Der abgedeckte Schritt wird geprüft; der andere wird als außerhalb der Prüfung gekennzeichnet.
  3. Das Protokoll ansehenÖffne das Protokoll für den geprüften Schritt: die Regel, das Ergebnis und eine etwaige Prüfung durch einen Menschen.
macOS und Linux
duplex-hook setup --url https://api.duplex.matterspace.ai --scope eng:platform/you
duplex-hook status
Windows, in PowerShell
& "<package folder>/hooks/duplex-hook.cmd" setup -Url https://api.duplex.matterspace.ai -Scope eng:platform/you

MCP gives your AI guidance and tools, and your AI takes the action. Hooks let Duplex check the action itself, before it runs. Disconnecting restores your previous settings exactly.

Füge den Prompt ein und mach den ersten Check.

Paste the standing prompt for your client, then ask your AI which Duplex workspace it reaches. It names yours, with the guarantee of the connection.

Dauerhafte Prompts →Deine erste Sitzung →

Wenn es nicht funktioniert.

  1. Den Workspace prüfenMake sure you signed in to the right organization and workspace.
  2. Check the clientMake sure your AI tool supports the connection you chose.
  3. Eine neue Sitzung startenRefresh the connection’s tools and start again: a running session keeps the tool list it began with.
  4. Check the hooksRun duplex-hook status to see whether Duplex answers your hooks.
  5. Tell usSay what you tried and what happened, leaving out passwords and private details.

Fehlerbehebung →Support →

Prompts für diese Seite

Alle Prompts →

Kopiere einen, fülle die Teile in spitzen Klammern aus und gib ihn deiner KI.

Frag deine KISet up Duplex for my client
Help me connect MatterSpace Duplex to this client. Ask me which client I use, then give me the exact setting to add. My key is already exported as DUPLEX_API_KEY; never ask me to paste it here. When we're done, check the connection with duplex_status and tell me the scope and guarantee you see.

Where to find more in the MatterSpace Duplex docs:
- Verbindung einrichten, this topic in full: https://www.matterspace.ai/duplex/docs/connections.md
- Every prompt, and where to paste the standing ones: https://www.matterspace.ai/duplex/docs/prompts.md
- Exact tools, operations, settings and answers: https://www.matterspace.ai/duplex/docs/reference.md
- Errors and what to do about them: https://www.matterspace.ai/duplex/docs/troubleshooting.md
- Every docs page, with what it covers: https://www.matterspace.ai/duplex/docs/llms.txt
Frag deine KIFirst check after connecting
Call duplex_status with show "capabilities". Tell me the scope you reach, the guarantee this connection gives, and the tools my key may use.

Where to find more in the MatterSpace Duplex docs:
- Verbindung einrichten, this topic in full: https://www.matterspace.ai/duplex/docs/connections.md
- Every prompt, and where to paste the standing ones: https://www.matterspace.ai/duplex/docs/prompts.md
- Exact tools, operations, settings and answers: https://www.matterspace.ai/duplex/docs/reference.md
- Errors and what to do about them: https://www.matterspace.ai/duplex/docs/troubleshooting.md
- Every docs page, with what it covers: https://www.matterspace.ai/duplex/docs/llms.txt