Skip to content
This repository was archived by the owner on Nov 29, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion PROJECT_STATUS.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Saved links, read/unread state, an add-link form, a one-click Chrome capture ext
## Release boundary

The simplification was merged in PR #78 and deployed on 2026-10-09. Merged-main CI and the production deployment passed. The live inbox, MCP discovery, and authenticated retrieval through the existing ChatGPT app were verified.
The direct Reader Inbox plugin was created in ChatGPT with OAuth discovery. Final account authorization and an authenticated read-state write-back check remain pending; Auth0 admin access currently requires owner MFA enrollment. Do not describe the new connection as fully working without that evidence.
Chrome extension v0.2.0 is published as a GitHub release. The direct **Reader Links** plugin is connected in ChatGPT using a dedicated public OAuth client with PKCE and explicit `reader.read` / `reader.write` grants. Live ChatGPT search, fetch, mark-read, and restore-unread checks passed; both state changes were independently observed in the Reader inbox. The test item was restored to its original unread state.

## Operational constraints

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ Google-backed Auth0 OAuth maps the connection to the same Reader account. Reads

The database schema and saved data remain unchanged. Legacy web articles appear as links and their captured content remains available through MCP. Local browser data and stored PDFs are not deleted.

This simplification requires a manual deployment and OAuth configuration before it can be used in ChatGPT. Source verification is separate from deployment and an authenticated ChatGPT end-to-end check.
The simplification is deployed. Chrome extension v0.2.0 is available in [Releases](https://github.com/Significant-Hobbies/reader/releases/tag/chrome-extension-v0.2.0). The owner's Reader Links ChatGPT connection passed live search, fetch, and read/unread updates. Other accounts still need their own OAuth connection.

[Documentation](docs/index.md) · [Current status](PROJECT_STATUS.md)
2 changes: 1 addition & 1 deletion STATUS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Reader status

Reader is now a saved-link inbox with a Chrome capture extension and ChatGPT MCP retrieval/read-state updates. The simplified web app is deployed; direct ChatGPT account authorization and write-back verification remain pending.
Reader is now a saved-link inbox with a Chrome capture extension and ChatGPT MCP retrieval/read-state updates. The web app is deployed, extension v0.2.0 is released, and the direct Reader Links ChatGPT connection passed live search, fetch, read, and unread verification.

Source scope and the rollout boundary are recorded in [PROJECT_STATUS.md](PROJECT_STATUS.md). Deployment and live OAuth/ChatGPT verification are separate from local checks.
4 changes: 2 additions & 2 deletions docs/architecture/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ The source endpoint is `https://read.significanthobbies.com/api/mcp`. Live use r

Use the existing Google-backed Auth0 integration:

1. Configure a resource/API identifier equal to the direct MCP endpoint. Set `AUTH0_ISSUER` to the exact Auth0 issuer with a trailing slash and `AUTH0_MCP_AUDIENCE` to the endpoint identifier.
1. Use an Auth0 resource/API identifier matching the Worker's configured `AUTH0_MCP_AUDIENCE`. The existing production identifier is `https://mcp.significanthobbies.com/reader/mcp`; set the ChatGPT advanced OAuth Resource field to that identifier while keeping the Server URL at the direct endpoint. For a fresh installation, use the direct endpoint as the API identifier. `AUTH0_ISSUER` must be the exact issuer with a trailing slash.
2. Define and grant `reader.read` and `reader.write`. Tokens must use RS256, the exact issuer and audience, the stable `google-oauth2|<subject>` identity, and a lifetime of at most one hour.
3. Configure an OAuth authorization-code client with PKCE S256 for ChatGPT. Use the exact redirect URI shown by ChatGPT’s connection-management page; do not guess it. Ensure the provider honors the OAuth resource parameter in the access-token audience and advertises S256 in discovery.
4. Add a custom MCP connection in ChatGPT with OAuth and this server URL. Static OAuth client credentials can be supplied through ChatGPT’s connection UI when the provider does not support dynamic registration.
4. Add a custom MCP connection in ChatGPT with OAuth and this server URL. The verified production setup uses a dedicated third-party Native/public Auth0 application, User-Defined OAuth Client registration in ChatGPT, its public client ID, and token endpoint auth method `none`. No shared secret is needed. Grant only the Reader read/write scopes for user-delegated access; leave machine-to-machine and anonymous access denied. Auth0 CIMD preview succeeded but registration rejected ChatGPT's metadata, so it is not the working setup.
5. Sign in to Reader first with the same Google account. Then verify listing unread links, fetching a saved item, marking it read, and observing the updated inbox.

The linking challenge points to `/api/mcp/.well-known/oauth-protected-resource`, keeping discovery inside the existing Worker-first API routing. A standard alias also exists at `/.well-known/oauth-protected-resource/api/mcp`. The tools declare their OAuth scopes and return linking challenges. Read-only tokens never gain write access. The older `/reader/mcp` audience and `/api/mcp/reading` projections remain compatible with the existing external bridge; adapting that bridge’s tool catalog is separate from this repository.
Expand Down
Loading