File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -28,15 +28,18 @@ def get_plane_client_context() -> PlaneClientContext:
2828 3. OAuth access token
2929
3030 Environment variables:
31- - PLANE_BASE_URL: Base URL for Plane API (default: https://api.plane.so)
31+ - PLANE_INTERNAL_BASE_URL: Internal URL for Plane API (preferred for server-to-server calls)
32+ - PLANE_BASE_URL: Base URL for Plane API (fallback, default: https://api.plane.so)
3233
3334 Returns:
3435 PlaneClientContext containing configured PlaneClient instance and workspace slug
3536
3637 Raises:
3738 ConfigurationError: If access token is not available or workspace slug is missing
3839 """
39- base_url = os .getenv ("PLANE_BASE_URL" , "https://api.plane.so" )
40+ base_url = os .getenv ("PLANE_INTERNAL_BASE_URL" ) or os .getenv (
41+ "PLANE_BASE_URL" , "https://api.plane.so"
42+ )
4043 workspace_slug = os .getenv ("PLANE_WORKSPACE_SLUG" , "" )
4144
4245 api_key = os .getenv ("PLANE_API_KEY" , "" )
Original file line number Diff line number Diff line change 11[project ]
22name = " plane-mcp-server"
3- version = " 0.2.2 "
3+ version = " 0.2.3 "
44description = " A Model Context Protocol server for Plane integration"
55readme = " README.md"
66requires-python = " >=3.10"
You can’t perform that action at this time.
0 commit comments