Skip to content

Commit 7593cff

Browse files
chore: add api.plane.so as the default api host
1 parent 1b0ef13 commit 7593cff

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

src/common/request-helper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import axios, { AxiosRequestConfig } from "axios";
22

33
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/";
55
const host = hostUrl.endsWith("/") ? hostUrl : `${hostUrl}/`;
66
const url = `${host}api/v1/${path}`;
77
const headers: Record<string, string> = {

0 commit comments

Comments
 (0)