feat: resolve open issues #6-#12, fix Claude Desktop OAuth #13
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/open-issues"
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?
Closes #6, closes #7, closes #8, closes #9, closes #10, closes #11, closes #12
Summary
All seven open issues, plus four things that came up while working on them: Claude Desktop could not connect, the password minimum, a link to this repo in the app, and
db:generateignoring--name.<serverId>.<nil uuid>), never pooled and killed straight after, and fills the tool catalog.resource, rotating refresh, tokens encrypted.invalid_client: their client metadata document listsjwt-bearer. Grant types mcphub does not support are now dropped, not refused.npm run db:generate -- --name xpasses--namethrough.Upstream OAuth sign-in, per user:
How a server's status is decided after this PR:
One migration,
0001_open_issues.sql. It replaces the three migrations the branches generated separately:Evidence
Screenshots come from a throwaway local instance with demo data. Dark theme, 1440 wide unless noted.
#6 client icons
Before:

After:



#7 variable defaults
Before:

After:
#8 available to everyone
Before:



After:
#9 test values
#10 icon and links
#11 my servers grid
Before:



After:
#12 OAuth for remote servers
Extras
Claude Desktop fix
Checks
Tests added for the code written while merging the branches:
upstream/context.tsand passes with it.setupNeededis covered for an unset required instance value and for a shared sign-in.Merge Danger
Door: one-way
The migration adds columns and tables and backfills
access_all = falseon existing servers. There is no down migration, so after deploy a rollback means restoring the database or leaving the extra columns in place. The code itself is easy to revert.Blast Radius: wide
services/access.tsdecides who sees which server for/mcp, the portal and the admin views. Theaccess_allbackfill keeps existing servers as they are, but every server created after this deploys is open to everyone unless the admin switches it off.authorization_codeandrefresh_token.lib/safe-fetch.ts: https only, public addresses only, pinned DNS, no redirects, size and time limits. IP literals are now checked too.GET /api/upstream-oauth/callbackis public on purpose. It checks the session itself and is bound to the state, single use and limited to 10 minutes.🤖 Generated with Claude Code