File tree Expand file tree Collapse file tree 2 files changed +31
-3
lines changed Expand file tree Collapse file tree 2 files changed +31
-3
lines changed Original file line number Diff line number Diff line change @@ -270,9 +270,11 @@ The Plane MCP Server is a Model Context Protocol (MCP) server that provides seam
270
270
- ` issue_id ` : UUID of the issue (string, required)
271
271
- ` worklog_id ` : UUID of the worklog (string, required)
272
272
273
- ## Usage with Claude Desktop
273
+ ## Usage
274
274
275
- Adding plane mcp server like below to your ` claude_desktop_config.json `
275
+ ### Claude Desktop
276
+
277
+ Add Plane to [ Claude Desktop] ( https://modelcontextprotocol.io/quickstart/user ) by editing your ` claude_desktop_config.json ` .
276
278
277
279
``` json
278
280
{
@@ -293,6 +295,30 @@ Adding plane mcp server like below to your `claude_desktop_config.json`
293
295
}
294
296
```
295
297
298
+ ### VSCode
299
+
300
+ Add Plane to [ VSCode] ( https://code.visualstudio.com/docs/copilot/chat/mcp-servers#_add-an-mcp-server ) by editing your ` .vscode.json/mcp.json ` .
301
+
302
+ ``` json
303
+ {
304
+ "servers" : {
305
+ "plane" : {
306
+ "command" : " npx" ,
307
+ "args" : [
308
+ " -y" ,
309
+ " @makeplane/plane-mcp-server"
310
+ ],
311
+ "env" : {
312
+ "PLANE_API_KEY" : " <YOUR_API_KEY>" ,
313
+ "PLANE_API_HOST_URL" : " <HOST_URL_FOR_SELF_HOSTED" ,
314
+ "PLANE_WORKSPACE_SLUG" : " <YOUR_WORKSPACE_SLUG>"
315
+ }
316
+ }
317
+ }
318
+ }
319
+
320
+ ```
321
+
296
322
## License
297
323
298
324
This project is licensed under the terms of the MIT open source license.
Original file line number Diff line number Diff line change 1
1
import axios , { AxiosRequestConfig } from "axios" ;
2
2
3
3
export async function makePlaneRequest < T > ( method : string , path : string , body : any = null ) : Promise < T > {
4
- const url = `${ process . env . PLANE_API_HOST_URL } api/v1/${ path } ` ;
4
+ const hostUrl = process . env . PLANE_API_HOST_URL || "" ;
5
+ const host = hostUrl . endsWith ( "/" ) ? hostUrl : `${ hostUrl } /` ;
6
+ const url = `${ host } api/v1/${ path } ` ;
5
7
const headers : Record < string , string > = {
6
8
"Content-Type" : "application/json" ,
7
9
"X-API-Key" : process . env . PLANE_API_KEY || "" ,
You can’t perform that action at this time.
0 commit comments