H

Hwipit MCP Server

by hwipit · io.github.hwipit/mcp-server

Lets an agent ask the user a question that lands on their phone and returns the reply inside the same tool call, plus send one-way notifications, clipboard text, files, and channel broadcasts. Works with Claude Code, Cursor, Windsurf, Gemini CLI, and any MCP client.

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-hwipit-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@hwip/mcp-server"
      ],
      "env": {
        "HWIP_API_KEY": "<YOUR_VALUE>",
        "HWIP_WS_URL": "<VALUE>",
        "HWIP_HOOK_ID": "<VALUE>",
        "HWIP_BASE_URL": "https://api.hwip.app/v1",
        "HWIP_DEVICE_ID": "<VALUE>",
        "HWIP_SESSION_ID": "<VALUE>",
        "HWIP_DISABLE_SESSION_CACHE": "<VALUE>"
      }
    }
  }
}

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-hwipit-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@hwip/mcp-server"
      ],
      "env": {
        "HWIP_API_KEY": "<YOUR_VALUE>",
        "HWIP_WS_URL": "<VALUE>",
        "HWIP_HOOK_ID": "<VALUE>",
        "HWIP_BASE_URL": "https://api.hwip.app/v1",
        "HWIP_DEVICE_ID": "<VALUE>",
        "HWIP_SESSION_ID": "<VALUE>",
        "HWIP_DISABLE_SESSION_CACHE": "<VALUE>"
      }
    }
  }
}

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-hwipit-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@hwip/mcp-server"
      ],
      "env": {
        "HWIP_API_KEY": "<YOUR_VALUE>",
        "HWIP_WS_URL": "<VALUE>",
        "HWIP_HOOK_ID": "<VALUE>",
        "HWIP_BASE_URL": "https://api.hwip.app/v1",
        "HWIP_DEVICE_ID": "<VALUE>",
        "HWIP_SESSION_ID": "<VALUE>",
        "HWIP_DISABLE_SESSION_CACHE": "<VALUE>"
      }
    }
  }
}

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-hwipit-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@hwip/mcp-server"
      ],
      "env": {
        "HWIP_API_KEY": "<YOUR_VALUE>",
        "HWIP_WS_URL": "<VALUE>",
        "HWIP_HOOK_ID": "<VALUE>",
        "HWIP_BASE_URL": "https://api.hwip.app/v1",
        "HWIP_DEVICE_ID": "<VALUE>",
        "HWIP_SESSION_ID": "<VALUE>",
        "HWIP_DISABLE_SESSION_CACHE": "<VALUE>"
      }
    }
  }
}

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-hwipit-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@hwip/mcp-server"
      ],
      "env": {
        "HWIP_API_KEY": "<YOUR_VALUE>",
        "HWIP_WS_URL": "<VALUE>",
        "HWIP_HOOK_ID": "<VALUE>",
        "HWIP_BASE_URL": "https://api.hwip.app/v1",
        "HWIP_DEVICE_ID": "<VALUE>",
        "HWIP_SESSION_ID": "<VALUE>",
        "HWIP_DISABLE_SESSION_CACHE": "<VALUE>"
      }
    }
  }
}

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-hwipit-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@hwip/mcp-server"
      ],
      "env": {
        "HWIP_API_KEY": "<YOUR_VALUE>",
        "HWIP_WS_URL": "<VALUE>",
        "HWIP_HOOK_ID": "<VALUE>",
        "HWIP_BASE_URL": "https://api.hwip.app/v1",
        "HWIP_DEVICE_ID": "<VALUE>",
        "HWIP_SESSION_ID": "<VALUE>",
        "HWIP_DISABLE_SESSION_CACHE": "<VALUE>"
      }
    }
  }
}

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
HWIP_API_KEY secret No API key from Settings > API Keys. Only needed as an environment variable to override the credentials the server otherwise reads from ~/.hwip/config.json (written by `hwip install` / `hwip login`) — no env vars are needed at all if that file exists. An API key that cannot be sent as a header (a line break or another control character inside it, or a character no key has) stops the server at start, with a message saying where the key is set and nothing of the key; so does an `apiKey` in ~/.hwip/config.json that is not text
HWIP_WS_URL No Deprecated. WebSocket endpoint for the hook-response fast path. `wsUrl` in ~/.hwip/config.json wins over it and is where the value belongs; this is read only when the file has none. Has to be a `ws://` or `wss://` URL without a space or `#fragment`
HWIP_HOOK_ID No Hook ID (optional — only needed for `hwip_ask`). Can also come from `hookId` in ~/.hwip/config.json; the environment variable wins
HWIP_BASE_URL No API base URL (default: https://api.hwip.app/v1). A base URL that answers with a redirect is refused (`REDIRECT_REFUSED`): requests that carry your API key never follow one Default: https://api.hwip.app/v1
HWIP_DEVICE_ID No Default target device for `hwip_notify`, `hwip_clipboard` and `hwip_file` (each call's `targetDeviceId` wins). Omit to send to all devices. `hwip_ask` does not use it. Can also come from `deviceId` in ~/.hwip/config.json; the environment variable wins
HWIP_SESSION_ID No Override the session id attached to pushes (grouping in the app). Auto-detected from the newest Claude Code transcript when unset
HWIP_DISABLE_SESSION_CACHE No Set to `1`/`true` to skip writing the session-id handoff file under `~/.cache/hwip/`. Useful for read-only filesystems, ephemeral CI runners, or sandboxed envs that audit filesystem writes

Similar servers