Skip to content

Allow org members to create and manage their own MCP connections (not admin-only) #66

Closed

Description

@shuv1337

Problem

Org members can't create or manage their own MCP connections. mcpConnections.create (and mcpConnections.list) return 403 OrganizationForbidden unless the caller is an org admin.

Incident

During a Latitudes Mesh automated join (join e359f09e-3524-4751-813f-5ee386b92184, Poteto seat) on executor-v2.shuv.dev:

  • The joining user's role was member.
  • Earlier steps worked as a member: join.begin, appAccounts.userConnect and accounts.submit created the peer account and seat.
  • Step 3 of the Mesh mesh-setup recipe, mcpConnections.create for the dedicated Mesh · Poteto connection, failed with 403 OrganizationForbidden.
  • The workaround was promoting the user to org Admin, after which the create succeeded.

Several more peers still have to join the same way, and making every joining user an org admin is too broad.

Proposal

Let members create, list, update and revoke their own MCP connections, scoped to:

  • apps they can see, and
  • runsAs accounts they own.

Keep org-wide connection management, and other members' connections, admin-only. Consider the same for mintKey/revokeKey on connections the member owns.

Notes

  • Follow-up only. Do not implement yet; to revisit after the current Mesh joins.
  • Related: Mesh mesh-setup assumes the signed-in user can create the dedicated connection.

Activity

  1. shuv1337 commented on Nov 5, 2026

    @shuv1337
    OwnerAuthor

    Done in #77 (merge 5237773c3ff87b2bb5bb9f98d27bc311d37ebd93), live on prod executor-v2 @ 411a959e (#79). Members can list/create/update/revoke their own scoped MCP connections and mint/revoke keys on them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions