Context Weaver
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Context Weaver
An MCP server that gives LLMs read-only access to Microsoft Project Online (Project for the Web) via the Microsoft Graph API.
Built on the Model Context Protocol — works with Claude Desktop, Claude Code, and any MCP-compatible client.
What It Does
Context Weaver exposes 7 read-only tools that let an LLM query your Microsoft Project data:
Tool | Description |
| Connect your Microsoft 365 account (OAuth 2.0 + PKCE) |
| List all plans you have access to |
| Get project details, buckets, and task count |
| List tasks with filters (bucket, assignee, status) |
| Full task detail including description and checklist |
| List project phases/columns |
| Your tasks across all projects |
| Find overdue incomplete tasks |
v0 is read-only by design. No task mutations, no accidental side effects.
Related MCP server: m365-mcp-server
Prerequisites
Node.js ≥ 20
Microsoft 365 account with Project for the Web (Planner-based)
Azure AD app registration (see Setup below)
Setup
1. Register an Azure AD App
Click New registration
Name:
Context WeaverSupported account types: Single tenant (or multi-tenant if needed)
Redirect URI: Web →
http://localhost:3847/auth/callback
Under Authentication, enable Allow public client flows
Under API permissions, add:
Tasks.Read(Delegated)Tasks.Read.Shared(Delegated)Group.Read.All(Delegated)User.Read(Delegated)
Copy the Application (client) ID and Directory (tenant) ID
2. Configure Environment
cp .env.example .envEdit .env:
AZURE_CLIENT_ID=your-client-id
AZURE_TENANT_ID=your-tenant-id3. Install & Build
npm install
npm run buildUsage
With Claude Desktop
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"context-weaver": {
"command": "node",
"args": ["/absolute/path/to/context-weaver/dist/index.js"],
"env": {
"AZURE_CLIENT_ID": "your-client-id",
"AZURE_TENANT_ID": "your-tenant-id"
}
}
}
}With Claude Code
claude mcp add context-weaver node /absolute/path/to/context-weaver/dist/index.jsDevelopment
npm run devExample Prompts
Once connected, try:
"What projects do I have access to?"
"Show me all overdue tasks"
"List the tasks in the Design phase of Project X"
"What's assigned to me this week?"
"Get the full details and checklist for task ABC123"
Architecture
LLM Client ◄──── MCP (stdio) ────► Context Weaver ──── Graph API ────► Project Online
(TypeScript) (OAuth 2.0) (Planner)Project Structure
src/
├── index.ts # MCP server entry, tool registration
├── auth/
│ ├── oauth.ts # PKCE auth flow
│ └── session.ts # In-memory token store
├── graph/
│ ├── client.ts # Graph API HTTP client w/ retry
│ ├── projects.ts # Plan/bucket queries
│ ├── tasks.ts # Task queries
│ └── users.ts # User name resolution + cache
├── tools/
│ ├── list-projects.ts
│ ├── get-project.ts
│ ├── list-tasks.ts
│ ├── get-task.ts
│ ├── list-buckets.ts
│ ├── get-assignments.ts
│ └── check-overdue.ts
└── utils/
├── errors.ts # Error mapping + priority labels
└── types.ts # Shared TypeScript interfacesDesign Decisions
Project for the Web (Planner-based), not classic Project Online (PWA/OData). Planner has better Graph API coverage and is Microsoft's forward-looking product.
Per-user delegated auth — the server never holds elevated service account privileges.
Read-only in v0 — write operations planned for v1 with human-in-the-loop confirmation.
Three dependencies —
@modelcontextprotocol/sdk,@azure/msal-node,zod. Graph calls use nativefetch.
Roadmap
v0.1 — Read-only MVP (this release)
v0.2 — Write operations (create/update tasks) with confirmation prompts
v0.3 — Dependency tracking (Dataverse or local graph)
v0.4 — Slack connector (search decisions, summarize threads)
v0.5 — GitHub connector (PR status, issue sync)
v1.0 — Self-correcting agent loop (schedule validation)
Known Limitations
Planner doesn't support task dependencies natively. Dependency tracking requires Dataverse direct access or a local graph — planned for v0.3.
get_assignmentsonly works for the authenticated user. Fetching another user's assignments requires iterating all plans they're members of.Tokens are in-memory only. You'll need to re-authenticate each session. Persistent encrypted storage planned for v0.2.
Contributing
PRs welcome. Please open an issue first for anything beyond a typo fix.
License
MIT
Related MCP Connectors
MCP server for generating rough-draft project plans from natural-language prompts.
An MCP server that provides an API to LLMs to manage their JumpCloud resources.
Read-only MCP server exposing a user ORANO library to their own AI agent.
Official Microsoft MCP Server to query Microsoft Entra data using natural language
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceThis read-only MCP Server allows you to connect to Microsoft Project data from Claude Desktop through CData JDBC Drivers. For full CRUD support, check out the first managed MCP platform: CData Connect AI (https://www.cdata.com/ai/).8MIT
- AlicenseNot gradedqualityCmaintenanceA production-ready MCP server that provides secure, delegated access to Microsoft 365 services including Email, SharePoint, OneDrive, and Calendar. It enables AI models to search messages, browse files, manage calendar events, and parse document contents using OAuth 2.1 authentication.MIT
- AlicenseAqualityBmaintenanceMCP server for Microsoft 365 via the Microsoft Graph API, providing read-only access to profile, calendar, email, Teams chats, OneDrive files, and meeting transcripts from any MCP client.1614 npm3MIT
- AlicenseNot gradedqualityCmaintenanceMCP server that enables LLMs to read and analyze Microsoft Project schedules, including critical path, resources, and advanced construction planning layers (AWP and LPS) for work packages and Lean planning.MIT