Skip to main content
Glama

hotlogin-mcp

MCP Server (stdio) for HotLogin Local API. npm package: hotlogin-local-api-mcp.

When using with Skills in the repository, see skills/xbrowser-automation/.


MCP

Cursor

Settings → MCP → Add new MCP server, example:

{
  "mcpServers": {
    "hotlogin-local-api": {
      "command": "npx",
      "args": ["-y", "hotlogin-local-api-mcp"],
      "env": {
        "PORT": "60000",
        "API_KEY": "your_api_key"
      }
    }
  }
}

If there is no authentication, you can remove env, or keep only PORT.

npx (minimal)

{
  "mcpServers": {
    "hotlogin-local-api": {
      "command": "npx",
      "args": ["-y", "hotlogin-local-api-mcp"]
    }
  }
}

Local Development (this repository)

npm install && npm run build
{
  "mcpServers": {
    "hotlogin-local-api": {
      "command": "node",
      "args": ["/你的路径/hotlogin-mcp/build/server.core.js"],
      "env": {
        "PORT": "60000",
        "API_KEY": "your_api_key"
      }
    }
  }
}

On Windows, if npx fails to start, you can change it to "command": "cmd", "args": ["/c", "npx", "-y", "hotlogin-local-api-mcp"].


Related MCP server: Multi-Browser MCP

Environment Variables

Consistent with src/api/config.ts:

Variable

Description

PORT / API_PORT

Local API port, default 60000

BASE_URL

Full base URL, e.g., http://127.0.0.1:60000

API_KEY

Authentication key


Prerequisites

  • HotLogin client is running, and Local API is accessible

  • Node.js ≥ 18


Tools

Registered list: src/mcp/tools.ts, parameter validation: src/mcp/schemas.ts.

Typical workflow: env_create → env_launch (get wsEndpoint) → session_attach → page_visit / element_* → env_terminate.


Troubleshooting

  • health_check failed: Verify that PORT / BASE_URL / API_KEY match the local service.

  • session_attach failed or timed out: If wsEndpoint is expired, re-run env_launch; check local network/firewall.


License

MIT

Available Tools

23 tools
env_createD

创建环境

Inputs: name, groupId, remark, proxyId, +4 more.

env_launchD

启动环境

Inputs: id, number, openIpTab, startUpParam, +3 more.

env_openedB

查询当前已打开环境列表

Inputs: no named parameters.

env_profileC

获取单个环境详情

Inputs: id, number.

env_purge_cacheC

清理环境缓存

Inputs: id (required), cacheList (required), clearEnvFolder.

env_queryC

分页查询环境列表

Inputs: page, size, id, number, +5 more.

env_removeC

删除环境

Inputs: ids (required), clearEnvFolder.

env_reviseD

更新环境

Inputs: id, number, name, groupId, +6 more.

env_runtime_stateC

获取环境运行状态

Inputs: id, number.

env_terminateD

关闭环境

Inputs: id, number.

env_terminate_allB

关闭全部已打开环境

Inputs: no named parameters.

env_transfer_groupC

批量调整环境分组

Inputs: ids (required), groupId (required).

env_window_layoutC

整理环境窗口布局

Inputs: auto, mode, config.

group_createD

创建分组

Inputs: name (required), remark.

group_queryC

查询分组列表

Inputs: page, size, id, name.

group_removeD

删除分组

Inputs: ids (required).

group_reviseD

更新分组

Inputs: id (required), name (required), remark.

health_checkB

检查火云本地服务是否可用

Inputs: no named parameters.

proxy_createD

创建代理

Inputs: type (required), address, port, agentGroupName, +8 more.

proxy_queryC

查询代理列表

Inputs: page, size, id, provider, +4 more.

proxy_removeD

删除代理

Inputs: ids (required).

proxy_reviseD

更新代理

Inputs: id (required), provider, type, agentGroupName, +9 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.7/5.0

    Scored across 23 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose with no ambiguity. Tools are organized by resource type (env, group, proxy, health) and specific actions (create, query, remove, revise, etc.), making it easy for an agent to select the right tool without confusion.

    Naming Consistency5/5

    Tool names follow a highly consistent pattern throughout: resource_action format (e.g., env_create, group_query, proxy_remove). All tools use snake_case with no deviations, and verbs are standardized across resources, ensuring predictable naming.

    Tool Count4/5

    With 23 tools, the count is slightly high but reasonable for the server's scope of managing environments, groups, and proxies. Each tool appears to earn its place by covering specific operations, though it may feel heavy compared to simpler servers.

    Completeness5/5

    The tool surface provides complete CRUD/lifecycle coverage for environments, groups, and proxies, including additional operations like launching, terminating, and checking health. There are no obvious gaps, and agents can handle full workflows without dead ends.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      MCP server that lets AI assistants browse the web through your real Chrome with your cookies, sessions, and fingerprint, avoiding bot detection and CAPTCHAs. Enables web browsing, content extraction, and multi-step workflows via persistent tabs.
      15
      7 npm
      3
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      MCP server for managing and controlling multiple isolated Chrome/Edge browser instances, exposing tools for navigation, screenshots, clicking, form filling, and JavaScript execution to AI clients.
      27 npm
      MIT