claude-plane

claude-plane

MCP server and automation watcher for Plane project management, enabling Claude to interact with Plane via 40+ tools and auto-trigger on labeled issues.

Category
访问服务器

README

ClaudePlane

MCP server and automation watcher for Plane project management.

Features:

  • MCP server providing 40+ tools for Claude to interact with Plane
  • Watcher that automatically triggers Claude when issues are labeled or updated
  • Self-hosted Plane support
  • Single config file for both MCP and watcher

Installation

git clone https://github.com/FishyF1sh/claude-plane.git
cd claude-plane
npm install
npm run build

Quick Start

1. Create config file

In your project directory, create plane.config.json:

{
  "plane": {
    "baseUrl": "https://your-plane-instance.com",
    "apiKey": "plane_api_your-api-key",
    "workspace": "your-workspace",
    "project": "your-project"
  },
  "watch": {
    "pollIntervalSeconds": 30,
    "triggerLabel": "claude",
    "triggers": {
      "onLabelAdded": true,
      "onReopened": true,
      "onNewComment": true
    }
  },
  "claude": {
    "prompt": "/fix-issue {identifiers}"
  }
}

2. Configure Claude Code

Add to ~/.claude.json:

{
  "projects": {
    "/path/to/your/project": {
      "mcpServers": {
        "plane": {
          "type": "stdio",
          "command": "node",
          "args": ["/path/to/claude-plane/dist/index.js"],
          "env": {
            "PLANE_CONFIG": "/path/to/your/project/plane.config.json"
          }
        }
      }
    }
  }
}

3. Control the watcher (optional)

The watcher can be controlled in two ways:

Via MCP tools (recommended): Ask Claude to start/stop the watcher using the built-in tools:

  • plane_watcher_start - Start monitoring for labeled issues
  • plane_watcher_stop - Stop the watcher
  • plane_watcher_status - Check watcher status and logs

Via command line:

cd /path/to/your/project
node /path/to/claude-plane/dist/watcher.js

That's it! Claude can now interact with Plane, and the watcher will auto-trigger Claude on labeled issues.


Configuration Reference

plane.config.json

{
  "plane": {
    "baseUrl": "https://your-plane-instance.com",
    "apiKey": "plane_api_your-api-key",
    "workspace": "your-workspace",
    "project": "your-project"
  },
  "watch": {
    "pollIntervalSeconds": 30,
    "triggerLabel": "claude",
    "triggers": {
      "onLabelAdded": true,
      "onReopened": true,
      "onNewComment": true
    }
  },
  "claude": {
    "prompt": "/fix-issue {identifiers}"
  }
}
Section Field Description
plane baseUrl Plane instance URL
plane apiKey API token from Plane settings
plane workspace Workspace slug (from URL)
plane project Project identifier (e.g., "PROJ") - only needed for watcher
watch pollIntervalSeconds How often to check for updates
watch triggerLabel Label that triggers Claude
watch triggers Which events trigger Claude (see below)
claude prompt Prompt template with placeholders

Trigger Conditions

Trigger Default Description
onLabelAdded true When an item gets the trigger label
onReopened true When an item is reopened (moved from Done)
onNewComment true When a comment is added to a labeled item

Prompt Placeholders

Placeholder Description Example
{identifiers} Space-separated issue IDs PROJ-1 PROJ-2
{ids} Space-separated UUIDs uuid1 uuid2
{urls} Newline-separated URLs
{count} Number of triggered items 3
{identifier} First issue ID PROJ-1
{id} First issue UUID
{title} First issue title
{description} First issue description
{url} First issue URL
{project} Project identifier PROJ
{sequence_id} First issue number 1

Available MCP Tools

Projects: plane_list_projects, plane_get_project, plane_create_project, plane_update_project, plane_delete_project

Work Items: plane_list_work_items, plane_get_work_item, plane_create_work_item, plane_update_work_item, plane_delete_work_item

Cycles: plane_list_cycles, plane_get_cycle, plane_create_cycle, plane_update_cycle, plane_delete_cycle, plane_add_work_items_to_cycle, plane_remove_work_item_from_cycle

Modules: plane_list_modules, plane_get_module, plane_create_module, plane_update_module, plane_delete_module, plane_add_work_items_to_module, plane_remove_work_item_from_module

States: plane_list_states, plane_create_state, plane_update_state, plane_delete_state

Labels: plane_list_labels, plane_create_label, plane_update_label, plane_delete_label

Comments: plane_list_comments, plane_create_comment, plane_update_comment, plane_delete_comment

Links: plane_list_links, plane_create_link, plane_delete_link

Activities: plane_list_activities

Members: plane_list_workspace_members, plane_list_project_members

Attachments: plane_list_attachments, plane_upload_attachment, plane_delete_attachment

User: plane_get_current_user

Watcher: plane_watcher_start, plane_watcher_stop, plane_watcher_status


Custom Claude Commands

Example commands are included in examples/commands/. To install them:

cp examples/commands/*.md ~/.claude/commands/

Available Commands

fix-issue - Handle Plane issues by implementing fixes, committing changes, and updating issue status.

Usage:

/fix-issue PROJ-123
/fix-issue PROJ-123 PROJ-124

You can customize these commands or create your own based on them.


Backwards Compatibility

The MCP server also supports environment variables instead of a config file:

{
  "env": {
    "PLANE_API_KEY": "plane_api_...",
    "PLANE_BASE_URL": "https://...",
    "PLANE_WORKSPACE_SLUG": "your-workspace"
  }
}

Development

npm run build        # Build
npm start            # Run MCP server
npm run watch        # Run watcher
npm run dev          # Dev mode (MCP)
npm run dev:watch    # Dev mode (watcher)

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 模型以安全和受控的方式获取实时的网络信息。

官方
精选