-
Notifications
You must be signed in to change notification settings - Fork 1.5k
feat!: org-scope MCP server configs with RBAC #27942
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
59 commits
Select commit
Hold shift + click to select a range
ee4cd13
feat(coderd): org-scope mcp server config schema
mafredri 42bc247
feat: add mcp server config RBAC resource
mafredri ec3d920
feat(coderd): expose org MCP server APIs
mafredri f05991d
fix: cover MCP organization migration gaps
ibetitsmike ff4a1ff
fix(coderd): resolve MCP item routes via param middleware
ibetitsmike c7e66e8
feat(site): scope MCP servers to organizations
ibetitsmike 03d5c07
fix(site): finish MCP organization cutover
ibetitsmike 7506ba4
fix(coderd/database): align GetAuthorizedMCPServerConfigs with author…
ibetitsmike 5076bb1
docs(docs/ai-coder): describe org-scoped MCP servers
ibetitsmike dde0e7d
chore: polish CODAGT-711 diff and drop default-org fallback remnants
ibetitsmike 588c830
fix(coderd): keep MCP OAuth2 disconnect available to removed org members
ibetitsmike 1c57159
fix(site): gate chat creation on the organization MCP server list
ibetitsmike 58a5988
fix(coderd): stop copying MCP credentials across orgs and gate discov…
ibetitsmike 710016c
fix(coderd/database/migrations): clear copied OAuth client identity f…
ibetitsmike d3dcc51
docs(coderd/database/migrations): document default-org credential han…
ibetitsmike 9502b55
chore: apply cleanup gate round to MCP org-scope diff
ibetitsmike a3ca430
chore(coderd/database/migrations): renumber migration 000565 to 000567
ibetitsmike 4f1ea85
fix(coderd/database): remap chat MCP config IDs written by pre-upgrad…
ibetitsmike 87224c7
chore: apply cleanup gate round to upgrade-compat diff
ibetitsmike c3b60a7
chore(coderd/database/migrations): renumber migration 000567 to 000568
ibetitsmike 55065a7
fix(coderd/x/chatd): seed computer-use MCP inheritance test in the ch…
ibetitsmike ca6d748
chore(coderd/database/migrations): renumber migration 000568 to 000569
ibetitsmike b1b2f02
fix(coderd/database): renumber MCP org migration to 000570
ibetitsmike 0dc154d
fix(coderd): require deployment perms for user_oidc MCP configs
ibetitsmike d7f54b0
fix(coderd/database): keep dbcrypt no-auth MCP config copies enabled
ibetitsmike 6ee6f38
fix(coderd): invalidate MCP user grants when config destinations change
ibetitsmike 3ba9242
chore: apply cleanup gate findings to the MCP org scoping layer
ibetitsmike 7f7e706
fix(coderd): keep chats sendable after a selected MCP server is disabled
ibetitsmike 924b2c4
fix(coderd): merge MCP config updates onto the current row
ibetitsmike 7301f3a
fix(site/src/pages/AgentsPage): keep cached MCP selections usable aft…
ibetitsmike 4919aae
fix(coderd): preserve auditors' full MCP config visibility
ibetitsmike b8a1268
fix(site): use semantic textbox queries in MCP loading stories
ibetitsmike 277f365
fix(coderd): invalidate MCP user grants when OAuth endpoints change
ibetitsmike 500d08a
fix(coderd): reject MCP OAuth callbacks against superseded configs
ibetitsmike 7809d6c
fix(coderd): lock MCP config row before invalidating OAuth grants
ibetitsmike 985a725
chore(coderd): apply cleanup gate round to callback race fix
ibetitsmike d6b21ef
fix(enterprise/dbcrypt): decrypt MCP configs from the locking accessor
ibetitsmike a93b579
fix(coderd/database): keep existing MCP configs in the default organi…
ibetitsmike 6f3529f
chore(coderd/database): apply cleanup gate to the no-copy migration diff
ibetitsmike e94b87e
fix(coderd/database): drop the rolling-upgrade chat remap trigger
ibetitsmike 914f197
refactor: nest MCP server config routes under organizations
ibetitsmike bc6b425
refactor: filter enabled MCP server configs in SQL
ibetitsmike f710f2a
fix(coderd/database): drop defensive paths from migration 000570
ibetitsmike ca286ff
fix(site/src): scope MCP server API routes by organization
ibetitsmike dc5242d
chore(site/src/pages/AgentsPage): tighten the legacy MCP selection ho…
ibetitsmike d6f9a30
fix(coderd/database): renumber MCP org migration to 000571
ibetitsmike cbaedd0
fix(coderd): invalidate grants on revocation URL changes
ibetitsmike 2def75f
fix(coderd): require config read for the full-view MCP list
ibetitsmike 25d082e
fix(coderd): discover MCP OAuth before config creation
ibetitsmike 43acab9
refactor(coderd): share MCP config insert path
ibetitsmike 985aaeb
fix(coderd): avoid orphaned MCP OAuth clients
ibetitsmike bc64b4f
test(coderd): preserve MCP comment scope
ibetitsmike d5ae8c0
test(coderd): remove redundant MCP test comment
ibetitsmike 3004c39
docs(coderd/x/chatd): add architecture TODO for MCP org scoping
ibetitsmike 3b064b6
refactor(site/src/pages/AgentsPage): heal legacy MCP selection lazily…
ibetitsmike 5f4b4da
fix(coderd/database): renumber MCP org migration to 000574
ibetitsmike caa6aea
fix(coderd/x/chatd): scope tool search test MCP configs to the chat org
ibetitsmike 88d8e93
docs(docs/ai-coder/agents/platform-controls): note user_oidc needs de…
ibetitsmike 14fd3a2
Revert "docs(coderd/x/chatd): add architecture TODO for MCP org scoping"
ibetitsmike File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.