FREE • NO ACCOUNT REQUIRED • 30 SECOND SETUP

Transform your AI assistant into your security ally in 30 seconds

AI-assistants like Cursor, Windsurf, and Co-pilot have a major problem: They recommend outdated and vulnerable packages. Safety's MCP solves this with one simple integration.
Set up Safety MCP now
PROBLEM & SOLUTION

The problem: your AI code assistant uses outdated and vulnerable packages

AI-assistants like Cursor, Windsurf, and Co-pilot have a critical security blindspot: They can't identify outdated and vulnerable packages. Watch the difference Safety MCP makes.
Safety's MCP service solves this with one simple integration - providing real-time package intelligence to your AI assistant whenever it needs it.
PLATFORM SUPPORT

Works with your favorite AI coding tools

Safety MCP integrates seamlessly with all major AI coding assistants through the Model Context Protocol.
Don't see your tool? Safety MCP works with any application that supports the Model Context Protocol.
30 SECOND SETUP

Set up Safety MCP in 30 seconds

Free, no account needed. Just copy, paste, and start generating secure code immediately.

Cursor Setup

  1. Click the Settings icon in the top right corner.
  2. Select MCP from the left navigation.
  3. Click the "Add new global MCP server" button.
  4. Add the following to the mcp.json file:
{
 "mcpServers": {
   "safety-mcp": {
     "url": "https://mcp.safetycli.com/sse",
     "type": "sse",
     "headers": {
       "Authorization": "Bearer a24ed89c-cc30-4bd8-a03f-f2db2ccbf849"
     }
   }
 }
}
Copy
  1. Go back to Settings and click Rules, then input the following into User Rules:
- Every time you import a Python package or add a package to a requirements.txt or pyproject.toml, use the safety-mcp to check if the version you have chosen is secure and is the latest version of the package. Make sure you always use the latest_secure_version (returned by safety-mcp) for any package.

- If a package already exists in a codebase, and a user asks you to check it for vulnerabilities, use the safety-mcp and evaluate whether there are any secure versions in the same major version and acknowledge these options. Additionally, inform the user of the latest secure version of the package.
Copy

Windsurf Setup

Note: Safety MCP currently does not work with Claude 3.7 in Windsurf.

  1. Click the Settings icon in the top right corner.
  2. Select MCP from the left navigation.
  3. Click the "Add new global MCP server" button.
  4. Add the following to the mcp.json file:
{
 "mcpServers": {
   "safety-mcp": {
     "serverUrl": "https://mcp.safetycli.com/sse",
     "headers": {
       "Authorization": "Bearer a24ed89c-cc30-4bd8-a03f-f2db2ccbf849"
     }
   }
 }
}
Copy
- Every time you import a Python package or add a package to a requirements.txt or pyproject.toml, use the safety-mcp to check if the version you have chosen is secure and is the latest version of the package. Make sure you always use the latest_secure_version (returned by safety-mcp) for any package.

- If a package already exists in a codebase, and a user asks you to check it for vulnerabilities, use the safety-mcp and evaluate whether there are any secure versions in the same major version and acknowledge these options. Additionally, inform the user of the latest secure version of the package.
Copy

Copilot Setup

  1. Open VS Code settings (settings icon in bottom left corner) and click Settings.
  2. Search for "MCP".
  3. Click Edit in settings.json
  4. Paste the following and save the file:
{
 "chat.mcp.discovery.enabled": true,
 "mcp": {
   "inputs": [],
   "servers": {
     "safety-mcp": {
       "url": "https://mcp.safetycli.com/sse",
       "type": "sse",
       "headers": {
         "Authorization": "Bearer a24ed89c-cc30-4bd8-a03f-f2db2ccbf849"
       }
     }
   }
 }
}
Copy
  1. To use Safety MCP with Copilot, switch to agent mode.
  2. To configure Copilot instructions follow the steps on this page and add the following instructions:
- Every time you import a Python package or add a package to a requirements.txt or pyproject.toml, use the safety-mcp to check if the version you have chosen is secure and is the latest version of the package. Make sure you always use the latest_secure_version (returned by safety-mcp) for any package.

- If a package already exists in a codebase, and a user asks you to check it for vulnerabilities, use the safety-mcp and evaluate whether there are any secure versions in the same major version and acknowledge these options. Additionally, inform the user of the latest secure version of the package.
Copy

Claude Setup

  1. Click the Claude menu from the top menu bar in Mac.
  2. Click Settings.
  3. Select the Developer tab.
  4. Click Edit Config.
  5. Open the claude_desktop_config.json file in an editor of your choice.
  6. Add the following to your config:
{
 "mcpServers": {
   "safety-mcp": {
     "command": "uvx",
     "args": [
       "mcp-proxy",
       "https://mcp.safetycli.com/sse"
     ],
     "env": {
       "API_ACCESS_TOKEN": "Bearer a24ed89c-cc30-4bd8-a03f-f2db2ccbf849"
     }
   }
 }
}
Copy

Claude Code Setup

In your terminal run the following:

claude mcp add -t sse safety-mcp-sse https://mcp.safetycli.com/sse
Copy
Don't see your tool? Safety MCP works with any application that supports the Model Context Protocol.