MCP has no code mapping or repository tools

未關閉
#2,137 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
42/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
typescript

研究方向

Start in packages/mcp-core/src/tools/catalog/ and read update-project.ts and permissions.ts to understand the existing tool and scope patterns. Compare them with the cited Sentry API endpoints for code mappings and repository deletion. Done means agents can perform the requested mapping and repository operations through MCP with the required scopes; the issue does not specify detailed tool behavior or tests.

由索引模型根據 Issue 內容生成。

描述

An agent using the hosted MCP could not move a project's code mappings from a GitHub repo to a GitLab repo and remove the GitHub repo: no MCP tool lists, creates, updates, or deletes code mappings, or removes a repository. update_project only takes name, slug, and platform. Reported through MCP feedback MCP-SERVER-GN1 (Claude, impact blocked).

MCP side (toolkit bb046c7)

  • No catalog tool in packages/mcp-core/src/tools/catalog/ calls /code-mappings/ or /repos/.
  • update-project.ts:28-79: name, slug, platform only.
  • The MCP scope set (permissions.ts:13-30) has no org:integrations, and no catalog tool requires org:admin.

Sentry API (getsentry/sentry 99c124e)

Related

  • The CLI-first MCP work (#1899, #1916) marks sentry api as exposed on hosted MCP, which would give agents a raw path to these endpoints. The CLI itself has only code-mappings upload (stdio-only in #1916) and repo list.

via @sergical.

--

View Session [Sentry]

主要語言
TypeScript
星號
961
分支
179
平均合併
15 小時 33 分鐘
30 天內合併 PR
476

環境準備

這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

getsentry/toolkit 的其他 Issue

查看 getsentry/toolkit 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。