p6xer MCP Server
An MCP server for Primavera P6 XER files.
p6xer MCP Server scores 55 (Fair), licensed MIT and written in Python. It installs as a local process. It declares 2 tools. Filed under File systems. GitHub shows 13 stars. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Fair trust
55 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Where the 55 comes from
22 + 5 + 4 + 10 + 4 + 10 = 55. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 5 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 4 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "osama-ata-p6xer-mcp-server": { "command": "uvx", "args": [ "p6xer-mcp-server" ], "env": { "P6XER_API_KEY": "YOUR_P6XER_API_KEY", "P6XER_ENDPOINT": "", "P6XER_LOG_LEVEL": "" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
P6XER_API_KEYSecret | Optional | API key used to authenticate with p6xer service. |
P6XER_ENDPOINT | Optional | Optional p6xer endpoint URL (default uses local p6xer daemon). |
P6XER_LOG_LEVEL | Optional | Optional log verbosity level (e.g., DEBUG, INFO, WARN, ERROR). |
Tools2Tool docs quality grade C
All capabilitiesproject_idtoolnumeric P6 project ID (e.g. "1234")
project short name string (e.g. "PROJ1")
About
P6XER MCP Server
mcp-name: io.github.osama-ata/p6xer-mcp-server
A full-featured Model Context Protocol (MCP) server for Primavera P6 XER files, built on PyP6XER.
Exposes 13 Tools, 3 Resources, and 2 Prompts so any MCP-compatible AI client (Claude Desktop, Claude Code, Cursor, etc.) can interactively parse, query, and analyze .xer schedule files.
π Features
π§ Tools (13)
| Tool | Description |
|---|---|
parse_xer_file | Parse an XER file β project list, totals, status breakdowns |
get_project_activities | Activities with filters: project_id, project_short_name, status, task_type |
get_critical_path | Critical path activities (float β€ 0), sorted by early start |
analyze_resource_utilization | Planned/actual hours & costs per resource; over-allocation flags |
check_schedule_quality | DCMA-style check: missing logic, long durations, high float, unresourced tasks |
get_resources | List resources, optionally filtered by type |
get_resource_assignments | Resourceβactivity assignments with enriched names and costs |
get_wbs | Work Breakdown Structure hierarchy |
get_relationships | Predecessor/successor relationships enriched with task codes |
get_calendars | Calendar definitions with hours-per-period data |
get_schedule_summary | At-a-glance stats: counts, date range, critical count |
get_earned_value | EVM: PV, EV, AC, CV, SV, CPI, SPI, EAC per project |
get_activity_detail | Full detail for one activity (preds + succs + resources) |
π Resources (3)
| URI | Description |
|---|---|
xer-project://{file_path}/{project_id} | Detailed text summary of a specific project |
xer-activities://{file_path} | Activities summary with status breakdown and duration stats |
xer-resources://{file_path} | Resources summary with type breakdown and assignment stats |
π¬ Prompts (2)
| Prompt | Types |
|---|---|
analyze_xer_project | general Β· schedule Β· resources Β· progress Β· quality |
xer_reporting_prompt | executive Β· detailed Β· critical_path Β· resource Β· milestone |
οΏ½ Install from Store
Via PyPI (uvx β no install needed)
uvx p6xer-mcp-server
Via PyPI (pip)
pip install p6xer-mcp-server
p6xer-mcp-server
Via Smithery
Search for p6xer-mcp-server on smithery.ai and click Install.
It will generate the correct Claude Desktop config automatically.
Via GitHub MCP Registry
The server is listed in the GitHub MCP Registry. In Claude Code:
claude mcp add p6xer -- uvx p6xer-mcp-server
Claude Desktop config (after PyPI install)
{
"mcpServers": {
"p6xer": {
"command": "uvx",
"args": ["p6xer-mcp-server"]
}
}
}
οΏ½π¦ Installation
# Clone the repo
git clone https://github.com/osama-ata/p6xer-mcp-server.git
cd p6xer-mcp-server
# Install with uv (recommended)
uv sync
# Or with pip
pip install "mcp[cli]>=1.6.0,<2.0.0" pyp6xer
π Running
Development / MCP Inspector:
uv run mcp dev src/p6xer_mcp_server/server.py
Stdio (Claude Desktop / Claude Code):
uv run p6xer-mcp-server
π Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"p6xer": {
"command": "uvx",
"args": ["p6xer-mcp-server"]
}
}
}
Config file locations:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json - Linux:
~/.config/Claude/claude_desktop_config.json
π Claude Code (CLI)
claude mcp add p6xer -- uvx p6xer-mcp-server
π¬ Example Prompts
Once connected:
Parse project.xer and give me an overview of all projects
What are all the critical path activities, sorted by start date?
Run a DCMA schedule quality check on project.xer
Calculate earned value metrics β what are the CPI and SPI?
Show all resource assignments for "John Smith"
What are the predecessors and successors of activity A1000?
List all over-allocated labor resources
Generate an executive summary report for project.xer
π Tool Reference
Filter parameters (most tools accept)
project_idβ numeric P6 project ID (e.g."1234")project_short_nameβ project short name string (e.g."PROJ1")
Status codes
TK_NotStart Β· TK_Active Β· TK_Complete
Task types
TT_Task Β· TT_Mile Β· TT_FinMile Β· TT_WBS
Resource types
RT_Labor Β· RT_Mat Β· RT_Equip
ποΈ Project Structure
p6xer-mcp-server/
βββ src/
β βββ p6xer_mcp_server/
β βββ __init__.py
β βββ server.py # All tools, resources, and prompts
βββ manifest.json # MCPB bundle manifest
βββ mcp.json # MCP registry metadata
βββ smithery.yaml # Smithery registry configuration
βββ pyproject.toml
βββ README.md
π Requirements
- Python β₯ 3.10
mcp[cli] >= 1.6.0, < 2.0.0pyp6xer >= 1.16.0
π License
MIT
π’ Publishing to PyPI (GitHub Actions + Trusted Publishing)
This repository includes a release workflow at .github/workflows/publish-to-pypi.yml based on the PyPA guide and pypa/gh-action-pypi-publish.
1) Configure Trusted Publishers
Create trusted publishers for this exact workflow file:
- PyPI: https://pypi.org/manage/account/publishing/
- TestPyPI: https://test.pypi.org/manage/account/publishing/
Use these values:
- Owner:
osama-ata - Repository:
p6xer-mcp-server - Workflow file:
publish-to-pypi.yml - Environment:
pypi(for PyPI),testpypi(for TestPyPI) - Project name:
p6xer-mcp-server
2) Create GitHub Environments
In repository settings, create two environments:
pypitestpypi
Recommended security setup:
- Require manual approval for
pypi - No approval required for
testpypi
3) Build locally (optional sanity check)
python -m pip install --upgrade build twine
python -m build
python -m twine check dist/*
4) Release flow
- Push to
main: publishes to TestPyPI - Push tag
v*(for examplev0.1.1): publishes to PyPI
git tag v0.1.1
git push origin v0.1.1
Frequently asked questions
What is p6xer MCP Server?
An MCP server for Primavera P6 XER files.
How do I install p6xer MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. p6xer MCP Server runs locally from the PyPI package p6xer-mcp-server with the command uvx p6xer-mcp-server.
Is p6xer MCP Server free and open source?
Yes. p6xer MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does p6xer MCP Server support remote (HTTP) connections?
No remote endpoint is listed for p6xer MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does p6xer MCP Server provide?
p6xer MCP Server provides 2 tools: project_id and project_short_name. See the full tool list for descriptions and parameters.
How is p6xer MCP Server's trust score calculated?
p6xer MCP Server scores 55 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yetβBe the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.