Android Early Access & Desktop Companion: Ruled Page is currently in Android Early Access. Desktop stdio MCP clients (Claude Desktop, Cursor, Windsurf) connect through a lightweight, zero-dependency Python 3 stdio companion (ruledpage-mcp.py) that verifies your phone's pinned SHA-256 TLS certificate before sending a single byte. Early Access testers receive ruledpage-mcp.py with their invite, and a standalone public download with SHA-256 checksums will be published here alongside the Google Play beta. Request an Early Access invite.
3-Step Setup
Everything runs over your private local Wi-Fi — you only need Python 3 on your computer, with zero pip packages or cloud relays.
Start on your phone
Connect your phone and computer to the same Wi-Fi. Open Settings → Local AI Bridge (MCP), tap Start private Wi-Fi session, then tap Copy pairing config (or scan the QR).
Save pairing file
Save the copied pairing JSON as an owner-only (0600) config file at ~/.config/opentasks/bridge.json and clear your clipboard.
Paste into your AI client
Point Claude Desktop, Cursor, Windsurf, or any stdio MCP client at your downloaded ruledpage-mcp.py companion and bridge.json, then restart.
Step 2: Save Your Pairing File (Owner-Only 0600)
When you tap Copy pairing config in Settings → Local AI Bridge (MCP), Ruled Page copies a one-session JSON payload containing your phone's private LAN IP, port, SHA-256 TLS certificate fingerprint, and a fresh 256-bit bearer token. Save it to ~/.config/opentasks/bridge.json with owner-only permissions (the bridge refuses world- or group-readable files):
install -d -m 700 ~/.config/opentasks && (umask 077 && pbpaste > ~/.config/opentasks/bridge.json) && pbcopy < /dev/null
On Linux or Windows (or if you scanned the on-screen QR code to a temporary file), move it into place and restrict permissions to your user account:
install -d -m 700 ~/.config/opentasks && install -m 600 pairing.json ~/.config/opentasks/bridge.json && rm -f pairing.json
Step 3: Add Ruled Page to Your MCP Client
Place ruledpage-mcp.py (included in the Early Access bundle; public download coming with the Google Play beta) in ~/.local/bin/ruledpage-mcp.py, and replace /Users/YOU with your home directory path. The companion takes your private bridge.json path as its sole argument and refuses any file that isn't owner-only (chmod 600).
Open ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows), add ruled-page under mcpServers, and restart Claude Desktop:
{
"mcpServers": {
"ruled-page": {
"command": "python3",
"args": [
"/Users/YOU/.local/bin/ruledpage-mcp.py",
"/Users/YOU/.config/opentasks/bridge.json"
]
}
}
}
Add this to ~/.cursor/mcp.json (global) or .cursor/mcp.json (per-project), then reload MCP servers in Cursor Settings:
{
"mcpServers": {
"ruled-page": {
"command": "python3",
"args": [
"/Users/YOU/.local/bin/ruledpage-mcp.py",
"/Users/YOU/.config/opentasks/bridge.json"
]
}
}
}
Open ~/.codeium/windsurf/mcp_config.json (or Windsurf Settings → Cascade → MCP Servers → View raw config) and add:
{
"mcpServers": {
"ruled-page": {
"command": "python3",
"args": [
"/Users/YOU/.local/bin/ruledpage-mcp.py",
"/Users/YOU/.config/opentasks/bridge.json"
]
}
}
}
Any MCP client supporting stdio JSON-RPC 2.0 (protocol versions 2024-11-05, 2025-03-26, or 2025-06-18) can launch the companion directly:
python3 "$HOME/.local/bin/ruledpage-mcp.py" "$HOME/.config/opentasks/bridge.json"
What Your AI Can (and Cannot) Do
| MCP Tool | Scope | Behavior |
|---|---|---|
list_tasks |
tasks:read |
Read-only paginated list of tasks on your phone (oldest first, optional includeCompleted). |
list_notebooks |
tasks:read |
Read-only list of your notebooks (lists) with ID, name, and open task count so your AI can file new tasks into the right notebook. |
create_task |
tasks:create |
Creates a task with title, notes, date/time, priority, tags, notebook/list ID, and hard deadline. Requires an idempotencyKey so retries never create duplicates. |
Safety boundaries by design: There is no delete tool, no bulk edit tool, and no alarm scheduling through the bridge. An AI-created task can never ring an alarm on your phone.
Troubleshooting & Security
"The phone is not reachable" / unavailable
- Check the session is on: Open Ruled Page → Settings → Local AI Bridge (MCP) and verify it says Session running. The session stops automatically if Wi-Fi drops.
- Same private Wi-Fi network: Both devices must be on the same local Wi-Fi (10.x, 172.16–31.x, or 192.168.x). Hotel, office, or guest Wi-Fi networks with "AP / client isolation" block device-to-device traffic.
- Tailscale / VPN note: By design, the local bridge binds strictly to your phone's local private Wi-Fi interface (RFC 1918) rather than public or tunnel interfaces. If you use a VPN on your phone or laptop that intercepts local LAN routes, enable "Allow local network access" in your VPN settings. For true away-from-home access, optional Pro Cloud Sync (
ai.ruledpage.app) is coming soon.
"Unauthorized" or "Certificate pin mismatch"
- Starting a new session rotates the 256-bit bearer token and revokes the previous one. Tap Copy pairing config in Ruled Page and overwrite your owner-only
~/.config/opentasks/bridge.jsonfile. - The desktop MCP companion checks the phone's exact SHA-256 TLS certificate fingerprint before sending a single HTTP byte (including the bearer token). If the fingerprint ever mismatches, nothing is transmitted.
Instant Stop & Revoke
- While a session is active, Android shows a persistent notification with a Stop & Revoke button. Tapping it (or tapping Revoke & Stop inside the app) immediately closes the local HTTPS socket and invalidates the token.
- While pairing details (QR code and config) are visible on screen, Android's
FLAG_SECUREblocks screenshots and recent-apps previews.