plane-mcp-server

plane-mcp-server

Enables interaction with Plane.so project management API through natural language, allowing users to manage issues, cycles, and projects.

Category
Visit Server

README

โœจ Plane.so MCP Server โœจ

CI License: MIT npm version <!-- Replace YOUR_PACKAGE_NAME if published --> Node.js Version <!-- Replace YOUR_PACKAGE_NAME if published --> TypeScript BiomeJS PRs Welcome

A Model Context Protocol (MCP) server acting as a bridge to the Plane.so API. ๐Ÿš€

This server allows MCP clients (like AI assistants or other tools) to interact with Plane.so resources (initially Issues) through defined tools.

๐Ÿ“š Table of Contents

๐Ÿ‘ค For Users

This section provides information for users who want to install and run the Plane.so MCP server to connect it with their MCP client (e.g., Cursor, Claude App).

โญ Available Tools

The server exposes the following tools to interact with the Plane.so API. Tool names use underscores (e.g., plane_get_issue).

plane_get_issue

Retrieves details of a specific issue.

Parameters:

  • project_id (string, required): ID of the project containing the issue.
  • issue_id (string, required): ID of the issue to retrieve.

Example:

{
  "project_id": "your_project_id_here",
  "issue_id": "your_issue_id_here"
}

plane_create_issue

Creates a new issue in a specified project.

Parameters:

  • project_id (string, required): ID of the project where the issue should be created.
  • name (string, required): Title of the issue.
  • description_html (string, optional): HTML description of the issue (Plane API often requires this format).
  • priority (string, optional): Priority of the issue ("urgent", "high", "medium", "low", "none").
  • state_id (string, optional): ID of the state for this issue.
  • assignees (array<string>, optional): Array of user IDs to assign to this issue.

Example:

{
  "project_id": "your_project_id_here",
  "name": "New Feature Request",
  "description_html": "<p>Details about the new feature.</p>",
  "priority": "medium"
}

plane_update_issue

Updates an existing issue in a project.

Parameters:

  • project_id (string, required): ID of the project containing the issue.
  • issue_id (string, required): ID of the issue to update.
  • name (string, optional): Updated title of the issue.
  • description_html (string, optional): Updated HTML description of the issue.
  • priority (string, optional): Updated priority of the issue.
  • state_id (string, optional): Updated state ID of the issue.
  • assignees (array<string>, optional): Updated array of user IDs assigned to this issue.

Example:

{
  "project_id": "your_project_id_here",
  "issue_id": "your_issue_id_here",
  "priority": "high",
  "assignees": ["user_id_1"]
}

โœ… Prerequisites

  • Node.js (v20 or higher recommended)
  • npm
  • A Plane.so account and an API Key -> Workspace Icon (top left) -> Settings -> API Tokens -> Add API Token
  • Plane.so Workspace slug -> https://app.plane.so/{workspace_slug}/ (Replace {workspace_slug} with your actual workspace slug)

๐Ÿ› ๏ธ Installation

npm install

๐Ÿš€ Usage

The server will start and listen for requests on its standard input (stdin) and send responses to its standard output (stdout). You need to configure your MCP client (like Cursor, Claude App, etc.) to launch this server process when needed.

For more details on the Model Context Protocol, visit modelcontextprotocol.io.

โœจ Examples

Here are some example prompts you could give your AI assistant (once the server is configured in it):

  • "Get the details for issue BUG-123 in the WebApp project."
  • "Create a new high-priority issue in the API project titled 'Refactor authentication module' with the description 'Need to update the auth library.'"
  • "Update issue FEAT-45 in the Design project and assign it to user_abc."

Your assistant will use the appropriate tools (plane_get_issue, plane_create_issue, plane_update_issue) and likely ask for your confirmation before making changes.

๐Ÿ›ก๏ธ Security Considerations

  • API Key Security: Your PLANE_API_KEY stored in the .env file grants access to your Plane.so workspace. Keep this file secure and never commit it to version control.
  • Permissions: Ensure the API key used has the necessary permissions within Plane.so to perform the actions required by the tools (e.g., read issues, create issues, update issues).
  • User Approval: Most MCP clients will require your explicit approval before executing actions that modify data (like creating or updating issues), providing a safety layer.

๐Ÿง‘โ€๐Ÿ’ป For Developers

This section is for developers who want to contribute to the project, run tests, or use the development environment.

Development ๐Ÿง‘โ€๐Ÿ’ป

npm run dev

Project Structure ๐Ÿ“‚

The project follows a domain-driven organization:

src/
โ”œโ”€โ”€ configs/         # Environment and configuration
โ”œโ”€โ”€ plane-client.js  # API client wrapper
โ”œโ”€โ”€ schemas/         # Zod validation schemas
โ”‚   โ”œโ”€โ”€ tools.schema.ts    # Common tool schemas and utilities
โ”‚   โ”œโ”€โ”€ project.schema.ts  # Project-specific schemas 
โ”‚   โ””โ”€โ”€ issue.schema.ts    # Issue-specific schemas
โ”œโ”€โ”€ services/        # Service layer for API interactions
โ”‚   โ”œโ”€โ”€ project.service.ts
โ”‚   โ””โ”€โ”€ issue.service.ts
โ”œโ”€โ”€ tools/           # MCP tool definitions and handlers
โ”‚   โ”œโ”€โ”€ index.ts           # Tool registration
โ”‚   โ”œโ”€โ”€ project.tools.ts   # Project tool definitions
โ”‚   โ””โ”€โ”€ issue.tools.ts     # Issue tool definitions
โ””โ”€โ”€ types/           # TypeScript type definitions

Validation and Error Handling โœ…

The project uses Zod for comprehensive validation:

  1. Schema Definition: Domain-specific schemas are defined in src/schemas/
  2. Schema Validation: The validateWithSchema utility ensures consistent validation
  3. Error Handling: Custom ValidationError class for structured error reporting

Example of using validation:

// In a service method
const validData = validateWithSchema(MySchema, inputData);
// validData is now correctly typed and validated

Adding New Tools ๐Ÿ”ง

To add a new tool:

  1. Define the tool interface in the appropriate domain file (e.g., src/tools/issue.tools.ts)
  2. Add validation schemas in the domain schema file (e.g., src/schemas/issue.schema.ts)
  3. Implement the service method in the service file (e.g., src/services/issue.service.ts)
  4. Register the tool in src/tools/index.ts

Testing ๐Ÿงช

The project includes multiple types of tests:

Unit Tests

Run unit tests (fast, no API calls):

npm run test:unit

Integration Tests

These tests make real API calls, so they need API credentials:

  1. Create a .env.test file with:
API_KEY=your_plane_api_key
WORKSPACE_SLUG=your_workspace_slug
  1. Run integration tests:
npm run test:local
  1. Quick endpoint check:
npm run check:local

Pre-commit Hooks

The pre-commit hooks only run linting and formatting, not tests. This ensures:

  • Faster commits
  • No API call requirements during development
  • No need for API credentials during regular development

When you want to run tests manually:

# Unit tests only
npm run test:unit

# All tests including integration (needs API credentials)
npm test

Linting and Formatting โœจ

Check for linting and formatting errors using Biome:

npm run lint
npm run format:check

Apply formatting and lint fixes automatically:

npm run format

(Note: Formatting is also automatically applied on commit via Husky and lint-staged!)

๐Ÿ™Œ Contributing

Contributions are welcome! Please see CONTRIBUTING.md for details on how to contribute, report bugs, or suggest features.

๐Ÿค Code of Conduct

We are committed to providing a welcoming and inclusive environment. Please review our CODE_OF_CONDUCT.md.


๐Ÿ“œ License

This project is licensed under the MIT License - see the LICENSE file for details.

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