Outline-MCP: OAuth statt API-Key-Header (Verbindung scheitert mit 401) #44
Labels
No labels
epic/katalog
epic/konto
epic/partien
epic/querschnitt
epic/sammlung
needs-clarification
prio/could
prio/must
prio/should
size/l
size/m
size/s
size/xl
status/in-progress
status/ready-for-merge
status/spec-review
type/bug
type/epic
type/story
type/tech
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: cschlaefke/Shuffle#44
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Nach #39 (PR #40) verbindet sich der Server
outlinenicht: Outline antwortet mit 401Unable to decode token, obwohl der Key an der REST-API (/api/auth.info) 200 liefert. Wahrscheinliche Ursache: die Variable${OUTLINE_API_KEY}wird von der Desktop-App nicht aus~/.zshenvgeerbt, der Header enthält dann den unaufgelösten Platzhalter. Außerdem setzt ein gesetzterAuthorization-Header den OAuth-Fallback außer Kraft.Lösung (nach Outline-Doku, https://docs.getoutline.com/s/guide/doc/mcp-6j9jtENNKL)
Standard ist OAuth:
.mcp.jsonnur mittype: httpundurl(https://outline.cshomelabs.work/mcp), Anmeldung per OAuth-Ablauf. Kein Key in Umgebungsvariablen nötig. Voraussetzung: MCP im Workspace aktiviert (Settings → Workspace → AI).Akzeptanz
headers-Block aus.mcp.jsonentferntOUTLINE_API_KEY-Abschnitt durch OAuth-Hinweis ersetzt (API-Key nur als Alternative)mcp__outline__*