The Plane MCP Server is a powerful tool that enables AI assistants to interact with the Plane project management platform. It provides functionality for managing workspaces, projects, issues, and more through the Model Context Protocol.
Clone the repository:
git clone https://github.com/yourusername/plane-mcp-server.git
cd plane-mcp-server
Install dependencies:
npm install
Create an environment configuration:
# Create a .env file based on .env.example
cp .env.example .env
Configure your environment variables in the .env
file:
PLANE_API_KEY=your_api_key
PLANE_BASE_URL=https://plane.yourdomain.com
PLANE_WORKSPACE_SLUG=your_workspace_slug
Build the TypeScript code:
npm run build
Start the server:
npm start
For development with automatic reloading:
npm run dev
To deploy the MCP server on Smithery.ai:
PLANE_API_KEY
: Your Plane API keyPLANE_BASE_URL
: URL of your Plane instancePLANE_WORKSPACE_SLUG
: Your workspace slug in PlaneTo create a new issue in a project:
// Example of using the create-issue tool
const newIssue = {
name: "Fix login bug",
description: "Users are experiencing login failures when using Safari",
project_id: "PROJECT_ID",
priority: "high",
state_id: "STATE_ID"
};
// Tool would be called with these parameters
To list issues with specific criteria:
// Example of using the list-issues tool with filters
const filters = {
project_id: "PROJECT_ID",
priority: "high",
assignees: ["USER_ID1", "USER_ID2"],
state_id: "STATE_ID_IN_PROGRESS"
};
// Tool would be called with these parameters
To add a comment to an existing issue:
// Example of using the add-issue-comment tool
const comment = {
issue_id: "ISSUE_ID",
project_id: "PROJECT_ID",
comment_html: "<p>This issue should be fixed in the next release.</p>"
};
// Tool would be called with these parameters
To add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "plane" '{"command":"npm","args":["start"],"env":{"PLANE_API_KEY":"","PLANE_BASE_URL":"","PLANE_WORKSPACE_SLUG":""}}'
See the official Claude Code MCP documentation for more details.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"plane": {
"command": "npm",
"args": [
"start"
],
"env": {
"PLANE_API_KEY": "",
"PLANE_BASE_URL": "",
"PLANE_WORKSPACE_SLUG": ""
}
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
2. Add this to your configuration file:
{
"mcpServers": {
"plane": {
"command": "npm",
"args": [
"start"
],
"env": {
"PLANE_API_KEY": "",
"PLANE_BASE_URL": "",
"PLANE_WORKSPACE_SLUG": ""
}
}
}
}
3. Restart Claude Desktop for the changes to take effect