This is the companion code for Season 8 Episode 1
PlaneMCP Server
This is the companion code for Season 08 Episode 01
Configuration
Name | Description | Location
---|---|---
PlaneAPIKey | The API Key used to access the Plane app | User Secrets
BaseUrl | The base url for the Plane API | appsettings.json
Workspace | The Plane workspace | appsettings.json
ProjectId | The project id of the associated project | appsettings.json
Set Up
- Clone the repo:
git clone https://github.com/binarythistle/S08-E01-MCP-Server.git
-
Once cloned, change into the
S08-E01-MCP-Serverdirectory -
Open the project (using VS Code this would be
code .) -
Open the
appsettings.jsonfile an update config elements to match your Plane Project details. -
Obtain your Plane API key (instructions here) and add the key as a user-secret as follows:
dotnet user-secrets set "PlaneAPIKey" "<your key>"
Registering the Server
The server can now be registered with any MCP client app (e.g. VS Code with GitHub Co Pilot) to see it working using MCP Inspector, first ensure that you have NodeJs installed (type node --version to find out if you have it), then type:
npx @modelcontextprotocol/inspector dotnet run
MCP Inspector should be loaded in a webpage, then:
- Click Connect
- Click List Tools
- Select
get_all_work_item_statuses - Click Run Tool
If everything has worked it should bring back a list of standard work items statuses from Plane.