Skip to content
HomeNewsConceptsGuidesToolbox
AboutSubscribeUA
Subscribe

AI Today Brief

The daily AI-engineering brief. Built in public. EN · UA.

XTelegramLinkedInYouTubeRSS

Follow AI Today Brief on LinkedIn for daily AI-engineering updates and the weekly “5 shifts that changed how developers work” PDF.

Explore

NewsDigestsConceptsGuides

Company

SubscribeAdvertiseAbout

Legal

Editorial policyAI disclosurePrivacyTerms

© 2026 AI Today Brief. All rights reserved.

  1. Home/
  2. News/
  3. Agents & MCP/
  4. cursor-cp-cli: Attach Telegram to Local Cursor CLI Agent Sessions
Agents & MCP

cursor-cp-cli: Attach Telegram to Local Cursor CLI Agent Sessions

cursor-cp-cli is an open-source daemon that bridges Telegram to local Cursor CLI chats via agent -p --resume. It features a real-time web dashboard, SQLite session persistence, multi-workspace support, and mode switching for headless agent execution.

August 10, 2026· 4 min read
OKCurated by Oleksandr Kuzmenko, AI Product Engineer·Updated August 10, 2026·Sources cited on every story
AI-assisted · editor-reviewed·How we use AI
cursor-cp-cli: Attach Telegram to Local Cursor CLI Agent Sessions

Impact: Medium

Why it matters

Monitor, queue, and interact with running local Cursor CLI agents remotely from your mobile Telegram app.

TL;DR

  • 01Remotely manage and resume local Cursor agent sessions from Telegram.
  • 02Run background execution daemons on macOS and Linux via systemd or LaunchAgents.
  • 03Switch between autonomous agent execution and read-only plan/ask modes remotely.

Key facts

8747Default HTTP Port
22.xSupported Node.js Version
Default HTTP Port
8747
Supported Node.js Version
22.x
Local Chat Storage Path
~/.cursor/chats
Database Engine
SQLite

Bridging Local Cursor CLI to Mobile Telegram

cursor-cp-cli links mobile messaging to local CLI agent sessions in ~/.cursor/chats. Running the /cli command inside Telegram lists local chats, allowing remote attachment via agent -p --resume <chatId> --workspace <cwd> --trust --force.

Execution Modes and Background Processing

The bridge supports execution modes via agent --mode: default agent mode with automated code edits, alongside read-only plan and ask modes. Output is streamed live into Telegram via inline message edits, while jobs are processed through a per-chat FIFO queue.

Single-Line Installation and User Service

Deploying requires Node.js 22.x and the local agent CLI binary. Installation handles user-space setup under ~/.local/share/cursor-cp without requiring sudo privileges.

Try it in 2 minutes

curl -fsSL https://raw.githubusercontent.com/xabaras/cursor-cp-cli/main/install.sh | bash

bash

✓ When to use

  • When you need to send instructions and monitor local Cursor CLI agent jobs away from your workstation.

✕ When NOT to use

  • Do not use when simultaneous access to the same CLI chat from both the terminal TUI and Telegram is required.
  • Not supported for background daemon execution on Windows.

What to do today

  • →Install cursor-cp-cli via the official one-line install script.
  • →Configure enable_cli_bridge in ~/cursor-cp/config.yaml and pair your Telegram bot token.
#Cursor#Cursor CLI#Telegram

Sources

  • xabaras/cursor-cp-cli on GitHub
ShareShare on XShare on LinkedIn
← Previous storyEvaluating LLM Token Efficiency and Correctness Across Programming LanguagesNext story →Thinking Machines Releases Inkling Small 12B Active Open-Weight Multimodal Model

Related stories

  • Agents & MCPIsolating Parallel AI Coding Agents into Cloud Virtual Machines
  • Agents & MCPModel Context Protocol Enterprise Pattern Mandates Dry-Run Previews and Injection Isolation
  • Agents & MCPAutomating Ground-Truth Extraction with Dual-LLM Gating and Agent Arbitration
  • Agents & MCPGrok Bot Ingests Screen Recordings with Audio to Learn Desktop Workflows

Email digest

Get the morning AI brief

One email a day — the stories that matter for engineers, founders and tech leads. Human-edited, with links to primary sources.

  • ✓120+ sources scanned daily
  • ✓Edited by a human
  • ✓1 email per day
  • ✓EN + UA

By subscribing you agree to the privacy policy.