Context Weaver
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Context WeaverShow me all overdue tasks"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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.
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
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/grxkun/context-weaver'
If you have feedback or need assistance with the MCP directory API, please join our Discord server