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
13
13
14
14
## Configuration Parameters
15
15
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/
19
19
20
20
## Tools
21
21
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 hostUrl = process . env . PLANE_API_HOST_URL || "" ;
4
+ const hostUrl = process . env . PLANE_API_HOST_URL || "https://api.plane.so/ " ;
5
5
const host = hostUrl . endsWith ( "/" ) ? hostUrl : `${ hostUrl } /` ;
6
6
const url = `${ host } api/v1/${ path } ` ;
7
7
const headers : Record < string , string > = {
You can’t perform that action at this time.
0 commit comments