Skip to main content
Glama
Sentry MCP

Sentry MCP

Official
by getsentry

Create Project

create_project

Create a Sentry project for an app or service, provision its DSN for SDK setup, and optionally link a connected repository with a root code mapping.

Instructions

Create a new Sentry project for an app or service and provision its DSN (client key) for SDK setup. Optionally links a connected repository with a root code mapping. Returns the project, its DSN, whether the repository linked, and the Sentry signals its platform supports, each with a docs link.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "teamSlug": "<teamSlug>",
      "name": "<name>"
    },
    "name": "create_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesDisplay name, usually the app or service name.
slugNo
platformNo
teamSlugYesThe team slug.
regionUrlNo
repositoryNoRepository to link, as `owner/repo`. Must already be connected to the organization through a VCS integration.
organizationSlugNoThe organization slug, from `find_organizations`. In `org/project` notation, the part before the slash.

Output Schema

NameRequiredDescriptionDefault
dsnYesPublic DSN (SENTRY_DSN) for SDK initialization, or null when key setup failed.
setupYesSetup knowledge for the project's platform, or null without one.
projectYes
repositoryYes
suggestedActionsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv1.0.2
    • removedOutput schema / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / project / additionalProperties
      Removed value: -false
    • changedOutput schema / properties / repository / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "linked": {
      -        "type": "boolean"
      -      },
      -      "name": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "name",
      -      "linked"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "linked": {
      +        "type": "boolean"
      +      },
      +      "name": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "name",
      +      "linked"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / setup / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "docsUrl": {
      -        "description": "Sentry setup guide for the platform.",
      -        "type": "string"
      -      },
      -      "platform": {
      -        "description": "Platform display name, such as `Next.js`.",
      -        "type": "string"
      -      },
      -      "signals": {
      -        "description": "Core signals the platform supports and the organization has enabled.",
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "docsUrl": {
      -              "type": "string"
      -            },
      -            "name": {
      -              "type": "string"
      -            },
      -            "recommended": {
      -              "const": true,
      -              "description": "Set on signals the SDK's default setup turns on.",
      -              "type": "boolean"
      -            },
      -            "usefulFor": {
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "name",
      -            "usefulFor",
      -            "docsUrl"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "platform",
      -      "docsUrl",
      -      "signals"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "docsUrl": {
      +        "description": "Sentry setup guide for the platform.",
      +        "type": "string"
      +      },
      +      "platform": {
      +        "description": "Platform display name, such as `Next.js`.",
      +        "type": "string"
      +      },
      +      "signals": {
      +        "description": "Core signals the platform supports and the organization has enabled.",
      +        "items": {
      +          "properties": {
      +            "docsUrl": {
      +              "type": "string"
      +            },
      +            "name": {
      +              "type": "string"
      +            },
      +            "recommended": {
      +              "const": true,
      +              "description": "Set on signals the SDK's default setup turns on.",
      +              "type": "boolean"
      +            },
      +            "usefulFor": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "name",
      +            "usefulFor",
      +            "docsUrl"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "platform",
      +      "docsUrl",
      +      "signals"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / suggestedActions / items / additionalProperties
      Removed value: -false
  2. Changed13 schema fields changedv1.0.1
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedInput schema / properties / name / description
      Previous value: -"The name of the project to create. Typically this is commonly the name of the repository or service. It is only used as a visual label in Sentry."New value: +"Display name, usually the app or service name."
    • changedInput schema / properties / organizationSlug / description
      Previous value: -"The organization's slug. This will default to the first org you have access to."New value: +"The organization slug, from `find_organizations`. In `org/project` notation, the part before the slash."
    • addedInput schema / properties / platform / anyOf
      Added value: +[
      +  {
      +    "description": "Sentry platform ID, e.g. `javascript-react`, `javascript-nextjs`, `node`, `python-django`, `apple-ios`, `android`, `dotnet`. Omit if unsure.",
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / platform / default
      Added value: +null
    • removedInput schema / properties / platform / description
      Removed value: -"The platform for the project (e.g., python, javascript, react, etc.)"
    • removedInput schema / properties / platform / type
      Removed value: -"string"
    • addedInput schema / properties / regionUrl
      Added value: +{
      +  "anyOf": [
      +    {
      +      "description": "The organization's region URL from `find_organizations`, e.g. `https://us.sentry.io`. Omit for self-hosted Sentry.",
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null
      +}
    • addedInput schema / properties / repository
      Added value: +{
      +  "default": null,
      +  "description": "Repository to link, as `owner/repo`. Must already be connected to the organization through a VCS integration.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedInput schema / properties / slug
      Added value: +{
      +  "anyOf": [
      +    {
      +      "description": "Project slug. Sentry derives one from the name when omitted.",
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null
      +}
    • changedInput schema / properties / teamSlug / description
      Previous value: -"The team's slug. This will default to the first team you have access to."New value: +"The team slug."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "additionalProperties": false,
      +  "properties": {
      +    "dsn": {
      +      "description": "Public DSN (SENTRY_DSN) for SDK initialization, or null when key setup failed.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "project": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "id": {
      +          "type": "string"
      +        },
      +        "name": {
      +          "type": "string"
      +        },
      +        "slug": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "slug",
      +        "name"
      +      ],
      +      "type": "object"
      +    },
      +    "repository": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": false,
      +          "properties": {
      +            "linked": {
      +              "type": "boolean"
      +            },
      +            "name": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "name",
      +            "linked"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "setup": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": false,
      +          "properties": {
      +            "docsUrl": {
      +              "description": "Sentry setup guide for the platform.",
      +              "type": "string"
      +            },
      +            "platform": {
      +              "description": "Platform display name, such as `Next.js`.",
      +              "type": "string"
      +            },
      +            "signals": {
      +              "description": "Core signals the platform supports and the organization has enabled.",
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "docsUrl": {
      +                    "type": "string"
      +                  },
      +                  "name": {
      +                    "type": "string"
      +                  },
      +                  "recommended": {
      +                    "const": true,
      +                    "description": "Set on signals the SDK's default setup turns on.",
      +                    "type": "boolean"
      +                  },
      +                  "usefulFor": {
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "name",
      +                  "usefulFor",
      +                  "docsUrl"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            }
      +          },
      +          "required": [
      +            "platform",
      +            "docsUrl",
      +            "signals"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "description": "Setup knowledge for the project's platform, or null without one."
      +    },
      +    "suggestedActions": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "arguments": {
      +            "additionalProperties": {},
      +            "propertyNames": {
      +              "type": "string"
      +            },
      +            "type": "object"
      +          },
      +          "reason": {
      +            "type": "string"
      +          },
      +          "toolName": {
      +            "type": "string"
      +          },
      +          "type": {
      +            "const": "tool_call",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "type",
      +          "toolName",
      +          "arguments",
      +          "reason"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "project",
      +    "dsn",
      +    "repository",
      +    "setup",
      +    "suggestedActions"
      +  ],
      +  "type": "object"
      +}
  3. First observedv1.0.0

TDQS

A3.9/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare a non-read-only, non-destructive, open-world operation, so the safety profile is covered. The description adds genuinely useful behavior beyond that: the DSN is provisioned as part of the call, repository linking requires a pre-connected VCS integration, and platform-specific signals are returned with docs links. It does not mention permission or auth requirements, which keeps it short of a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, front-loaded with the action and its main consequence, with no filler. The final sentence enumerating return values is mild redundancy given an output schema exists, but it is short and does not obscure the core instruction.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given an output schema exists, the description need not explain returns, yet it does so briefly and accurately. With 7 parameters (2 required) and 57% schema description coverage, the definition is sufficient for correct invocation, though it would benefit from one line on when not to create a duplicate project.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 57%, so the schema carries most parameter documentation (name, slug, platform, teamSlug, regionUrl, organizationSlug). The description adds some meaning for the repository parameter by noting the root code mapping, which the schema does not mention, but it says nothing about the two required parameters or the region/organization scoping that newcomers most often get wrong. Adequate baseline rather than compensatory.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Create a new Sentry project') and immediately adds the distinguishing side effect: provisioning the DSN/client key. That separates it from siblings like create_dsn and create_team without needing to name them, and the optional repository-linking scope is spelled out.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: an agent can infer this is for standing up a new app/service with SDK setup, and that DSN creation comes free with it. There is no explicit when-to-use versus alternatives (e.g., check find_projects first, or use create_dsn for an existing project), and no stated prerequisites beyond what the schema says about repository connectivity.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.