Z

Zas Agent

by soke1556 · io.github.soke1556/zas-agent

Enables coding agents to send files and notes into approved Zas channels and read items back, with content encrypted before leaving the machine and scoped, revocable agent access.

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-soke1556-zas-agent": {
      "command": "npx",
      "args": [
        "-y",
        "zas-agent"
      ],
      "env": {
        "--profile": "claude-code",
        "DO_NOT_TRACK": "<VALUE>",
        "ZAS_API_BASE": "https://zas.red/api",
        "ZAS_WEB_BASE": "https://zas.red",
        "ZAS_OPRF_BASE": "https://zas.red/oprf",
        "ZAS_AGENT_HOME": "~/.zas/agent",
        "ZAS_TOKEN_BASE": "https://zas.red/anon-token",
        "ZAS_AGENT_TELEMETRY": "<VALUE>",
        "ZAS_FIREBASE_API_KEY": "<VALUE>",
        "ZAS_FIREBASE_PROJECT": "zas-me"
      }
    }
  }
}

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-soke1556-zas-agent": {
      "command": "npx",
      "args": [
        "-y",
        "zas-agent"
      ],
      "env": {
        "--profile": "claude-code",
        "DO_NOT_TRACK": "<VALUE>",
        "ZAS_API_BASE": "https://zas.red/api",
        "ZAS_WEB_BASE": "https://zas.red",
        "ZAS_OPRF_BASE": "https://zas.red/oprf",
        "ZAS_AGENT_HOME": "~/.zas/agent",
        "ZAS_TOKEN_BASE": "https://zas.red/anon-token",
        "ZAS_AGENT_TELEMETRY": "<VALUE>",
        "ZAS_FIREBASE_API_KEY": "<VALUE>",
        "ZAS_FIREBASE_PROJECT": "zas-me"
      }
    }
  }
}

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-soke1556-zas-agent": {
      "command": "npx",
      "args": [
        "-y",
        "zas-agent"
      ],
      "env": {
        "--profile": "claude-code",
        "DO_NOT_TRACK": "<VALUE>",
        "ZAS_API_BASE": "https://zas.red/api",
        "ZAS_WEB_BASE": "https://zas.red",
        "ZAS_OPRF_BASE": "https://zas.red/oprf",
        "ZAS_AGENT_HOME": "~/.zas/agent",
        "ZAS_TOKEN_BASE": "https://zas.red/anon-token",
        "ZAS_AGENT_TELEMETRY": "<VALUE>",
        "ZAS_FIREBASE_API_KEY": "<VALUE>",
        "ZAS_FIREBASE_PROJECT": "zas-me"
      }
    }
  }
}

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-soke1556-zas-agent": {
      "command": "npx",
      "args": [
        "-y",
        "zas-agent"
      ],
      "env": {
        "--profile": "claude-code",
        "DO_NOT_TRACK": "<VALUE>",
        "ZAS_API_BASE": "https://zas.red/api",
        "ZAS_WEB_BASE": "https://zas.red",
        "ZAS_OPRF_BASE": "https://zas.red/oprf",
        "ZAS_AGENT_HOME": "~/.zas/agent",
        "ZAS_TOKEN_BASE": "https://zas.red/anon-token",
        "ZAS_AGENT_TELEMETRY": "<VALUE>",
        "ZAS_FIREBASE_API_KEY": "<VALUE>",
        "ZAS_FIREBASE_PROJECT": "zas-me"
      }
    }
  }
}

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-soke1556-zas-agent": {
      "command": "npx",
      "args": [
        "-y",
        "zas-agent"
      ],
      "env": {
        "--profile": "claude-code",
        "DO_NOT_TRACK": "<VALUE>",
        "ZAS_API_BASE": "https://zas.red/api",
        "ZAS_WEB_BASE": "https://zas.red",
        "ZAS_OPRF_BASE": "https://zas.red/oprf",
        "ZAS_AGENT_HOME": "~/.zas/agent",
        "ZAS_TOKEN_BASE": "https://zas.red/anon-token",
        "ZAS_AGENT_TELEMETRY": "<VALUE>",
        "ZAS_FIREBASE_API_KEY": "<VALUE>",
        "ZAS_FIREBASE_PROJECT": "zas-me"
      }
    }
  }
}

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-soke1556-zas-agent": {
      "command": "npx",
      "args": [
        "-y",
        "zas-agent"
      ],
      "env": {
        "--profile": "claude-code",
        "DO_NOT_TRACK": "<VALUE>",
        "ZAS_API_BASE": "https://zas.red/api",
        "ZAS_WEB_BASE": "https://zas.red",
        "ZAS_OPRF_BASE": "https://zas.red/oprf",
        "ZAS_AGENT_HOME": "~/.zas/agent",
        "ZAS_TOKEN_BASE": "https://zas.red/anon-token",
        "ZAS_AGENT_TELEMETRY": "<VALUE>",
        "ZAS_FIREBASE_API_KEY": "<VALUE>",
        "ZAS_FIREBASE_PROJECT": "zas-me"
      }
    }
  }
}

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
--profile No Which identity directory this process uses. Letters, digits, `.`, `_` and `-`, up to 64, and it may not start with a dot. Default: claude-code
DO_NOT_TRACK No `1` turns usage reporting off. Read only to turn it off.
ZAS_API_BASE No The API. Default: https://zas.red/api
ZAS_WEB_BASE No The web app the pairing URL points at. Default: https://zas.red
ZAS_OPRF_BASE No The blind key-derivation service. Default: https://zas.red/oprf
ZAS_AGENT_HOME No Where the profile directories live. Default: ~/.zas/agent
ZAS_TOKEN_BASE No The challenge and token routes. Default: https://zas.red/anon-token
ZAS_AGENT_TELEMETRY No `0` turns usage reporting off for this process, `1` on. It outranks the stored choice.
ZAS_FIREBASE_API_KEY No The key used to exchange a custom token for a session. Defaults to the public web key.
ZAS_FIREBASE_PROJECT No The project whose Firestore the read path queries. Default: zas-me

Similar servers