A

Alphaportal MCP

by chrischall · io.github.chrischall/alphaportal-mcp

Enables querying AlphaPortal student information, assigned bus stops, live bus GPS locations, and arrival/departure notifications, with confirm-gated updates to notification preferences and walk-zone radius.

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-chrischall-alphaportal-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "alphaportal-mcp"
      ],
      "env": {
        "ALPHAPORTAL_REFRESH_TOKEN": "<YOUR_VALUE>",
        "ALPHAPORTAL_DISABLE_FETCHPROXY": "<VALUE>",
        "ALPHAPORTAL_SESSION_FILE": "~/.alphaportal-mcp/session.json",
        "FETCHPROXY_WS_PORT": "<VALUE>",
        "FETCHPROXY_WS_HOST": "<VALUE>",
        "FETCHPROXY_IDENTITY_DIR": "<VALUE>",
        "MCP_CONFIRM_MODE": "ask-user",
        "MCP_CONFIRM_SECRET": "<VALUE>",
        "MCP_CONFIRM_TTL_SECONDS": "600"
      }
    }
  }
}

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-chrischall-alphaportal-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "alphaportal-mcp"
      ],
      "env": {
        "ALPHAPORTAL_REFRESH_TOKEN": "<YOUR_VALUE>",
        "ALPHAPORTAL_DISABLE_FETCHPROXY": "<VALUE>",
        "ALPHAPORTAL_SESSION_FILE": "~/.alphaportal-mcp/session.json",
        "FETCHPROXY_WS_PORT": "<VALUE>",
        "FETCHPROXY_WS_HOST": "<VALUE>",
        "FETCHPROXY_IDENTITY_DIR": "<VALUE>",
        "MCP_CONFIRM_MODE": "ask-user",
        "MCP_CONFIRM_SECRET": "<VALUE>",
        "MCP_CONFIRM_TTL_SECONDS": "600"
      }
    }
  }
}

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-chrischall-alphaportal-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "alphaportal-mcp"
      ],
      "env": {
        "ALPHAPORTAL_REFRESH_TOKEN": "<YOUR_VALUE>",
        "ALPHAPORTAL_DISABLE_FETCHPROXY": "<VALUE>",
        "ALPHAPORTAL_SESSION_FILE": "~/.alphaportal-mcp/session.json",
        "FETCHPROXY_WS_PORT": "<VALUE>",
        "FETCHPROXY_WS_HOST": "<VALUE>",
        "FETCHPROXY_IDENTITY_DIR": "<VALUE>",
        "MCP_CONFIRM_MODE": "ask-user",
        "MCP_CONFIRM_SECRET": "<VALUE>",
        "MCP_CONFIRM_TTL_SECONDS": "600"
      }
    }
  }
}

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-chrischall-alphaportal-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "alphaportal-mcp"
      ],
      "env": {
        "ALPHAPORTAL_REFRESH_TOKEN": "<YOUR_VALUE>",
        "ALPHAPORTAL_DISABLE_FETCHPROXY": "<VALUE>",
        "ALPHAPORTAL_SESSION_FILE": "~/.alphaportal-mcp/session.json",
        "FETCHPROXY_WS_PORT": "<VALUE>",
        "FETCHPROXY_WS_HOST": "<VALUE>",
        "FETCHPROXY_IDENTITY_DIR": "<VALUE>",
        "MCP_CONFIRM_MODE": "ask-user",
        "MCP_CONFIRM_SECRET": "<VALUE>",
        "MCP_CONFIRM_TTL_SECONDS": "600"
      }
    }
  }
}

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-chrischall-alphaportal-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "alphaportal-mcp"
      ],
      "env": {
        "ALPHAPORTAL_REFRESH_TOKEN": "<YOUR_VALUE>",
        "ALPHAPORTAL_DISABLE_FETCHPROXY": "<VALUE>",
        "ALPHAPORTAL_SESSION_FILE": "~/.alphaportal-mcp/session.json",
        "FETCHPROXY_WS_PORT": "<VALUE>",
        "FETCHPROXY_WS_HOST": "<VALUE>",
        "FETCHPROXY_IDENTITY_DIR": "<VALUE>",
        "MCP_CONFIRM_MODE": "ask-user",
        "MCP_CONFIRM_SECRET": "<VALUE>",
        "MCP_CONFIRM_TTL_SECONDS": "600"
      }
    }
  }
}

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-chrischall-alphaportal-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "alphaportal-mcp"
      ],
      "env": {
        "ALPHAPORTAL_REFRESH_TOKEN": "<YOUR_VALUE>",
        "ALPHAPORTAL_DISABLE_FETCHPROXY": "<VALUE>",
        "ALPHAPORTAL_SESSION_FILE": "~/.alphaportal-mcp/session.json",
        "FETCHPROXY_WS_PORT": "<VALUE>",
        "FETCHPROXY_WS_HOST": "<VALUE>",
        "FETCHPROXY_IDENTITY_DIR": "<VALUE>",
        "MCP_CONFIRM_MODE": "ask-user",
        "MCP_CONFIRM_SECRET": "<VALUE>",
        "MCP_CONFIRM_TTL_SECONDS": "600"
      }
    }
  }
}

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
ALPHAPORTAL_REFRESH_TOKEN secret No The refresh token. Optional if the fetchproxy bridge can read it from a signed-in tab; required for a headless/hosted deployment.
ALPHAPORTAL_DISABLE_FETCHPROXY No Set to '1' to disable the browser-bridge fallback and require the env var.
ALPHAPORTAL_SESSION_FILE No Override the store path (default ~/.alphaportal-mcp/session.json). Default: ~/.alphaportal-mcp/session.json
FETCHPROXY_WS_PORT No Localhost concentrator port (default 37149). On one machine every MCP shares the concentrator, so move it for ALL of them or not at all.
FETCHPROXY_WS_HOST No Bind interface (default 127.0.0.1; a literal IP only, anything else is ignored). Keep on loopback — it exists for ONE topology: a hosted child in its own network namespace.
FETCHPROXY_IDENTITY_DIR No Where to store the long-term fetchproxy identity keypair (default ~/.fetchproxy/identity/; an absolute path only, anything else is ignored). Exists for a host that runs a separate child per caller, so they can share one identity.
MCP_CONFIRM_MODE No What a write does on a client that cannot show a confirmation prompt. Values: ask-user, auto, refuse. Default: ask-user
MCP_CONFIRM_SECRET No Signing key; set it only if tokens must survive a server restart.
MCP_CONFIRM_TTL_SECONDS No How long a confirmation token stays valid. Default: 600

Similar servers