MCP has no code mapping or repository tools
维护者通常 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 noorg:integrations, and no catalog tool requiresorg:admin.
Sentry API (getsentry/sentry 99c124e)
GET/POST /organizations/{org}/code-mappings/andPUT/DELETE /organizations/{org}/code-mappings/{id}/are public (organization_code_mappings.py:236-243,organization_code_mapping_details.py:46-53). GET/POST/PUT acceptorg:read; DELETE needsorg:adminororg:integrations(organization.py:245-260).DELETE /organizations/{org}/repos/{repo_id}/removes a repo from the org (all projects) and isPRIVATE; it needsorg:adminororg:integrations(organization_repository_details.py:25-63,organization.py:236-242)./projects/{org}/{project}/repo/has only GET and POST, so a single project–repo link can't be removed through the API (project_repo.py:71-76).
Related
- The CLI-first MCP work (#1899, #1916) marks
sentry apias exposed on hosted MCP, which would give agents a raw path to these endpoints. The CLI itself has onlycode-mappings upload(stdio-only in #1916) andrepo list.
via @sergical.
--
- 主要语言
- TypeScript
- 星标
- 961
- 派生
- 179
- 平均合并
- 15 小时 33 分钟
- 30 天内合并 PR
- 476
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
getsentry/toolkit 的其他 Issue
-
MCP mcp-feedback-pattern
难度 2/5 1-3 小时 新手友好度 78/100
getsentry/toolkit#2276 · 1 条评论 ·
维护者通常 1 天内回复
-
CLI enhancement MCP
难度 2/5 1-3 小时 新手友好度 63/100
getsentry/toolkit#1908 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
getsentry/toolkit#1471 · 1 条评论 ·
维护者通常 1 天内回复
-
get_sentry_resource gives no guidance for Explore > Errors list URLs可能已有人在做 @sentry-junior 今天认领。 未关闭MCP mcp-feedback-pattern
难度 2/5 1-3 小时 新手友好度 32/100
getsentry/toolkit#2278 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 65/100
getsentry/toolkit#2275 · 1 条评论 ·
维护者通常 1 天内回复
查看 getsentry/toolkit 的全部 Issue
相似的 Issue
-
Add: BOM Cine未关闭approved check:passed streams:add
难度 1/5 1 小时以内 新手友好度 72/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
bug platform-android
难度 2/5 1-3 小时 新手友好度 68/100
Termix-SSH/Mobile#146 · 1 条评论 ·
维护者通常 2 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 66/100
devswha/herdr-web-ui#3875 ·
-
难度 1/5 1 小时以内 新手友好度 88/100