feat(mcp): OAuth so claude.ai and ChatGPT can connect as connectors
MindSift CI & Docker Release / Build, Test in Container & Push (push) Successful in 2m49s

MindSift becomes the OAuth authorization server for its own MCP
endpoint: discovery (RFC 9728/8414), dynamic client registration,
authorization code with PKCE (S256), rotating refresh tokens with reuse
detection. The consent page lives in the app at /oauth/authorize. A
grant is an api_keys entry (kind 'oauth'), so scopes, origin badges,
renaming and revoking work as for keys; tokens are valid for /mcp only.
Unused connections expire after OAUTH_IDLE_DAYS (default 90). Requires
BASE_URL; off in demo mode. Release 0.51.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
sandrodachandClaude Opus 5.5 committed 2026-11-01 20:01:32 +01:00
1 parent 994f6dc554
commit 75aea4a7d4
31 files changed
+1581 -49

No files matched your search

+9 -1
View File
@@ -6,6 +6,13 @@ Das Format folgt [Keep a Changelog](https://keepachangelog.com/de/1.1.0/), die V
## [Unreleased]
## [0.51.0] - 2026-11-01
### Added
- MindSift lässt sich in **claude.ai** (auch in der Claude-App am Handy) und **ChatGPT** als Connector verbinden, ganz ohne API-Schlüssel: Adresse `…/api/v1/mcp` eintragen, in MindSift anmelden, auswählen, was der Agent darf, und erlauben. Vorbelegt sind Lesen und Ändern für Aufgaben und Listen. Braucht `BASE_URL`; im Demo-Modus nicht verfügbar.
- Einstellungen → API-Schlüssel: Verbindungen über claude.ai & Co. stehen mit dem Kennzeichen „OAuth“ in der Liste; Rechte ändern, umbenennen und trennen wie bei Schlüsseln. Unter „KI-Agenten (MCP)“ steht die Adresse für claude.ai / ChatGPT zum Kopieren.
- `OAUTH_IDLE_DAYS` (Standard 90): Verbindungen, die so lange nicht benutzt wurden, werden getrennt; `0` = nie.
## [0.50.0] - 2026-11-01
### Added
@@ -779,7 +786,8 @@ Das Format folgt [Keep a Changelog](https://keepachangelog.com/de/1.1.0/), die V
- Geteilte Listen (Einkaufs-, Pack- und Checklisten) mit `#Kategorie`-Gruppierung, Mengenangaben und Echtzeit-Abhaken.
- Benutzer-, Gruppen- und Admin-Verwaltung (Ersteinrichtungs-Assistent, Einladungscodes, Profilbilder, persönliche API-Keys & Webhook-Ingest `/api/v1/webhooks/ingest`, JSON-Datenexport) sowie CSS-Theme-Engine mit 4 Themes (`Dark`, `Light`, `High Contrast`, `Soft`) und PWA-Unterstützung.
[Unreleased]: https://git.dsit.me/sandrodach/MindSift/compare/v0.50.0...dev
[Unreleased]: https://git.dsit.me/sandrodach/MindSift/compare/v0.51.0...dev
[0.51.0]: https://git.dsit.me/sandrodach/MindSift/compare/v0.50.0...v0.51.0
[0.50.0]: https://git.dsit.me/sandrodach/MindSift/compare/v0.49.2...v0.50.0
[0.49.2]: https://git.dsit.me/sandrodach/MindSift/compare/v0.49.1...v0.49.2
[0.49.1]: https://git.dsit.me/sandrodach/MindSift/compare/v0.49.0...v0.49.1