H

Humane Proxy

by Vishisht16 · io.github.Vishisht16/humane-proxy

It's a safety middleware that can detect and intercept self-harm and criminal intent at 3 stages. It allows developers of chat-based platforms to configure webhook notifications and store encrypted information for prior mitigation of any such cases.

pypi 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-vishisht16-humane-proxy": {
      "command": "uvx",
      "args": [
        "humane-proxy"
      ],
      "env": {
        "OPENAI_API_KEY": "<YOUR_VALUE>",
        "GROQ_API_KEY": "<YOUR_VALUE>",
        "PATH": "/app/.venv/bin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
        "HUMANE_PROXY_PORT": "8000",
        "HUMANE_PROXY_ADMIN_KEY": "<VALUE>",
        "HUMANE_PROXY_ENABLED_STAGES": "[1]",
        "HUMANE_PROXY_RISK_THRESHOLD": "0.7",
        "HUMANE_PROXY_STAGE1_CEILING": "0.3",
        "HUMANE_PROXY_STAGE2_CEILING": "0.4",
        "HUMANE_PROXY_STAGE3_TIMEOUT": "10",
        "HUMANE_PROXY_STAGE3_PROVIDER": "auto"
      }
    }
  }
}

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-vishisht16-humane-proxy": {
      "command": "uvx",
      "args": [
        "humane-proxy"
      ],
      "env": {
        "OPENAI_API_KEY": "<YOUR_VALUE>",
        "GROQ_API_KEY": "<YOUR_VALUE>",
        "PATH": "/app/.venv/bin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
        "HUMANE_PROXY_PORT": "8000",
        "HUMANE_PROXY_ADMIN_KEY": "<VALUE>",
        "HUMANE_PROXY_ENABLED_STAGES": "[1]",
        "HUMANE_PROXY_RISK_THRESHOLD": "0.7",
        "HUMANE_PROXY_STAGE1_CEILING": "0.3",
        "HUMANE_PROXY_STAGE2_CEILING": "0.4",
        "HUMANE_PROXY_STAGE3_TIMEOUT": "10",
        "HUMANE_PROXY_STAGE3_PROVIDER": "auto"
      }
    }
  }
}

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-vishisht16-humane-proxy": {
      "command": "uvx",
      "args": [
        "humane-proxy"
      ],
      "env": {
        "OPENAI_API_KEY": "<YOUR_VALUE>",
        "GROQ_API_KEY": "<YOUR_VALUE>",
        "PATH": "/app/.venv/bin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
        "HUMANE_PROXY_PORT": "8000",
        "HUMANE_PROXY_ADMIN_KEY": "<VALUE>",
        "HUMANE_PROXY_ENABLED_STAGES": "[1]",
        "HUMANE_PROXY_RISK_THRESHOLD": "0.7",
        "HUMANE_PROXY_STAGE1_CEILING": "0.3",
        "HUMANE_PROXY_STAGE2_CEILING": "0.4",
        "HUMANE_PROXY_STAGE3_TIMEOUT": "10",
        "HUMANE_PROXY_STAGE3_PROVIDER": "auto"
      }
    }
  }
}

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-vishisht16-humane-proxy": {
      "command": "uvx",
      "args": [
        "humane-proxy"
      ],
      "env": {
        "OPENAI_API_KEY": "<YOUR_VALUE>",
        "GROQ_API_KEY": "<YOUR_VALUE>",
        "PATH": "/app/.venv/bin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
        "HUMANE_PROXY_PORT": "8000",
        "HUMANE_PROXY_ADMIN_KEY": "<VALUE>",
        "HUMANE_PROXY_ENABLED_STAGES": "[1]",
        "HUMANE_PROXY_RISK_THRESHOLD": "0.7",
        "HUMANE_PROXY_STAGE1_CEILING": "0.3",
        "HUMANE_PROXY_STAGE2_CEILING": "0.4",
        "HUMANE_PROXY_STAGE3_TIMEOUT": "10",
        "HUMANE_PROXY_STAGE3_PROVIDER": "auto"
      }
    }
  }
}

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-vishisht16-humane-proxy": {
      "command": "uvx",
      "args": [
        "humane-proxy"
      ],
      "env": {
        "OPENAI_API_KEY": "<YOUR_VALUE>",
        "GROQ_API_KEY": "<YOUR_VALUE>",
        "PATH": "/app/.venv/bin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
        "HUMANE_PROXY_PORT": "8000",
        "HUMANE_PROXY_ADMIN_KEY": "<VALUE>",
        "HUMANE_PROXY_ENABLED_STAGES": "[1]",
        "HUMANE_PROXY_RISK_THRESHOLD": "0.7",
        "HUMANE_PROXY_STAGE1_CEILING": "0.3",
        "HUMANE_PROXY_STAGE2_CEILING": "0.4",
        "HUMANE_PROXY_STAGE3_TIMEOUT": "10",
        "HUMANE_PROXY_STAGE3_PROVIDER": "auto"
      }
    }
  }
}

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-vishisht16-humane-proxy": {
      "command": "uvx",
      "args": [
        "humane-proxy"
      ],
      "env": {
        "OPENAI_API_KEY": "<YOUR_VALUE>",
        "GROQ_API_KEY": "<YOUR_VALUE>",
        "PATH": "/app/.venv/bin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
        "HUMANE_PROXY_PORT": "8000",
        "HUMANE_PROXY_ADMIN_KEY": "<VALUE>",
        "HUMANE_PROXY_ENABLED_STAGES": "[1]",
        "HUMANE_PROXY_RISK_THRESHOLD": "0.7",
        "HUMANE_PROXY_STAGE1_CEILING": "0.3",
        "HUMANE_PROXY_STAGE2_CEILING": "0.4",
        "HUMANE_PROXY_STAGE3_TIMEOUT": "10",
        "HUMANE_PROXY_STAGE3_PROVIDER": "auto"
      }
    }
  }
}

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
OPENAI_API_KEY secret No OpenAI API Key for Stage 3 Reasoning (OpenAI Moderation or Chat)
GROQ_API_KEY secret No Groq API Key for Stage 3 Reasoning (LlamaGuard)
PATH No Environment path to ensure the humane-proxy CLI is executable Default: /app/.venv/bin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
HUMANE_PROXY_PORT No Proxy port Default: 8000
HUMANE_PROXY_ADMIN_KEY No Bearer token for securing the /admin endpoints
HUMANE_PROXY_ENABLED_STAGES No Active stages as a JSON array string (e.g., '[1, 2, 3]') Default: [1]
HUMANE_PROXY_RISK_THRESHOLD No Score threshold for criminal_intent escalation Default: 0.7
HUMANE_PROXY_STAGE1_CEILING No Early exit after Stage 1 if score is below this threshold Default: 0.3
HUMANE_PROXY_STAGE2_CEILING No Early exit after Stage 2 if score is below this threshold Default: 0.4
HUMANE_PROXY_STAGE3_TIMEOUT No Stage 3 timeout in seconds Default: 10
HUMANE_PROXY_STAGE3_PROVIDER No Stage 3 provider (auto, openai_moderation, llamaguard, openai_chat, none) Default: auto

Similar servers