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
270270 - ` issue_id ` : UUID of the issue (string, required)
271271 - ` worklog_id ` : UUID of the worklog (string, required)
272272
273- ## Usage with Claude Desktop
273+ ## Usage
274274
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 ` .
276278
277279``` json
278280{
@@ -293,6 +295,30 @@ Adding plane mcp server like below to your `claude_desktop_config.json`
293295}
294296```
295297
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+
296322## License
297323
298324This project is licensed under the terms of the MIT open source license.
Original file line number Diff line number Diff line change 11import axios , { AxiosRequestConfig } from "axios" ;
22
33export 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 } ` ;
57 const headers : Record < string , string > = {
68 "Content-Type" : "application/json" ,
79 "X-API-Key" : process . env . PLANE_API_KEY || "" ,
You can’t perform that action at this time.
0 commit comments