docs(mcp): how to get an MCP token and connect a client (#968)
CI / Check (push) Skipped
CI / Agent integration (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Dashboard (push) Skipped
CI / Deploy MCP (push) Skipped
CI / Deploy Agent (push) Canceled after 0s
CI / Deploy Docs (push) Successful in 1m14s

The MCP endpoint accepts only MCP tokens (mcpt_…) from the MCP-Tokens page,
which a signed-in person creates; the docs said to use the MCP server
entry's access token, which the endpoint refuses, and gave a wrong URL.
Portal API keys neither work at the endpoint nor can create MCP tokens.

- Step by step: create the token at /mcp-tokens (also reachable in
  source-only deployments, where the overview card is hidden), add the
  server with the real endpoint (/mcp/mcp) to Claude Code or a JSON-configured
  client, check /mcp/health, and read the three 401 answers.
- API-Schlüssel: a note that keys are not for MCP.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit was merged in pull request #968.
This commit is contained in:
sharangandClaude Opus 5.5 committed 2026-11-10 13:48:58 +00:00
1 parent b9acabb6ba
commit 589c3b440b
2 files changed
+81 -12

No files matched your search

+5
View File
@@ -39,6 +39,11 @@ Person vorbehalten.
## Gut zu wissen
- **Nicht für MCP.** Ein LLM-Werkzeug (Claude Code, Cursor, …) meldet sich an
der MCP-Schnittstelle mit einem eigenen MCP-Token (`mcpt_…`) an, nicht mit
einem API-Schlüssel. MCP-Tokens legt eine angemeldete Person im Dashboard
unter `/mcp-tokens` an; siehe [MCP-Schnittstelle](/features/mcp-server#connecting-an-mcp-client).
- **Widerruf wirkt nach höchstens 60 Sekunden.** Prüfwerk merkt sich das
Prüfergebnis eines Schlüssels eine Minute lang.
- **Nachvollziehbarkeit:** Änderungen mit einem Schlüssel stehen im Verlauf