Enables management of Microsoft Planner tasks with support for including GitHub repository links in task descriptions and integrating GitHub PR references with Planner workflows.
microsoft-planner-mcp
Lightweight MCP (Model Context Protocol) server for Microsoft Planner that uses az rest for authentication instead of complex OAuth flows.
What This Is
A minimal MCP server that enables Claude Code to interact with Microsoft Planner tasks directly. It leverages Azure CLI's existing authentication (az login) to make Graph API calls, eliminating the need for app registrations or token management.
Prerequisites
Node.js (v18 or later)
Azure CLI installed and authenticated:
az login
Installation
Usage with Claude Code
Add the MCP server to Claude Code:
Or add directly to your MCP settings file:
Available Tools
Tool | Description |
| List all Planner plans accessible to the current user |
| List all buckets in a plan |
| List all tasks in a Planner plan |
| Get details of a specific task |
| Get extended task details (description, checklist, references) |
| Create a new task in a plan |
| Update task properties (title, progress, assignments, categories) |
| Update task description (supports GitHub links) |
| Delete a Planner task |
Claude Code Agent (Optional)
For enhanced automation, create a Claude Code agent at ~/.claude/agents/microsoft-planner.md with:
Auto-assignment: Automatically assign tasks to a default user
Auto-labeling: Apply default categories/labels to tasks
Status Intelligence: Infer task bucket and progress from conversation context
GitHub Integration: Include repository links in task descriptions
See the agent template for configuration details.
Finding Your IDs
To use the MCP tools, you'll need your Planner Plan ID and Bucket IDs:
Use
list-plansto discover all accessible plans and their IDsUse
list-bucketswith your Plan ID to get bucket IDsOr find your Plan ID from the Planner web URL:
https://tasks.office.com/...planId=YOUR_PLAN_ID
Example Usage
Once configured, use natural language with Claude Code:
How It Works
This server uses az rest to make Microsoft Graph API calls. The Azure CLI handles all authentication, so as long as you're logged in with az login, the server can access Planner data your account has permissions for.
All Planner operations that require ETags (update, delete) automatically fetch the current ETag before making changes.
License
ISC