Skip to main content
Glama
Plane MCP Server

Plane MCP Server

by abelsr

Plane MCP Server

CI PyPI License: MIT Python 3.10+ Built with FastMCP MCP

An MCP server that exposes the Plane REST API to AI clients (Claude, Cursor, VS Code, Codex, …). Built with FastMCP.

It authenticates as a Plane personal access token and acts on a single workspace, giving the model tools to read and manage projects, work items, states, labels, cycles, modules, members and comments.

Requirements

  • Python 3.10+

  • A Plane account and a personal access token: Plane → Profile settings → Personal access tokens → Add personal access token

  • Your workspace slug — the segment in your Plane URL: https://app.plane.so/<workspace-slug>/projects/

Related MCP server: Plane MCP Server

Install

From PyPI — package plane-mcp-oss:

uvx plane-mcp-oss            # run without installing
# or
pip install plane-mcp-oss    # installs the `plane-mcp` and `plane-mcp-oss` commands

From source:

uv sync            # installs fastmcp + httpx into .venv
# or, without uv:
pip install -e .

Configure

The server targets one Plane instance and one workspace. Settings are resolved with the following precedence (highest wins):

  1. CLI flags (--base-url, --workspace, --api-key)

  2. Process environment variables

  3. A .env file in the working directory (loaded automatically)

  4. Built-in defaults

Variable

Alias

Required

Default

Purpose

PLANE_API_KEY

PLANE_TOKEN

yes*

—

Personal access token, sent as X-API-Key.

PLANE_OAUTH_TOKEN

—

yes*

—

OAuth access token, sent as Authorization: Bearer ….

PLANE_WORKSPACE_SLUG

PLANE_WORKSPACE

yes

—

Target workspace slug.

PLANE_BASE_URL

PLANE_URL

no

https://api.plane.so

Plane instance URL.

PLANE_TIMEOUT

—

no

30

Request timeout (seconds).

* One of PLANE_API_KEY / PLANE_OAUTH_TOKEN is required.

Pointing at a self-hosted instance

PLANE_BASE_URL accepts whatever you copy from your browser. The /api/v1 suffix is added automatically when needed:

PLANE_BASE_URL=https://api.plane.so            # Plane Cloud (default)
PLANE_BASE_URL=https://plane.example.com       # self-hosted
PLANE_BASE_URL=https://example.com/plane       # self-hosted behind a subpath
PLANE_BASE_URL=https://plane.example.com/api/v1  # already versioned

CLI flags

plane-mcp --base-url https://plane.example.com/plane \
          --workspace my-team \
          --api-key plane_api_xxxx

Check what the server resolved — without leaking the token:

$ plane-mcp --show-config --base-url https://plane.example.com/plane --workspace my-team --api-key xxx
{
  "base_url": "https://plane.example.com/plane/api/v1",
  "workspace_slug": "my-team",
  "auth": "api_key",
  "timeout": 30.0
}

Copy .env.example for a template; a .env file is loaded from the working directory (change it with --env-file, or pass --env-file '' to skip).

Run

# stdio — how MCP clients launch it locally
PLANE_API_KEY=... PLANE_WORKSPACE_SLUG=my-team uv run plane-mcp

# streamable HTTP
PLANE_API_KEY=... PLANE_WORKSPACE_SLUG=my-team uv run plane-mcp --transport http --port 8000

python -m plane_mcp and python main.py are equivalent entry points.

Client setup

Every example below runs the published package with uvx plane-mcp-oss, so nothing needs to be installed first. For a self-hosted instance, add PLANE_BASE_URL to the same environment (https://plane.example.com).

Claude Code

claude mcp add plane \
  -e PLANE_API_KEY=plane_api_xxxxxxxx \
  -e PLANE_WORKSPACE_SLUG=my-team \
  -- uvx plane-mcp-oss

# add --scope user to make it available in every project (default is "local")
claude mcp list

Or commit a project-scoped .mcp.json so the whole team gets it:

{
  "mcpServers": {
    "plane": {
      "command": "uvx",
      "args": ["plane-mcp-oss"],
      "env": {
        "PLANE_API_KEY": "plane_api_xxxxxxxx",
        "PLANE_WORKSPACE_SLUG": "my-team"
      }
    }
  }
}

OpenAI Codex

codex mcp add plane \
  --env PLANE_API_KEY=plane_api_xxxxxxxx \
  --env PLANE_WORKSPACE_SLUG=my-team \
  -- uvx plane-mcp-oss

codex mcp list

Codex writes this to ~/.codex/config.toml:

[mcp_servers.plane]
command = "uvx"
args = ["plane-mcp-oss"]

[mcp_servers.plane.env]
PLANE_API_KEY = "plane_api_xxxxxxxx"
PLANE_WORKSPACE_SLUG = "my-team"

phoson-cli

Add an entry to ~/.phoson/mcps.json under mcpServers:

{
  "mcpServers": {
    "plane": {
      "command": "uvx",
      "args": ["plane-mcp-oss"],
      "env": {
        "PLANE_API_KEY": "plane_api_xxxxxxxx",
        "PLANE_WORKSPACE_SLUG": "my-team"
      },
      "enabled": true
    }
  }
}

Cursor

~/.cursor/mcp.json (global) or .cursor/mcp.json (per project):

{
  "mcpServers": {
    "plane": {
      "command": "uvx",
      "args": ["plane-mcp-oss"],
      "env": {
        "PLANE_API_KEY": "plane_api_xxxxxxxx",
        "PLANE_WORKSPACE_SLUG": "my-team"
      }
    }
  }
}

VS Code

.vscode/mcp.json (note the servers key and type):

{
  "servers": {
    "plane": {
      "type": "stdio",
      "command": "uvx",
      "args": ["plane-mcp-oss"],
      "env": {
        "PLANE_API_KEY": "plane_api_xxxxxxxx",
        "PLANE_WORKSPACE_SLUG": "my-team"
      }
    }
  }
}

VS Code can prompt for the token instead of storing it — add an inputs entry and reference it as ${input:plane_api_key}.

Claude Desktop

claude_desktop_config.json (Settings → Developer → Edit Config):

{
  "mcpServers": {
    "plane": {
      "command": "uvx",
      "args": ["plane-mcp-oss"],
      "env": {
        "PLANE_API_KEY": "plane_api_xxxxxxxx",
        "PLANE_WORKSPACE_SLUG": "my-team"
      }
    }
  }
}

Remote / HTTP transport

Any client that supports remote MCP servers can connect over HTTP instead of spawning a process:

PLANE_API_KEY=... PLANE_WORKSPACE_SLUG=my-team plane-mcp-oss --transport http --port 8000
# endpoint: http://127.0.0.1:8000/mcp

Clients without native remote support can bridge to it with mcp-remote:

{
  "mcpServers": {
    "plane": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "http://127.0.0.1:8000/mcp"]
    }
  }
}

Keep tokens out of version control: prefer the client's secret input mechanism, or reference an environment variable your client expands, instead of committing a real key to .mcp.json.

Tools

Tool

What it does

get_current_user

Profile of the token's user.

list_workspace_members

Workspace members (to resolve assignee UUIDs).

list_projects / get_project

Browse projects (paginated).

create_project / update_project

Create or edit a project.

list_work_items / get_work_item

Browse work items in a project (paginated).

get_work_item_by_identifier

Look up e.g. PROJ-123 directly.

search_work_items

Text search across names/identifiers (works everywhere).

advanced_search_work_items

Filter-based search; permission-gated, may return 403.

create_work_item / update_work_item / delete_work_item

Manage work items.

list_states

Workflow states — get the UUID before setting state.

list_labels / create_label

Project labels.

list_cycles / list_modules

Sprints and modules.

list_comments / add_comment / update_comment / delete_comment

Work item comments.

list_pages / get_page / create_page / update_page

Pages — workspace wiki or project (omit/ pass project_id).

archive_page / restore_page / delete_page

Page lifecycle; delete requires archiving first.

List tools return {results, count, total_results, next_cursor}; pass next_cursor back to page through results.

Resources: plane://me, plane://projects, plane://projects/{id}/states. Prompts: triage_work_items.

Notes on the API

  • Work item state, assignees and labels take UUIDs, not names. Call list_states / list_labels / list_workspace_members first.

  • description is plain text and is converted to the description_html the API expects; description_html overrides it when supplied.

  • Priority is one of urgent, high, medium, low, none.

  • The API allows 60 requests/minute per key; the client surfaces 429 as a tool error so the model can retry.

Architecture

src/plane_mcp/
├── config.py   # env-driven Settings + validation
├── client.py   # async httpx wrapper: auth, URLs, error translation, pagination
├── server.py   # FastMCP instance, tool/resource/prompt definitions, CLI
└── __main__.py # `python -m plane_mcp`
tests/          # offline: httpx.MockTransport + in-memory FastMCP client

client.py has no FastMCP dependency, so it is reusable and easy to test; the server layer only maps tools to client calls and turns PlaneAPIError into ToolError for clean MCP error messages.

Known limitations

  • Pages are Plane Cloud only. The public Pages REST API is not part of the open-source Community Edition — it is absent from the API URL routing at v1.3.1, v1.4.2 and master (apps/api/plane/api/urls/ registers asset, cycle, intake, label, member, module, project, state, user, work_item, invite and sticky — no pages). On a self-hosted instance, pages exist in the UI behind an internal session API (/api/…) that rejects X-API-Key and Bearer tokens, so the page tools will 404 there. They work against Plane Cloud, where the documented /api/v1/…/pages/ routes exist. The page tools detect this and return an explanatory error rather than a bare 404.

  • advanced_search_work_items is permission-gated on some workspaces and editions and can return 403. Use search_work_items or list_work_items as a fallback.

  • Not implemented yet: work item links, attachments, activity feed, and custom properties/types, though the Plane API supports them.

Development

uv run pytest        # 12 offline tests, no credentials needed

Extending

Add a method to PlaneClient for the endpoint you need (see the API reference), then register a tool in server.py:

@mcp.tool
async def list_pages(project_id: str) -> dict[str, Any]:
    """List a project's pages."""
    client = get_client()
    data = await _call(client.request("GET", client._workspace("projects", project_id, "pages")))
    return summarize_paginated(data)

Contributing

Contributions are welcome! See CONTRIBUTING.md for the development setup, how to add a tool, and commit/PR guidelines. Maintainers release via RELEASING.md. This project follows the Contributor Covenant Code of Conduct.

Security

Please report vulnerabilities privately — see SECURITY.md. Never commit real credentials; .env is git-ignored.

License

Released under the MIT License. © 2026 Abel Santillan Rodriguez.

See CHANGELOG.md for release history.

Available Tools

30 tools
add_commentAdd CommentC

Add a comment to a work item.

Inputs: comment (required), project_id (required), work_item_id (required). Returns: object

advanced_search_work_itemsAdvanced Search Work ItemsA

Filtered work item search (Plane's advanced-search endpoint).

Supports a structured filters object in addition to a text query. This endpoint is permission-gated on some workspaces and editions; if it returns 403, fall back to search_work_items or list_work_items.

Inputs: limit, query, filters, project_id, +1 more.

archive_pageArchive PageA

Archive a page. Archiving is reversible via restore_page.

Inputs: page_id (required), project_id. Returns: object

create_labelCreate LabelC

Create a label in a project.

Inputs: name (required), project_id (required), color, description. Returns: object

create_pageCreate PageA

Create a page — a workspace wiki page, or a page inside a project.

Inputs: name (required), color, access, is_locked, +4 more. Returns: object

create_projectCreate ProjectC

Create a project.

Inputs: name (required), identifier (required), emoji, description, +2 more. Returns: object

create_work_itemCreate Work ItemC

Create a work item in a project.

Inputs: name (required), project_id (required), state, labels, +8 more. Returns: object

delete_commentDelete CommentA

Permanently delete a work item comment. This cannot be undone.

Inputs: comment_id (required), project_id (required), work_item_id (required). Returns: object

delete_pageDelete PageA

Permanently delete a page. The page must be archived first.

Plane rejects deleting a page that is still active, so call archive_page before this. This cannot be undone.

Inputs: page_id (required), project_id. Returns: object

delete_work_itemDelete Work ItemA

Permanently delete a work item. This cannot be undone.

Prefer update_work_item with a "Cancelled" state when you only mean to close the item.

Inputs: project_id (required), work_item_id (required). Returns: object

get_current_userGet Current UserA

Return the profile of the user the Plane API key belongs to.

Inputs: no named parameters. Returns: object

get_pageGet PageA

Fetch a page by UUID (workspace wiki page, or a project page).

Inputs: page_id (required), project_id. Returns: object

get_projectGet ProjectA

Fetch a single project by its UUID.

Inputs: project_id (required). Returns: object

get_work_itemGet Work ItemA

Fetch a work item by project UUID and work item UUID.

Inputs: project_id (required), work_item_id (required). Returns: object

get_work_item_by_identifierGet Work Item By IdentifierA

Fetch a work item by its human identifier, e.g. "PROJ-123".

Inputs: identifier (required). Returns: object

list_commentsList CommentsA

List the comments on a work item.

Inputs: project_id (required), work_item_id (required), per_page. Returns: object

list_cyclesList CyclesA

List a project's cycles (sprints).

Inputs: project_id (required), cursor, per_page, cycle_view. Returns: object

list_labelsList LabelsA

List a project's labels (with their UUIDs).

Use this to resolve label names to the UUIDs expected by the labels field of work items.

Inputs: project_id (required), per_page. Returns: object

list_modulesList ModulesC

List a project's modules.

Inputs: project_id (required), cursor, per_page. Returns: object

list_pagesList PagesB

List pages — workspace wiki pages, or a project's pages.

Inputs: cursor, search, per_page, page_type, +1 more. Returns: object

list_projectsList ProjectsC

List projects in the workspace.

Inputs: cursor, expand, order_by, per_page. Returns: object

list_statesList StatesA

List a project's workflow states (with their UUIDs and groups).

Call this before setting the state of a work item: the API expects a state UUID, not a name like "In Progress".

Inputs: project_id (required), per_page. Returns: object

list_work_itemsList Work ItemsB

List work items in a project (paginated).

Inputs: project_id (required), cursor, expand, order_by, +1 more. Returns: object

list_workspace_membersList Workspace MembersA

List every member of the configured workspace.

Useful for resolving a person's name to the member UUID expected by the assignees field when creating or updating work items.

Inputs: no named parameters. Returns: result

restore_pageRestore PageA

Restore a previously archived page.

Inputs: page_id (required), project_id. Returns: object

search_work_itemsSearch Work ItemsA

Search work items by text across names, identifiers and descriptions.

This is the lightweight, always-available search. For filter-based queries use advanced_search_work_items instead.

Inputs: search (required), limit, project_id, workspace_search. Returns: object

update_commentUpdate CommentC

Replace the body of an existing work item comment.

Inputs: comment (required), comment_id (required), project_id (required), work_item_id (required). Returns: object

update_pageUpdate PageA

Update a page's title and/or body. At least one field is required.

Note: updating a page replaces its body, so pass the full content you want.

Inputs: page_id (required), name, project_id, description, +1 more. Returns: object

update_projectUpdate ProjectB

Update the provided fields of a project; omitted fields are left unchanged.

Inputs: project_id (required), name, emoji, description, +2 more. Returns: object

update_work_itemUpdate Work ItemA

Update the provided fields of a work item; omitted fields are unchanged.

assignees and labels replace the existing lists when provided, so pass the complete list you want rather than a single addition.

Inputs: project_id (required), work_item_id (required), name, state, +8 more. Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.1/5.0

    Scored across 30 tools

    Disambiguation4/5

    Most tools map cleanly to a distinct resource and action. The main potential confusion is between list_work_items, search_work_items, and advanced_search_work_items, but the descriptions clearly distinguish lightweight search from filtered search and paginated listing.

    Naming Consistency4/5

    The set overwhelmingly follows a consistent snake_case verb_noun pattern like list_projects, create_work_item, archive_page. Minor deviations like advanced_search_work_items and get_work_item_by_identifier are still readable and predictable.

    Tool Count2/5

    With 30 tools, this exceeds the 25-tool threshold for a 'too many' rating. The tools are individually useful, but the surface is large enough that an agent may struggle to choose among the many list, get, and search variants.

    Completeness4/5

    Core domains are well covered: work items, pages, comments, and projects all have solid lifecycle operations. Minor gaps exist, such as no update/delete for labels and read-only access to cycles and modules, but these are workable limitations rather than blocking dead ends.

    Maintenance

    ActivityStale
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers