Home / Servers / Sentry API / list_stack_code_mapping_prefixes

List Stack Trace Directory Prefixes for Code Mapping Autocomplete

An MCP tool from the Sentry API server, hosted on mcp.hjlabs.in.

List Stack Trace Directory Prefixes for Code Mapping Autocomplete Return ranked directory prefixes from stack traces and existing mappings to help configure a code mapping. [GET /api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/code-mapping-prefixes/stack/]

Name on the gateway: sentry_api__list_stack_code_mapping_prefixes · read-only.

Parameters

NameTypeDescription
organization_id_or_slug requiredstringThe ID or slug of the organization the resource belongs to.
project_id_or_slug requiredstringThe ID or slug of the project the resource belongs to.…

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "sentry_api__list_stack_code_mapping_prefixes",
  "arguments": {
    "organization_id_or_slug": "…",
    "project_id_or_slug": "…"
  }
}

Or connect the Sentry API server directly, which lists 272 tools including this one:

Run in your terminal
claude mcp add --transport http hj-sentry-api https://mcp.hjlabs.in/mcp/sentry-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the list stack trace directory prefixes for code mapping autocomplete tool with organization_id_or_slug set to ….

More from Sentry API