Support inviting organization members via MCP
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- typescript
- 領域
- api, authentication
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
--
- 主要言語
- TypeScript
- スター
- 957
- フォーク
- 174
- 平均マージ
- 13時間 16分
- マージ済み PR(30日)
- 407
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
getsentry/toolkit のほかの issue
-
CLI enhancement MCP
難易度 2/5 1〜3時間 初心者へのやさしさ 63/100
getsentry/toolkit#1908 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Docs MCP URL normalization retains query strings and fragments対応中かも @pcbeingused333 が 8 日前に担当しました。 オープンbug MCP
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
getsentry/toolkit#1618 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
getsentry/toolkit#1471 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
getsentry/toolkit#2065 · コメント 7 件 ·
メンテナーはふだん 1 日以内に返信
-
Release v4 as the Sentry CLI, replacing sentry-cli対応中かも @BYK が 3 日前に担当しました。 オープン
getsentry/toolkit#1965 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
getsentry/toolkit の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
microsoft/vscode-containers#655 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
dsh-tauri-desk/deepseek-harness-desktop#1477 · コメント 1 件 ·
-
[docs] RELEASE.md: wrong branch name, no check that the prepare PR merged with the right subject, manual publish step対応中かも @albertteoh が今日担当しました。 オープンdocumentation
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
jaegertracing/jaeger-ui#4739 ·
メンテナーはふだん 1 日以内に返信
-
Add: Shop On TV SDオープンcheck:passed streams:add
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
メンテナーはふだん 1 日以内に返信