Security scanner for AI-written code, inside your editor over MCP
Setup
Choose your client, copy the config, then fill in any required environment variables.
Local
claude mcp add safeweave --env SAFEWEAVE_LICENSE_KEY='<SAFEWEAVE_LICENSE_KEY>' -- npx -y safeweave-mcp~/.codex/config.toml
[mcp_servers.safeweave]
command = "npx"
args = ["-y", "safeweave-mcp"]
env = { SAFEWEAVE_LICENSE_KEY = "<SAFEWEAVE_LICENSE_KEY>" }
# codex mcp add safeweave --env SAFEWEAVE_LICENSE_KEY='<SAFEWEAVE_LICENSE_KEY>' -- npx -y safeweave-mcp~/.cursor/mcp.json
{
"mcpServers": {
"safeweave": {
"command": "npx",
"args": [
"-y",
"safeweave-mcp"
],
"env": {
"SAFEWEAVE_LICENSE_KEY": "<SAFEWEAVE_LICENSE_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"safeweave": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"safeweave-mcp"
],
"env": {
"SAFEWEAVE_LICENSE_KEY": "<SAFEWEAVE_LICENSE_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"safeweave": {
"command": "npx",
"args": [
"-y",
"safeweave-mcp"
],
"env": {
"SAFEWEAVE_LICENSE_KEY": "<SAFEWEAVE_LICENSE_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"safeweave": {
"command": "npx",
"args": [
"-y",
"safeweave-mcp"
],
"env": {
"SAFEWEAVE_LICENSE_KEY": "<SAFEWEAVE_LICENSE_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"safeweave": {
"command": "npx",
"args": [
"-y",
"safeweave-mcp"
],
"env": {
"SAFEWEAVE_LICENSE_KEY": "<SAFEWEAVE_LICENSE_KEY>"
}
}
}
}Remote
claude mcp add --transport http safeweave https://mcp.safeweave.dev/mcp~/.codex/config.toml
[mcp_servers.safeweave]
url = "https://mcp.safeweave.dev/mcp"
# codex mcp add safeweave --url https://mcp.safeweave.dev/mcp~/.cursor/mcp.json
{
"mcpServers": {
"safeweave": {
"url": "https://mcp.safeweave.dev/mcp"
}
}
}.vscode/mcp.json
{
"servers": {
"safeweave": {
"type": "http",
"url": "https://mcp.safeweave.dev/mcp"
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"safeweave": {
"httpUrl": "https://mcp.safeweave.dev/mcp"
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"safeweave": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.safeweave.dev/mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"safeweave": {
"url": "https://mcp.safeweave.dev/mcp"
}
}
}Environment variables
SAFEWEAVE_LICENSE_KEY
Replace the placeholders with your own credentials and keep them out of version control.