Endpoints
| Endpoint | Description |
|---|---|
https://mcp.safedep.io/model-context-protocol/threats/v1/mcp | SafeDep MCP endpoint (HTTP) |
https://mcp.safedep.io/model-context-protocol/threats/v1/sse | Legacy SSE endpoint |
Authentication
The MCP server requires SafeDep API key based authentication. Following HTTP headers are required:| Header | Description |
|---|---|
Authorization | <API Key> |
X-Tenant-ID | your-tenant-domain (e.g. default-team.your-domain.safedep.io) |
Quick Start
Sign-up for SafeDep
Navigate to app.safedep.io and sign up
Create API Key
Create an API key for use with the MCP server from your SafeDep Cloud tenant settings
Configure MCP Server
Configure the MCP server with your API key and tenant domain in your favorite IDE or AI Agent (see Setup for more details).
Test the Integration
Verify the setup by asking your coding agent to install a test package. The agent should block it as malicious.
Setup
Claude Code
Useclaude CLI to add the MCP server to your user settings. This configuration will be available across all Claude Code projects.
Cursor
Add the SafeDep MCP server to your Cursor configuration. Create or edit~/.cursor/mcp.json in your home directory:
OpenAI Codex
Add the SafeDep MCP server to your Codex configuration. Edit~/.codex/config.toml (or .codex/config.toml in your project root for project-scoped access):
Gemini CLI
Add the SafeDep MCP server to your Gemini CLI configuration. Edit~/.gemini/settings.json in your home directory:
Windsurf
Add the SafeDep MCP server to your Windsurf configuration. Create or edit~/.codeium/windsurf/mcp_config.json in your home directory:
Zed
Add the SafeDep MCP server to your Zed configuration. Create or edit~/.config/zed/settings.json in your home directory.
Testing
After setting up the MCP server, you can verify the integration is working by asking your coding agent to install one of the following test packages:| Package | Ecosystem |
|---|---|
safedep-test-pkg | npm |
safedep-test-pkg | PyPI |

