Support inviting organization members via MCP
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- typescript
- Ambito
- api, authentication
Direzione di ricerca
Start with the MCP tools and API client in mcp-core, then read mcp-core/src/permissions.ts and mcp-core/src/scopes.ts alongside the hosted OAuth route at mcp-cloudflare/src/server/oauth/routes/authorize.ts. Trace how existing tools make authenticated requests and check the organization member endpoint’s permission and invite constraints. Done means an invite tool is available with the required scope and permission handling, and tests cover successful invitations and relevant errors, including disabled invites and conflicts.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
The Sentry MCP server has no way to invite or add members to an organization. So when a user asks their agent to invite people by email, the agent gets stuck. One agent hit this and sent in user feedback (MCP-SERVER-GKS): the user asked to invite three emails to their org, and the agent found nothing that could do it.
Current state
- No tool in the catalog invites, adds or lists org members.
mcp-corehas no API client calls to/organizations/{org}/members/. - Sentry already exposes
POST /api/0/organizations/{org}/members/(email,orgRole,teamRoles,sendInvite).MemberPermissionallows POST withmember:invite,member:writeormember:admin. - The hosted OAuth flow (
mcp-cloudflare/src/server/oauth/routes/authorize.ts) asks for a fixed set of scopes frommcp-core/src/scopes.ts:org:read project:write team:write event:write alerts:write. None of those are member scopes, so existing hosted tokens can't call the endpoint. member:inviteis not in the MCPScopetype inmcp-core/src/permissions.ts, which only hasmember:read/write/admin.
Constraints the backend already enforces
- The
organizations:invite-membersfeature can turn invites off for an org (403). - The assigned role must be one the inviter is allowed to grant. It defaults to
member. - When open team membership is off, members with
member:invitecan only invite into teams they belong to. - Invites are rate-limited per org, email and inviter (429). Existing invites or invite requests return conflict errors.
Why it matters
- Inviting teammates is a common setup step. Adding members can also lead orgs to a paid plan.
- An invite sends a real email to an outside address. That's a new kind of side effect for the MCP, and it should be guarded against agent mistakes.
Related: #927 (org member / assignee lookup tools).
via Dhrumil.
--
- Lingua principale
- TypeScript
- Stelle
- 957
- Fork
- 174
- Merge medio
- 13h 16m
- PR unite (30g)
- 407
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di getsentry/toolkit
-
CLI enhancement MCP
Difficoltà 2/5 1-3 ore Idoneità per principianti 63/100
getsentry/toolkit#1908 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Docs MCP URL normalization retains query strings and fragmentsForse già presa @pcbeingused333 l’ha presa 8 giorni fa. Apertabug MCP
Difficoltà 2/5 1-3 ore Idoneità per principianti 73/100
getsentry/toolkit#1618 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
getsentry/toolkit#1471 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Remote MCP: let Bearer-only clients opt into direct token auth (a `Sentry-Bearer` equivalent)Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
getsentry/toolkit#2065 · 7 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Release v4 as the Sentry CLI, replacing sentry-cliForse già presa @BYK l’ha presa 3 giorni fa. Aperta
getsentry/toolkit#1965 · 1 commento · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di getsentry/toolkit
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
microsoft/vscode-containers#655 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
dsh-tauri-desk/deepseek-harness-desktop#1477 · 1 commento ·
-
[docs] RELEASE.md: wrong branch name, no check that the prepare PR merged with the right subject, manual publish stepForse già presa @albertteoh l’ha presa oggi. Apertadocumentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
jaegertracing/jaeger-ui#4739 ·
I maintainer di solito rispondono entro 1 giorno
-
Add: Shop On TV SDApertacheck:passed streams:add
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
I maintainer di solito rispondono entro 1 giorno