MCP has no code mapping or repository tools
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 42/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- typescript
- Domain
- api, developer-experience
Research direction
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.
Written by the indexing model from the issue text.
Description
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.
--
- Dominant language
- TypeScript
- Stars
- 961
- Forks
- 179
- Avg merge
- 15h 33m
- Merged PRs (30d)
- 476
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from getsentry/toolkit
-
MCP mcp-feedback-pattern
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
getsentry/toolkit#2276 · 1 comment ·
Maintainers usually reply within 1 day
-
CLI enhancement MCP
Difficulty 2/5 1-3 hours Newbie friendliness 63/100
getsentry/toolkit#1908 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
getsentry/toolkit#1471 · 1 comment ·
Maintainers usually reply within 1 day
-
get_sentry_resource gives no guidance for Explore > Errors list URLsPossibly taken @sentry-junior claimed this today. OpenMCP mcp-feedback-pattern
Difficulty 2/5 1-3 hours Newbie friendliness 32/100
getsentry/toolkit#2278 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 65/100
getsentry/toolkit#2275 · 1 comment ·
Maintainers usually reply within 1 day
All issues in getsentry/toolkit
Similar issues
-
Add: BOM CineOpenapproved check:passed streams:add
Difficulty 1/5 Under an hour Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
bug platform-android
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Termix-SSH/Mobile#146 · 1 comment ·
Maintainers usually reply within 2 days
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
devswha/herdr-web-ui#3875 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100