remote-console-mcp
v1.4.0
Published
MCP server for Remote Console with API token authentication
Maintainers
Readme
remote-console-mcp
MCP server for Remote Console.
It connects to a Remote Console WebSocket endpoint, authenticates with an API token, and exposes tools that let Cursor inspect remote device sessions, read logs, and execute JavaScript on connected WebViews.
Install
npm install -g remote-console-mcpOr run it without a global install:
npx -y remote-console-mcpRequired environment variables
RC_SERVER_URL: Remote Console WebSocket endpoint, for examplewss://your-domain.com/remote-console/wsRC_API_TOKEN: API token created in the Remote Console Web UI (Tokenspage)
Optional:
RC_DEVICE_ID: only show sessions from a specific device ID
If RC_SERVER_URL is omitted, the package falls back to
ws://127.0.0.1:3000/ws for local development.
Cursor configuration
Add this to your MCP config:
{
"mcpServers": {
"remote-console": {
"command": "npx",
"args": ["-y", "remote-console-mcp"],
"env": {
"RC_SERVER_URL": "wss://your-domain.com/remote-console/ws",
"RC_API_TOKEN": "rct_<paste-token-here>"
}
}
}
}Exposed tools
list_sessionsget_logsget_session_infoexecute_js
Authentication
This package authenticates as a non-browser client using RC_API_TOKEN.
- Missing token: the Remote Console server will reject the connection
- Revoked token: the MCP server stops reconnecting and prints a clear error
- Human login credentials are not used here; they are only for the Web UI
Publish
From mcp-server/:
npm publishThe package uses:
prepublishOnly->npm run buildbin.remote-console-mcp->dist/index.jspublishConfig.access=public
Local development
npm install
npm run build
npx remote-console-mcp