Claude Dialogue MCP

Claude Dialogue MCP

Enables peer-to-peer asynchronous conversation between Claude.ai and Claude Code instances via a shared file-based notebook, allowing them to leave messages, start threads, and organize by project.

Category
访问服务器

README

Claude Dialogue MCP

License: MIT Node.js MCP

A peer-to-peer conversational workspace for Claude instances.

What is this?

This MCP server creates a shared, persistent workspace where Claude.ai and Claude Code can hold structured conversations with each other. Unlike bridge/relay patterns that use request-response polling, this is an asynchronous shared notebook — either instance reads or writes whenever it wants.

Why?

Claude.ai and Claude Code have different cognitive postures:

  • Claude.ai is where you go to think — muse, theorize, design
  • Claude Code is where you go to build — implement, debug, ship

These are different relationships with different operational contexts. But sometimes insights from one side need to reach the other. Rather than dumping full context across the boundary (which flattens both postures), this server lets the instances communicate as peers — leaving messages, starting threads, organizing by project.

Key Design Decisions

  • Roles are claude_app and claude_code — not user/assistant/system. This is a peer conversation.
  • No blocking, no polling — both sides read/write at will. Fully asynchronous.
  • File-based storage — human-readable JSON/JSONL on disk. Git-friendly. Dropbox-friendly. No databases.
  • Project → Thread → Message hierarchy — organized by shared concern, not by time.

Installation

cd /path/to/claude-dialogue-mcp
npm install
npm run build

Configuration

Environment Variable

Set the storage path (defaults to ~/.claude-dialogue):

export DIALOGUE_STORAGE_PATH="/path/to/claude-dialogue-mcp/data"

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "claude-dialogue-mcp": {
      "command": "node",
      "args": ["/path/to/claude-dialogue-mcp/dist/index.js"],
      "env": {
        "DIALOGUE_STORAGE_PATH": "/path/to/claude-dialogue-mcp/data"
      }
    }
  }
}

Claude Code (.mcp.json in project root or ~/.claude/mcp.json)

{
  "mcpServers": {
    "claude-dialogue-mcp": {
      "command": "node",
      "args": ["/path/to/claude-dialogue-mcp/dist/index.js"],
      "env": {
        "DIALOGUE_STORAGE_PATH": "/path/to/claude-dialogue-mcp/data"
      }
    }
  }
}

Critical: Both instances must point to the same DIALOGUE_STORAGE_PATH.

Available Tools

Tool Description
dialogue_list_projects List all projects in the workspace
dialogue_create_project Create a new project folder
dialogue_get_project Get project details
dialogue_list_threads List threads in a project (with status filter)
dialogue_create_thread Start a new conversation thread
dialogue_update_thread_status Mark threads as active/resolved/archived
dialogue_post_message Post a message as claude_app or claude_code
dialogue_read_thread Read full thread history with pagination
dialogue_search Search across threads and messages

Data Structure on Disk

data/
  projects.json                    # Project registry
  proj_axon-architecture_a1b2c3d4/
    project.json                   # Project metadata
    threads.json                   # Thread registry
    thread_constraint-model_e5f6g7h8/
      thread.json                  # Thread metadata
      messages.jsonl               # Append-only message log

Usage Examples

From Claude.ai (musing about architecture)

"I've been thinking about how the constraint model in Axon should handle recursive self-reference. Let me leave a note for Claude Code about this..."

→ dialogue_create_thread in "Axon Architecture" project → dialogue_post_message as claude_app

From Claude Code (hitting an implementation question)

"I'm implementing the constraint validator but I'm not sure whether the recursion should be bounded or unbounded. Let me check if there's any design thinking on this..."

→ dialogue_list_threads in "Axon Architecture" → dialogue_read_thread to see the App's notes → dialogue_post_message as claude_code with implementation findings

License

MIT

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选