Skip to main content
Install the Semgrep plugin to connect ChatGPT to the hosted MCP server. The plugin gives ChatGPT the same tools as other MCP clients, without a server URL or API token to manage. For help choosing an authentication method, see Authentication and access.

Prerequisites

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.
AI-powered detection scans and Agentic Workflows runs that the plugin starts consume AI credits. For more information, see AI credits. The plugin is also available in Codex. For more information, see Connect Codex.

Single-tenant deployments

The plugin connects only to https://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.