File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -13,9 +13,9 @@ The Plane MCP Server is a Model Context Protocol (MCP) server that provides seam
1313
1414## Configuration Parameters
1515
16- 1 . ` PLANE_API_HOST_URL ` - The host URL of the Plane API Server. Defaults to https:/ /api.plane.so/
17- 2 . ` PLANE_API_KEY ` - The user's API token. This can be obtained from the ` /settings/api-tokens/ ` page in the UI .
18- 3 . ` PLANE_WORKSPACE_SLUG ` - The workspace slug for your Plane instance.
16+ 1 . ` PLANE_API_KEY ` - The user's API token. This can be obtained from the ` /settings /api-tokens/ ` page in the UI.
17+ 2 . ` PLANE_WORKSPACE_SLUG ` - The workspace slug for your Plane instance .
18+ 3 . ` PLANE_API_HOST_URL ` (optional) - The host URL of the Plane API Server. Defaults to https://api.plane.so/
1919
2020## Tools
2121
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 hostUrl = process . env . PLANE_API_HOST_URL || "" ;
4+ const hostUrl = process . env . PLANE_API_HOST_URL || "https://api.plane.so/ " ;
55 const host = hostUrl . endsWith ( "/" ) ? hostUrl : `${ hostUrl } /` ;
66 const url = `${ host } api/v1/${ path } ` ;
77 const headers : Record < string , string > = {
You can’t perform that action at this time.
0 commit comments