Prerequisites
- The prerequisites for the hosted MCP server.
- An organization on the default tenant,
semgrep.dev. For more information, see Single-tenant deployments. - If you use a ChatGPT Business or Enterprise workspace, your workspace admin might need to allow the plugin before you can install it.
Install the Semgrep plugin
1
Open the Semgrep plugin in the ChatGPT plugin directory.
2
Click Install plugin.
3
When prompted, sign in to Semgrep in your browser.
4
On the Choose an organization for Semgrep MCP page, select an organization from Organization, and click Continue.The plugin can access only the organization that you choose, and acts with your role’s permissions there. To switch organizations later, sign in again.
5
To confirm that the plugin is connected, start a new chat and ask a question that starts with
@Semgrep. For example: @Semgrep Summarize my organization's riskiest open security issues.Single-tenant deployments
The plugin connects only tohttps://semgrep.dev/api/mcp, so it doesn’t work with single-tenant deployments. Instead, add your deployment’s MCP server URL to a client that you configure yourself. For more information, see Connect Codex or Connect other MCP clients.