Repository navigation
feat(agent): add an app catalog with browser sign-in to Integrations - #1447
Merged
Merged
Conversation
Settings > Integrations keeps the built-in integrations first, then the servers you connected, then a searchable catalog of 23 remote apps, each with its logo. A catalog app is a data entry, so adding one needs no Rust. Most apps connect through OAuth in the browser, using Dynamic Client Registration, PKCE and a loopback redirect. Credentials live in the local store. GitHub takes a personal access token in a masked field, because it has no self-serve sign-in. A sign-in saves the endpoints it used, so a refresh token only ever goes where the person signed in, and a server cannot redirect it later by changing what it advertises. Each sign-in also confirms the issuer itself publishes those endpoints. HTTP servers now speak the stateless 2026-07-28 revision and fall back to the initialize handshake for older servers. Store migration 5 is one-way. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
AnthonyRonning
force-pushed
the
codex-mcpauth-maple
branch
from
November 4, 2026 23:17
1e813ce to
cf4daee
Compare
A new browser sign-in now starts on, like every other new connection. Signing in again keeps an app off if someone turned it off. Connecting shows a spinner in the button instead of an alert, with Cancel beside it. The custom server form gets the same state, because the alert was its only way to stop a sign-in. Failures show as a line on the card or form that started them. The browser now lands on the same branded page as Maple Work's own sign-in. The template moves to the maple-agent crate so both flows share it, with a test that its security hashes match. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Settings > Integrations now has three parts: the built-in integrations, the servers you connected, and a searchable catalog of 23 remote apps with their official logos. An app in the catalog is a data entry in
catalog.json, so adding one needs no Rust. Vana can join later the same way.This is not only a UI change. Master can only reach a remote server with a pasted token, so this PR also adds browser sign-in and the stateless MCP revision.
What changed
2026-07-28: HTTP servers use the stateless revision and fall back to theinitializehandshake for older servers. Stdio is unchanged.mcp_oauth_credentials, with GC and integrity coverage.Behavior to review
maple-agentcrate so both sign-in flows share it. It says Maple Work is finishing the connection, because the code has not been redeemed at that point.server/discover. A server that answers it with a JSON-RPC error or a 4xx falls back toinitialize, including the session errors SDK-built servers typically send. A server that answers it with a 5xx, a non-MCP 200, an empty 202 or 204, or nothing does not. Those worked on master. This was accepted for now because custom servers are experimental.Maple, and a test asserts that, so the wording appears to come from Vercel. Other vendors may show a different name.app/assets/icons/apps/SOURCES.md. Vendor brand terms were not reviewed.Dependencies
rmcpmoves to=3.8.0with itsauthfeature, plussse-stream =0.2.6. The lockfile addsoauth25.0.0, which is well past the seven-day cooldown.Validation
Run on macOS on the final code, without the workspace env sourced.
just ci-lintcargo test --workspace --no-fail-fastjust ci-extrascripts/audit-sqlcipher-dependencies.pyjust lane repojust supply-chainmkkeywordhashlink on this Mac, also without this branch.agent-supply-chainpassed in CIreads_native_release_tar_format_and_preserves_bundle_modes, in untouched updater code. It fails on this Mac because of bsdtar.MAPLE_HOOK_SKIP=1. The checks above were run separately.queued_updates_reach_the_host_store_without_sidecar_filesfailed once in a filtered parallel run. It is untouched by this PR, and passed 5 of 5 alone and in the full run.Real app, against a local fake OAuth app: registration, PKCE, a client secret, stateless calls, restart, a 401, a refresh with the saved secret, then a real model tool call. This run came before the endpoint pinning, which automated tests cover through the same sign-in and refresh code.
Real account, Notion: a person signed in through Connect. An agent then read a private page and created a new one through Notion's tools.
Real app, other checks:
Authorizationheader, and stayed out of the logs.Custom servers on the final code:
initializeat2025-11-25, the same version as master.Regression tests: both new sign-in security tests fail with their fix removed.
CI at
ca44864d:agent-lint,agent-test(Ubuntu),agent-macos,agent-windows,agent-windows-updater,agent-provider,agent-supply-chainandci-okpassed. Package lanes did not run.Not proven
🤖 Generated with Claude Code