p6-mcp
Primavera P6 MCP server for Claude, ChatGPT, Cursor and VS Code: critical path, DCMA 14-point check, what-if, and safe write-back to the P6 Professional database. Windows. Not affiliated with Oracle.
Install / Use
claude mcp add nizarhamza -- npx -y github:nizarhamza/p6-mcpIf the server publishes to npm under a different name, use that package instead — check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
AI & Machine LearningSupported Platforms
Our assessment of p6-mcp
p6-mcp scores 75/100 on our quality scale, 849th of 956 AI & Machine Learning skills we index.
Its MCP Server is 44 KB long, well organised into 26 sections with 6 code examples: long enough that it reads more like full documentation than a focused instruction file, which agents can find harder to follow.
It has 10 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated today, so p6-mcp is actively maintained.
- It is released under the Apache-2.0 license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 97/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands.
Automated pattern scan on 2026-11-28. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
p6-mcp compared with similar skills
All 4 of these similar skills score higher than p6-mcp; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| p6-mcp (this skill)by nizarhamza | 75 | 10 | today | MCP Server |
| claude-memby thedotmack | 100 | 120.2k | today | CLAUDE.md |
| Agent-Reachby Panniantong | 100 | 115.4k | 3d ago | CLAUDE.md |
| archifyby tt-a1i | 100 | 101.0k | today | CLAUDE.md |
| Understand-Anythingby Egonex-AI | 100 | 94.7k | 3d ago | CLAUDE.md |
Frequently asked questions
- How do I install p6-mcp?
- Run
claude mcp add nizarhamza -- npx -y github:nizarhamza/p6-mcp. The install tabs above show the steps for each supported agent. - Which AI agents does p6-mcp work with?
- It is written for Claude Code, Claude Desktop and Cursor, as a MCP Server file. Other agents that read the same format can often use it too.
- Is p6-mcp safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. It is Apache-2.0-licensed and scores 97/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is p6-mcp still maintained?
- The repository was last updated today, so p6-mcp is actively maintained.
Skill content
View source on GitHub
MCP for Primavera P6: Primavera P6 MCP Server
MCP for Primavera P6 is a local Model Context Protocol (MCP) server that connects Claude, ChatGPT, Cursor, VS Code and any other MCP client to your Oracle Primavera P6 Professional schedules on Windows. It reads the P6 database itself (P6 Professional standalone, SQLite), plain XER files, or projects of a live P6 EPPM server (on premises or Oracle Cloud), and answers scheduling questions with real computations: critical path and driving path, total float, the DCMA 14-point check, look-ahead, baseline and update comparison, CPM what-if and Monte Carlo schedule risk. Unlike XER-only MCP servers, it can also write changes back: to the P6 database (durations, logic, constraints, actuals, units and UDFs), or to the P6 EPPM server through a push you approve. Each change is previewed in a dry run, applied only after your confirmation, backed up first and recorded in an edit log.
MCP for Primavera P6 is an independent project. It is not affiliated with, endorsed or sponsored by Oracle. Oracle, Primavera and P6 are trademarks of Oracle and/or its affiliates.

Contents: What it does · Install · Connect your MCP client · Tools · Compared with XER-only servers · Safety · Privacy · P6 skills · FAQ · Troubleshooting
What it does
Ask your assistant "what drives the finish date?", "run a DCMA health check on the March update", "what changed since the last update?" or "what happens if procurement takes four more weeks?". The server computes the answer from the schedule; the model explains it. Dates and float come from P6's last schedule run (F9).
- Schedule analysis: projects and EPS, WBS roll-ups, activities filtered by status, float, dates, activity codes or UDFs, relationships with the project's lag calendar rule, critical path (total float or longest path), driving path, float paths, where an activity's float comes from, float distribution, look-ahead windows.
- Schedule quality: DCMA 14-point check with the project's own P6 thresholds, logic density and a weighted grade, comparison with earlier checks, out-of-sequence progress, dangling ends, redundant links.
- Comparisons, what-if and risk: two updates or a baseline compared activity by activity and link by link,
with slip causes and float erosion; an integrity review of an update against the previous one (questions to
raise, not proof); a CPM engine checked against P6's F9 (
p6_cpm_validatereports the match) for what-if scenarios and Monte Carlo risk, run in memory and never written. - Progress and reporting: S-curves and earned value at the data date, resource and cost summaries, groups by status, WBS or code, a one-page Excel dashboard with native charts and a printable Excel look-ahead with bars by day or week.
- XER files: inspect, import (new project, baseline, update), export, or analyse XER files alone in XER-only mode, without a P6 database or P6 installed.
- P6 EPPM server (3.0): pull projects and their baselines from a live P6 EPPM server into a local working copy (REST API, optional read-only SQL account), run every tool on it, edit locally, push the changes after a conflict check and your yes, and schedule on the server with P6's own scheduler.
- Edits (off by default): durations, constraints, actual dates, physical % complete, resource assignment units, activity UDF values, relationships, schedule options, EPS, deletes, backups and restore.
Install
MCP for Primavera P6 runs on Windows 10 or 11, next to P6 Professional. Nothing else to install: Python is bundled.
- Download
P6MCP-Setup-<version>.exefrom Releases and check it againstSHA256SUMS.txt(certutil -hashfile P6MCP-Setup-3.1.1.exe SHA256). - Run it. It installs for your Windows user only (no administrator rights) and, on its last page, offers to register the server with every MCP client it finds (Claude Desktop, Claude Code, Cursor, VS Code, LM Studio, Cline). Untick the ones you do not want.
- MCP for Primavera P6 Settings opens. Under Database, pick your P6 database (suggestions come from P6's own connection list), click Test connection (read only), then Use this database, and Save. The server never picks a database by itself: until you do this, every tool answers "No database configured".
- Restart your MCP client completely.
Release builds are not code signed yet: Windows SmartScreen may warn on first launch ("More info", "Run anyway").
Check the SHA-256 first. Other packages on the release page: a portable zip (no installation) and an
MCP bundle (.mcpb, server only) that Claude Desktop installs in one click; it is also the package listed in
the official MCP Registry as
io.github.nizarhamza/p6-mcp.
Connect your MCP client
The installer and Settings > MCP clients write the client configuration for you: they add (or repair, or
remove) only the p6mcp entry, after a timestamped backup, keeping every other entry, comment and the file's
formatting. The manual steps below are for reference. In every snippet, replace <you> with your Windows user
name (or copy the snippet from Settings > MCP clients > Other clients, which fills in the real path).
Claude Desktop
Either let the installer register it, or double-click the .mcpb bundle (Settings > Extensions shows it; pick
the database there), or edit %APPDATA%\Claude\claude_desktop_config.json:
{
"mcpServers": {
"p6mcp": {
"command": "C:\\Users\\<you>\\AppData\\Local\\Programs\\P6 MCP\\p6mcp-server.exe",
"args": []
}
}
}
Quit Claude Desktop completely (also from the notification area) and start it again. The P6 skills appear as prompts in the + menu.
Cursor
The installer registers it in %USERPROFILE%\.cursor\mcp.json, or add the same mcpServers entry as Claude
Desktop above to that file. Cursor lists the tools under Settings > MCP.
VS Code (GitHub Copilot agent mode)
The installer registers it in %APPDATA%\Code\User\mcp.json (VS Code Insiders: ...\Code - Insiders\User\mcp.json).
By hand, run MCP: Open User Configuration and add:
{
"servers": {
"p6mcp": {
"type": "stdio",
"command": "C:\\Users\\<you>\\AppData\\Local\\Programs\\P6 MCP\\p6mcp-server.exe",
"args": []
}
}
}
Then open Copilot Chat in Agent mode and pick the tools from the tools menu.
ChatGPT
- ChatGPT in the browser (3.2, beta, tested with the Free plan): turn on remote access and add its connector address as a custom MCP server. The same address works in claude.ai.
ChatGPT cannot start a program on your PC, so the other routes go through Codex or a tunnel of OpenAI. Neither is tested by the maintainer yet: please report how it goes in an issue.
-
Codex (in the ChatGPT desktop app, or the Codex CLI) starts local MCP servers from
%USERPROFILE%\.codex\config.toml:[mcp_servers.p6mcp] command = 'C:\Users\<you>\AppData\Local\Programs\P6 MCP\p6mcp-server.exe' args = [] -
ChatGPT chat reaches MCP servers over HTTPS only. OpenAI's Secure MCP Tunnel runs a small client on your PC that starts the server (stdio command above) and forwards ChatGPT's requests to it, without opening an inbound port; you then add a custom MCP server in ChatGPT with Tunnel as the connection. It needs an OpenAI platform API key and a ChatGPT plan or workspace that allows custom MCP servers. The tool results then pass through OpenAI's service, like any ChatGPT conversation.
Claude Code, LM Studio, Cline and other clients
The installer registers Claude Code (%USERPROFILE%\.claude.json), LM Studio (%USERPROFILE%\.lmstudio\mcp.json)
and Cline as well. For Claude Code by hand:
claude mcp add --scope user p6mcp -- "$env:LOCALAPPDATA\Programs\P6 MCP\p6mcp-server.exe"
Any other client that starts stdio servers takes the mcpServers snippet above. Clients that need HTTP can use
the local HTTP transport. From the command line (the installer uses the same commands):
& "$env:LOCALAPPDATA\Programs\P6 MCP\p6mcp-server.exe" clients list
& "$env:LOCALAPPDATA\Programs\P6 MCP\p6mcp-server.exe" clients register cursor

Tools
<!-- tools:start -->69 tools: 42 read-only (11 of them in the Basic profile), 4 that write a file, 22 write tools (off by default; a dry run, then your confirmation; a backup first) and 1 that changes the app's own settings. Generated from the code by tools/gen_docs.py.
Projects and structure
| Tool | What it does | Access | Basic |
|---|---|---|---|
| p6_list_projects | Projects with data date, start, finish, status, baseline and EPS; filter by EPS | Read | yes |
| p6_list_eps | EPS tree with depth, path and project counts | Read | |
| p6_project_summary | One-call overview: dates, activity counts, critical counts, % complete by units, physical and duration, baseline variance and SPI | Read | yes |
| p6_list_wbs | WBS tree in P6 order with roll-ups: activities, dates, float, units % and baseline planned % | Read | yes |
| p6_list_calendars | Calendars with work week, hours per day and holiday exceptions | Read | |
| p6_calendar_check | Checks the calendars a project uses: holidays one calendar works and another does not, years without holidays, stale hours per day or week, unreadable or missing calendars | Read | |
| p6_list_udfs | User defined fields (UDF columns) with how much each one is used | Read | |
| p6_schedule_options | Schedule options of a project, of an XER file, or both side by side | Read | |
Activities and relationships
| Tool | What it does | Access | Basic |
|---|---|---|---|
| p6_query_activities | Search activities by name, Activity ID, WBS, status, total float, dates, activity code or UDF, with chosen columns | Read | yes |
| p6_get_activity | Everything about one activity: dates, durations, float, constraints, logic, resources, codes, UDFs, notebooks | Read | yes |
| p6_get_relationships | Predecessors and successors of an activity, lags in hours and days | Read | yes |
| p6_lookahead | What starts, finishes or is in progress in the next weeks, critical work flagged | Read | yes |
| p6_milestones | Milestones against the baseline: variance in
Truncated for display — read the full file on GitHub.
Related Skills
claude-mem
120.2kPersistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Agent-Reach
115.4kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
archify
101.0kTurn any idea, plan, or codebase into an interactive diagram or one-page answer: 10 diagram types, Architecture Diagnosis, Story video and PR walkthroughs. An Agent Skill for Claude Code, Codex, Cursor and more.
Understand-Anything
94.7kGraphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
