Planner MCP Server
Enables Claude to manage Microsoft Planner plans, buckets, and tasks via the Microsoft Graph API with OAuth 2.0 authentication.
README
Planner MCP Server
A Model Context Protocol (MCP) server that enables Claude to interact with Microsoft Planner through the Microsoft Graph API.
Features
- Authentication: OAuth 2.0 device code flow for secure authentication
- Plans Management: List and view Planner plans
- Buckets Management: List, create, and manage buckets within plans
- Tasks Management: Create, update, delete, and view tasks
- Token Persistence: Stores access tokens across server restarts
Prerequisites
- Node.js 18+ or newer
- npm or yarn
- Microsoft account with access to Planner
Installation
- Clone or download this repository
- Install dependencies:
cd planner-mcp
npm install
- Build the project:
npm run build
Authentication
Before using the Planner tools, you need to authenticate:
- Start the authentication flow by calling the
auth_starttool - Visit the displayed verification URL
- Enter the provided code
- Sign in with your Microsoft account
- Use the
auth_polltool to check if authentication is complete
The access token will be saved locally and reused for future sessions.
Configuration
Option 1: Using CLI (Recommended)
claude mcp add --transport stdio planner node /path/to/planner-mcp/build/index.js
Option 2: Manual Configuration
Add this server to your Claude Desktop configuration file:
Windows: %APPDATA%\Claude\claude_desktop_config.json
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"planner": {
"command": "node",
"args": ["/path/to/planner-mcp/build/index.js"]
}
}
}
Note: Replace
/path/to/planner-mcp/build/index.jswith the actual path to your cloned repository.
Available Tools
Authentication Tools
auth_start: Start the Planner authentication flow (device code)auth_poll: Check if authentication is complete
Plan Tools
list_plans: List all Microsoft Planner plans for the current userget_plan: Get detailed information about a specific plan
Bucket Tools
list_buckets: List all buckets in a plancreate_bucket: Create a new bucket in a plan
Task Tools
list_tasks: List tasks in a plan or bucket with filtering options (priority, due date, status, etc.)get_task: Get detailed information about a specific taskcreate_task: Create a new task in a bucket with title, description, priority, and due dateupdate_task: Update an existing task (title, description, priority, bucket, due date, etc.)delete_task: Delete a task
Priority Levels:
1= Urgent (highest priority)3= Important (high priority)5= Medium (normal priority)9= Low (lowest priority)
Required Permissions
The Microsoft Graph API requires the following permissions for Planner:
Group.Read.All- To list plans and bucketsTasks.ReadWrite- To read, create, update, and delete tasks
Example Workflows
Create a new task
- List plans:
list_plans - List buckets in a plan:
list_bucketswith the plan ID - Create a task:
create_taskwith plan ID, bucket ID, title, and priority (1=urgent, 3=important, 5=medium, 9=low)
Example:
{
"planId": "your-plan-id",
"bucketId": "your-bucket-id",
"title": "Complete project proposal",
"description": "Write and submit the Q1 project proposal",
"priority": 1,
"dueDateTime": "2026-03-30T17:00:00Z"
}
Move a task to another bucket
- Get task details:
get_task - Update task:
update_taskwith the new bucket ID
Filter tasks by priority
- List tasks with priority filter:
list_taskswith plan ID and priority parameter
Example:
{
"planId": "your-plan-id",
"priority": 1
}
This will show only urgent tasks (priority 1).
Update task due date
- Get task details:
get_task - Update task:
update_taskwith the new due date in ISO 8601 format (e.g., "2025-12-31T23:59:59Z")
Troubleshooting
Authentication Issues
If authentication fails, try these steps:
- Delete the
.access-token.txtfile - Call
auth_startagain - Make sure you're using a Microsoft account that has access to Planner
"Not authenticated" Error
If you get a "Not authenticated" error:
- Make sure you've completed the authentication flow
- Check that the
.access-token.txtfile exists and contains a valid token - If the token has expired, run
auth_startagain
Permission Errors
If you get permission errors:
- Make sure your Microsoft account has access to the specified plan
- Check that the required permissions are granted in your Azure AD app
Development
Build
npm run build
Watch mode
npm run watch
Start server
npm start
License
ISC
Contributing
Contributions are welcome! Please feel free to submit issues or pull requests.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。