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 摘要。