1

1claw MCP

by 1clawAI · io.github.1clawAI/1claw-mcp

MCP server for secure, just-in-time secret retrieval from 1claw vault and malicious content inspection, enabling AI agents to access secrets and security analysis.

npm Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-1clawai-1claw-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@1claw/mcp"
      ],
      "env": {
        "ONECLAW_AGENT_API_KEY": "<YOUR_VALUE>",
        "ONECLAW_AGENT_ID": "<VALUE>",
        "ONECLAW_VAULT_ID": "<VALUE>",
        "ONECLAW_BASE_URL": "https://api.1claw.xyz",
        "ONECLAW_LOCAL_ONLY": "false",
        "PORT": "8080",
        "MCP_TRANSPORT": "stdio",
        "ONECLAW_AGENT_TOKEN": "<VALUE>",
        "ONECLAW_MCP_PII_DETECTION": "true",
        "ONECLAW_MCP_REDACT_SECRETS": "true",
        "ONECLAW_MCP_EXFIL_PROTECTION": "block",
        "ONECLAW_MCP_SECURITY_ENABLED": "true",
        "ONECLAW_MCP_SANITIZATION_MODE": "block"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-1clawai-1claw-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@1claw/mcp"
      ],
      "env": {
        "ONECLAW_AGENT_API_KEY": "<YOUR_VALUE>",
        "ONECLAW_AGENT_ID": "<VALUE>",
        "ONECLAW_VAULT_ID": "<VALUE>",
        "ONECLAW_BASE_URL": "https://api.1claw.xyz",
        "ONECLAW_LOCAL_ONLY": "false",
        "PORT": "8080",
        "MCP_TRANSPORT": "stdio",
        "ONECLAW_AGENT_TOKEN": "<VALUE>",
        "ONECLAW_MCP_PII_DETECTION": "true",
        "ONECLAW_MCP_REDACT_SECRETS": "true",
        "ONECLAW_MCP_EXFIL_PROTECTION": "block",
        "ONECLAW_MCP_SECURITY_ENABLED": "true",
        "ONECLAW_MCP_SANITIZATION_MODE": "block"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-1clawai-1claw-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@1claw/mcp"
      ],
      "env": {
        "ONECLAW_AGENT_API_KEY": "<YOUR_VALUE>",
        "ONECLAW_AGENT_ID": "<VALUE>",
        "ONECLAW_VAULT_ID": "<VALUE>",
        "ONECLAW_BASE_URL": "https://api.1claw.xyz",
        "ONECLAW_LOCAL_ONLY": "false",
        "PORT": "8080",
        "MCP_TRANSPORT": "stdio",
        "ONECLAW_AGENT_TOKEN": "<VALUE>",
        "ONECLAW_MCP_PII_DETECTION": "true",
        "ONECLAW_MCP_REDACT_SECRETS": "true",
        "ONECLAW_MCP_EXFIL_PROTECTION": "block",
        "ONECLAW_MCP_SECURITY_ENABLED": "true",
        "ONECLAW_MCP_SANITIZATION_MODE": "block"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-1clawai-1claw-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@1claw/mcp"
      ],
      "env": {
        "ONECLAW_AGENT_API_KEY": "<YOUR_VALUE>",
        "ONECLAW_AGENT_ID": "<VALUE>",
        "ONECLAW_VAULT_ID": "<VALUE>",
        "ONECLAW_BASE_URL": "https://api.1claw.xyz",
        "ONECLAW_LOCAL_ONLY": "false",
        "PORT": "8080",
        "MCP_TRANSPORT": "stdio",
        "ONECLAW_AGENT_TOKEN": "<VALUE>",
        "ONECLAW_MCP_PII_DETECTION": "true",
        "ONECLAW_MCP_REDACT_SECRETS": "true",
        "ONECLAW_MCP_EXFIL_PROTECTION": "block",
        "ONECLAW_MCP_SECURITY_ENABLED": "true",
        "ONECLAW_MCP_SANITIZATION_MODE": "block"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-1clawai-1claw-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@1claw/mcp"
      ],
      "env": {
        "ONECLAW_AGENT_API_KEY": "<YOUR_VALUE>",
        "ONECLAW_AGENT_ID": "<VALUE>",
        "ONECLAW_VAULT_ID": "<VALUE>",
        "ONECLAW_BASE_URL": "https://api.1claw.xyz",
        "ONECLAW_LOCAL_ONLY": "false",
        "PORT": "8080",
        "MCP_TRANSPORT": "stdio",
        "ONECLAW_AGENT_TOKEN": "<VALUE>",
        "ONECLAW_MCP_PII_DETECTION": "true",
        "ONECLAW_MCP_REDACT_SECRETS": "true",
        "ONECLAW_MCP_EXFIL_PROTECTION": "block",
        "ONECLAW_MCP_SECURITY_ENABLED": "true",
        "ONECLAW_MCP_SANITIZATION_MODE": "block"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-1clawai-1claw-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@1claw/mcp"
      ],
      "env": {
        "ONECLAW_AGENT_API_KEY": "<YOUR_VALUE>",
        "ONECLAW_AGENT_ID": "<VALUE>",
        "ONECLAW_VAULT_ID": "<VALUE>",
        "ONECLAW_BASE_URL": "https://api.1claw.xyz",
        "ONECLAW_LOCAL_ONLY": "false",
        "PORT": "8080",
        "MCP_TRANSPORT": "stdio",
        "ONECLAW_AGENT_TOKEN": "<VALUE>",
        "ONECLAW_MCP_PII_DETECTION": "true",
        "ONECLAW_MCP_REDACT_SECRETS": "true",
        "ONECLAW_MCP_EXFIL_PROTECTION": "block",
        "ONECLAW_MCP_SECURITY_ENABLED": "true",
        "ONECLAW_MCP_SANITIZATION_MODE": "block"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
ONECLAW_AGENT_API_KEY secret No Agent API key (ocv_...). Server exchanges this for a JWT and auto-refreshes.
ONECLAW_AGENT_ID No Agent UUID from dashboard. Use with ONECLAW_AGENT_API_KEY.
ONECLAW_VAULT_ID No UUID of the vault to operate on.
ONECLAW_BASE_URL No Vault API base URL. Default: https://api.1claw.xyz
ONECLAW_LOCAL_ONLY No Set to 'true' for security-only mode (no vault credentials needed). Default: false
PORT No HTTP port (httpStream mode only). Default: 8080
MCP_TRANSPORT No Transport mode: 'stdio' or 'httpStream'. Default: stdio
ONECLAW_AGENT_TOKEN No Static Bearer JWT (alternative to ID+key; expires in ~1 h).
ONECLAW_MCP_PII_DETECTION No 'true' to detect PII patterns. Default: true
ONECLAW_MCP_REDACT_SECRETS No 'true' to redact secret values from non-secret tool outputs. Default: true
ONECLAW_MCP_EXFIL_PROTECTION No 'block', 'warn', or 'off'. Default: block
ONECLAW_MCP_SECURITY_ENABLED No Master switch. Set to 'false' to disable all inspection. Default: true
ONECLAW_MCP_SANITIZATION_MODE No 'block', 'surgical', or 'log_only'. Default: block

Similar servers