Hopp til innholdet
Meny

Sett opp en tilkobling

Connect your AI in minutes.

Kopier én innstilling, lim inn én prompt, og AI-en din jobber med MatterSpace Duplex fra neste forespørsel. Legg til hooks der et steg bør sjekkes før det kjøres.

.md

Start med nøkkelen din.

Lag en nøkkel i konsollen din og hold den i miljøet ditt. Hver innstilling nedenfor leser den derfra, så den havner aldri i en fil du committer.

Nøkkelen og omfanget dittmacOS og Linux. På Windows setter du de samme variablene i brukermiljøet ditt.
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.

Hvilken tilkobling hver KI bruker.

Klientene kjører på macOS, Linux og Windows.

Din KISlå opp regler og metoderKontroller utvalgte stegSettes opp med
Claude CodeMCPDuplex-hooksÉn kommando, eller .mcp.json for teamet
CodexMCPDuplex-hooksÉn kommando, eller config.toml
CursorMCPDuplex-hooks.cursor/mcp.json
GitHub CopilotMCPDuplex-hooks i CLI-en, eller hooks i repoet.vscode/mcp.json, or the CLI package
claude.ai, Claude Desktop, ChatGPTMCPIkke over MCP aleneEn connector: adressen og en pålogging
Enhver MCP-klientMCPIkke over MCP aleneAdressen og nøkkelen din
Dine egne agenterMCP, eller API-et og SDK-eneIkke over MCP aleneEn nøkkel begrenset til ett arbeidsområde

Claude Code.

For deg, med én kommando
claude mcp add --transport http duplex https://api.duplex.matterspace.ai/mcp --header "Authorization: Bearer ${DUPLEX_API_KEY}"
For hele teamet: .mcp.json i prosjektrotenHver persons egen nøkkel og omfang leses fra miljøet deres.
{
  "mcpServers": {
    "duplex": {
      "type": "http",
      "url": "https://api.duplex.matterspace.ai/mcp",
      "headers": {
        "Authorization": "Bearer ${DUPLEX_API_KEY}",
        "x-duplex-scope": "${DUPLEX_SCOPE:-}"
      }
    }
  }
}

Codex.

Med én kommando
codex mcp add duplex --url https://api.duplex.matterspace.ai/mcp --bearer-token-env-var DUPLEX_API_KEY
Eller i 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 i VS Code.

.vscode/mcp.jsonVS Code ber om nøkkelen din én gang, som et passord.
{
  "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 og ChatGPT.

En connector tar bare adressen og logger deg inn. Ingen nøkkel nødvendig.

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 på. Velg så Create, lim inn den samme adressen og velg OAuth.
  3. Logg inn og tillatLogg inn med MatterSpace Duplex-kontoen din. Siden viser hvilken app tilgangen går til: velg Allow.
  4. Slå den på i en chatSlå på verktøyene til connectoren, og lim inn prompten uten hooks i prosjektets instruksjoner.

Hvilken som helst MCP-klient, eller dine egne agenter.

Dine egne agenter kan også bruke API-et, SDK-ene for Python og TypeScript eller kommandolinjen, med en nøkkel begrenset til ett arbeidsområde.

Adresse og headere
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)

Legg til hooks: sjekk et steg før det går videre.

I Claude Code, Codex, Cursor og GitHub Copilot CLI legger Duplex-pakken til tilkoblingen, hooks og kommandoer i én installasjon, når du har sagt ja. Gi hooks adressen og nøkkelen din én gang:

  1. Velg stegeneVelg stegene som skal kontrolleres, og hva som skjer når en regel gjelder.
  2. Første kontrollPrøv et steg regelen dekker, og ett den ikke dekker. Det dekkede steget kontrolleres; det andre merkes som utenfor kontrollen.
  3. Se loggenÅpne loggen for det kontrollerte steget: regelen, utfallet og eventuell gjennomgang.
macOS og Linux
duplex-hook setup --url https://api.duplex.matterspace.ai --scope eng:platform/you
duplex-hook status
Windows, i 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.

Lim inn prompten og ta den første sjekken.

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.

Faste prompter →Din første økt →

Hvis det ikke fungerer.

  1. Sjekk arbeidsområdetMake sure you signed in to the right organization and workspace.
  2. Check the clientMake sure your AI tool supports the connection you chose.
  3. Start en ny øktRefresh 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.

Feilsøking →Support →

Prompter for denne siden

Alle prompter →

Kopier én, fyll ut delene i vinkelparentes, og gi den til AI-en din.

Spør AI-en dinSet 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:
- Sett opp en tilkobling, 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
Spør AI-en dinFirst 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:
- Sett opp en tilkobling, 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