Skip to content

Commit f6ebfc9

Browse files
authored
Merge pull request #180 from makeplane/preview
chore: update MCP server docs with latest http transport changes
2 parents a96bc5a + cfa6634 commit f6ebfc9

1 file changed

Lines changed: 154 additions & 49 deletions

File tree

dev-tools/mcp-server.mdx

Lines changed: 154 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -5,77 +5,86 @@ description: Use the Plane MCP server to integrate with Plane
55

66
The [Model Context Protocol](https://modelcontextprotocol.io/overview) (MCP) is a
77
standardized interface that enables AI models to communicate with external tools and
8-
services. When combined with Server-Sent Events (SSE), it provides a powerful
9-
mechanism for real-time data transfer between AI models and external systems.
8+
services. The Plane MCP Server enables AI agents to interact with Plane's project
9+
management capabilities through multiple transport methods.
1010

11-
<Note>
11+
The Plane MCP Server is open source and available on [GitHub](https://github.com/makeplane/plane-mcp-server).
12+
13+
<Note>
1214
Beta
1315
The Plane MCP Server is currently in **Beta**. Some aspects of the API may change.
1416
While MCP is standardized, it is also rapidly evolving. The Plane MCP Server aims to
1517
provide a stable implementation for developers to build robust AI-powered
1618
applications. Please send any issues to support@plane.so.
1719
</Note>
1820

19-
## Prerequisites
21+
## Transport methods
2022

21-
Before setting up the Plane MCP Server, ensure you have the following installed:
23+
The Plane MCP Server supports multiple transport methods to accommodate different deployment scenarios:
2224

23-
### Node.js and npm
24-
- **Node.js**: Version 20 or later (LTS recommended)
25-
- **npm**: Comes bundled with Node.js
26-
- **npx**: Comes bundled with npm
27-
28-
You can verify your installation by running:
29-
```bash
30-
node --version
31-
npm --version
32-
npx --version
33-
```
25+
| Transport | Best for | Authentication |
26+
|-----------|----------|----------------|
27+
| [HTTP with OAuth](#remote-http-with-oauth) | Cloud users, simplest setup | Browser-based OAuth |
28+
| [HTTP with PAT Token](#remote-http-with-pat-token) | Automated workflows, CI/CD | API key in headers |
29+
| [Local Stdio](#local-stdio-transport) | Self-hosted Plane instances | Environment variables |
30+
| [SSE (Legacy)](#sse-transport-legacy) | Existing integrations | Browser-based OAuth |
3431

35-
If you don't have Node.js installed, download it from [nodejs.org](https://nodejs.org/).
32+
## Remote HTTP with OAuth
3633

37-
<Note>
38-
The MCP server uses `npx` to run the `mcp-remote` package, which handles the connection to Plane's MCP server. This is why Node.js and npx are required.
39-
</Note>
34+
The recommended method for connecting to Plane Cloud. Uses browser-based OAuth for authentication.
4035

41-
## Using the Plane MCP Server
36+
### Prerequisites
4237

43-
Follow these steps to integrate with the Plane MCP Server.
38+
- **Node.js**: Version 22 or later
39+
- **npx**: Comes bundled with npm
4440

4541
### Claude.ai
4642

47-
- Open **Settings** from the sidebar on the web or desktop app.
48-
- Scroll to the **Integrations** section and click **Add more**.
49-
- Enter the Integration URL: `https://mcp.plane.so/sse`
50-
- Click **Connect** to link your Plane workspace.
43+
1. Open **Settings** from the sidebar on the web or desktop app.
44+
2. Scroll to the **Integrations** section and click **Add more**.
45+
3. Enter the Integration URL: `https://mcp.plane.so/http/mcp`
46+
4. Click **Connect** to link your Plane workspace.
5147

5248
### Claude Desktop
5349

54-
Add Plane to [Claude Desktop](https://modelcontextprotocol.io/quickstart/user) by
55-
updating your `claude_desktop_config.json`:
50+
Add to your `claude_desktop_config.json`:
51+
52+
```json
53+
{
54+
"mcpServers": {
55+
"plane": {
56+
"command": "npx",
57+
"args": ["mcp-remote@latest", "https://mcp.plane.so/http/mcp"]
58+
}
59+
}
60+
}
61+
```
62+
63+
### Cursor
64+
65+
Add to your Cursor MCP configuration:
5666

5767
```json
5868
{
5969
"mcpServers": {
6070
"plane": {
6171
"command": "npx",
62-
"args": ["mcp-remote", "https://mcp.plane.so/sse"]
72+
"args": ["mcp-remote@latest", "https://mcp.plane.so/http/mcp"]
6373
}
6474
}
6575
}
6676
```
6777

6878
### VSCode
6979

70-
Connect Plane to [VSCode](https://code.visualstudio.com/docs/copilot/chat/mcp-servers#_add-an-mcp-server)
71-
by editing your `.vscode.json` or `mcp.json` file:
80+
Add to your `.vscode/mcp.json` file:
7281

7382
```json
7483
{
7584
"servers": {
7685
"plane": {
7786
"command": "npx",
78-
"args": ["mcp-remote", "https://mcp.plane.so/sse"]
87+
"args": ["mcp-remote@latest", "https://mcp.plane.so/http/mcp"]
7988
}
8089
}
8190
}
@@ -93,7 +102,7 @@ by editing your `.vscode.json` or `mcp.json` file:
93102
"mcpServers": {
94103
"plane": {
95104
"command": "npx",
96-
"args": ["-y", "mcp-remote", "https://mcp.plane.so/sse"]
105+
"args": ["-y", "mcp-remote@latest", "https://mcp.plane.so/http/mcp"]
97106
}
98107
}
99108
}
@@ -110,61 +119,157 @@ by editing your `.vscode.json` or `mcp.json` file:
110119
"plane": {
111120
"source": "custom",
112121
"command": "npx",
113-
"args": ["-y", "mcp-remote", "https://mcp.plane.so/sse"],
122+
"args": ["-y", "mcp-remote@latest", "https://mcp.plane.so/http/mcp"],
114123
"env": {}
115124
}
116125
}
117126
}
118127
```
119128

129+
## Remote HTTP with PAT Token
130+
131+
Use this method when you need header-based authentication, such as in automated workflows or CI/CD pipelines.
132+
133+
### Prerequisites
134+
135+
- **Node.js**: Version 22 or later
136+
- **npx**: Comes bundled with npm
137+
- **Plane API Key**: Generate from your Plane workspace settings
138+
139+
### Configuration
140+
141+
```json
142+
{
143+
"mcpServers": {
144+
"plane": {
145+
"command": "npx",
146+
"args": ["mcp-remote@latest", "https://mcp.plane.so/http/api-key/mcp"],
147+
"headers": {
148+
"Authorization": "Bearer <YOUR_API_KEY>",
149+
"X-Workspace-slug": "<YOUR_WORKSPACE_SLUG>"
150+
}
151+
}
152+
}
153+
}
154+
```
155+
156+
Replace `<YOUR_API_KEY>` with your Plane API key and `<YOUR_WORKSPACE_SLUG>` with your workspace slug.
157+
158+
## Local Stdio transport
159+
160+
Use this method to connect to a self-hosted Plane instance. The Stdio transport runs locally and communicates directly with your Plane API.
161+
162+
### Prerequisites
163+
164+
- **Python**: Version 3.10 or later
165+
- **uvx**: Comes bundled with [uv](https://docs.astral.sh/uv/getting-started/installation/)
166+
167+
You can verify your installation by running:
168+
```bash
169+
python --version
170+
uvx --version
171+
```
172+
173+
### Configuration
174+
175+
```json
176+
{
177+
"mcpServers": {
178+
"plane": {
179+
"command": "uvx",
180+
"args": ["plane-mcp-server", "stdio"],
181+
"env": {
182+
"PLANE_API_KEY": "<YOUR_API_KEY>",
183+
"PLANE_WORKSPACE_SLUG": "<YOUR_WORKSPACE_SLUG>",
184+
"PLANE_BASE_URL": "https://your-plane-instance.com/api"
185+
}
186+
}
187+
}
188+
}
189+
```
190+
191+
### Environment variables
192+
193+
| Variable | Required | Description |
194+
|----------|----------|-------------|
195+
| `PLANE_API_KEY` | Yes | Your Plane API key |
196+
| `PLANE_WORKSPACE_SLUG` | Yes | Your workspace slug |
197+
| `PLANE_BASE_URL` | No | API URL for self-hosted instances (defaults to `https://api.plane.so`) |
198+
199+
## SSE transport (Legacy)
200+
201+
<Note>
202+
The SSE transport is maintained for backward compatibility. For new integrations, we recommend using the [HTTP with OAuth](#remote-http-with-oauth) transport.
203+
</Note>
204+
205+
### Prerequisites
206+
207+
- **Node.js**: Version 22 or later
208+
- **npx**: Comes bundled with npm
209+
210+
### Configuration
211+
212+
```json
213+
{
214+
"mcpServers": {
215+
"plane": {
216+
"command": "npx",
217+
"args": ["mcp-remote@latest", "https://mcp.plane.so/sse"]
218+
}
219+
}
220+
}
221+
```
222+
120223
## Activating the Plane MCP Server
121224

122-
After setup, when activating the server, you will be prompted in your browser to
123-
connect your Plane workspace to the MCP server.
225+
After setup, when activating the server with OAuth-based transports (HTTP with OAuth or SSE), you will be prompted in your browser to connect your Plane workspace to the MCP server.
124226

125227
When prompted to authorize, click **Approve**.
126228

127-
Next, choose the workspace you want to connect, review the permissions, and click
128-
**Accept**.
229+
Next, choose the workspace you want to connect, review the permissions, and click **Accept**.
129230

130231
## Troubleshooting
131232

132-
### Common Issues
233+
### Common issues
133234

134-
**Authentication Errors**
235+
**Authentication errors**
135236

136-
If you encounter authentication issues, clear saved auth tokens:
237+
If you encounter authentication issues with OAuth transports, clear saved auth tokens:
137238

138239
```bash
139240
rm -rf ~/.mcp-auth
140241
```
141242

142-
**Connection Timeouts**
243+
**Connection timeouts**
143244

144245
- Ensure you have a stable internet connection
145246
- Check if your firewall or proxy is blocking MCP connections
146-
- Try using the HTTP endpoint instead of SSE if available
247+
- Verify your Plane instance is accessible
147248

148249
**WSL on Windows**
149250

150-
If you're using WSL on Windows and encountering errors, use this configuration:
251+
If you're using WSL on Windows and encountering errors with remote transports:
151252

152253
```json
153254
{
154255
"mcpServers": {
155256
"plane": {
156257
"command": "wsl",
157-
"args": ["npx", "-y", "mcp-remote", "https://mcp.plane.so/sse", "--transport sse-only"]
258+
"args": ["npx", "-y", "mcp-remote@latest", "https://mcp.plane.so/http/mcp"]
158259
}
159260
}
160261
}
161262
```
162263

163-
**Node.js Version**
264+
**Node.js version**
265+
266+
Ensure you have Node.js 22 or later installed for remote transports.
267+
268+
**Python version**
164269

165-
Ensure you have a recent version of Node.js installed. MCP servers require Node.js 18 or later.
270+
Ensure you have Python 3.10 or later installed for the local Stdio transport.
166271

167-
### Getting Help
272+
### Getting help
168273

169274
If you continue to experience issues:
170275

@@ -174,4 +279,4 @@ If you continue to experience issues:
174279

175280
## Congrats!
176281

177-
You have successfully connected your Plane workspace to the MCP server!
282+
You have successfully connected your Plane workspace to the MCP server!

0 commit comments

Comments
 (0)