chatback

chatback

Local-only MCP server that indexes Cursor agent transcripts, identifies unfinished or on-hold chats, and provides tools to search, view, and resume them.

Category
Visit Server

README

chatback

Find unfinished and on-hold Cursor agent chats — then pick them up again.

Local-only MCP server for the Cursor community. Indexes your agent transcripts under ~/.cursor/projects, scores open loops (aborted, errored, interrupted, open todos, hold language), and exposes tools so the agent can show you a Chatback inbox.

No cloud. No upload. MIT licensed.

Why this exists

Generic chat search helps you find old threads. chatback helps you finish them — ranked by what looks unfinished or explicitly on hold.

Install (30 seconds)

Cursor Marketplace / plugin

Once listed, install Chatback from Marketplace. Until then, add to ~/.cursor/mcp.json:

{
  "mcpServers": {
    "chatback": {
      "command": "npx",
      "args": ["-y", "github:princemuichkine/chatback"]
    }
  }
}

Restart Cursor (or Developer: Reload Window).

Local development

git clone https://github.com/princemuichkine/chatback.git
cd chatback
npm install && npm run build

Point MCP at your build:

{
  "mcpServers": {
    "chatback": {
      "command": "node",
      "args": ["/absolute/path/to/chatback/dist/index.js"]
    }
  }
}

Or symlink as a Cursor plugin:

ln -s "$(pwd)" ~/.cursor/plugins/local/chatback

MCP tools

Tool Purpose
list_open_loops Ranked inbox of unfinished / on-hold chats
search_chats Keyword search across indexed transcripts
get_chat Full transcript body by chat id
recent_chats Recently updated chats
mark_loop Mark hold, done, or ignore (local only)
reindex Rescan transcript folders

Resource: chatback://inbox — markdown summary of top open loops.

CLI (debug without MCP)

npx -y github:princemuichkine/chatback --help
npx -y github:princemuichkine/chatback --print-inbox 10

Open-loop signals

  • Last agent paragraph — cleaned user-facing closing (monologue and [REDACTED] stripped); inbox shows up to ~480 chars
  • Agent invitation closings on that paragraph (want me to, if you want, say the word, when you're ready, …) — not generic “follow-up migration” notes
  • turn_ended with aborted or error
  • Last message is from the user (interrupted mid-turn)
  • Open TodoWrite items with non-empty content
  • Strong hold phrases in user text (on hold, come back later, close this chat, …)
  • Your local hold mark via mark_loop

Recent chats rank higher; threads older than ~30 days are gently demoted.

Marks are stored in ~/.cursor/chatback/marks.json. The search index lives at ~/.cursor/chatback/index.db (schema v3; atomic writes; per-file index errors are collected, not thrown).

Privacy

Reads only Cursor agent transcript files on your machine. Never sends data off-device.

Publish checklist

License

MIT — see LICENSE.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured