Skip to main content
Glama
osama-ata

P6XER MCP Server

by osama-ata

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
parse_xer_fileA
Parse a Primavera P6 XER file and return basic project information:
project list with status breakdowns, total activities, resources, calendars,
WBS elements, and relationships.
get_project_activitiesA
Get activities from an XER file.

Filter options:
- project_id: numeric P6 project ID
- project_short_name: project short name string
- status: TK_NotStart | TK_Active | TK_Complete
- task_type: TT_Task | TT_Mile | TT_FinMile | TT_WBS
- limit: max rows returned (default 100)
get_critical_pathA
Find critical path activities (total float <= 0, incomplete only).
Results are sorted by early start date ascending.
Accepts either project_id (numeric) or project_short_name as a filter.
analyze_resource_utilizationA
Summarize resource utilization: planned/actual hours and costs per resource.
Labor resources (RT_Labor) are flagged as over_allocated if planned hours
exceed max_hours_per_year (default 2080 = 40 hrs/week x 52 weeks).
Results are sorted by planned hours descending.
check_schedule_qualityA
DCMA-style schedule quality check on open/in-progress activities.

Identifies:
- Activities missing predecessors (excluding start milestones)
- Activities missing successors (excluding finish milestones)
- Long-duration activities (threshold: long_duration_days, default 20)
- High-float activities (threshold: high_float_days, default 44)
- TT_Task activities without any resource assignment
- Activities missing early start dates
get_resourcesA
List all resources in an XER file.
Optionally filter by type: RT_Labor | RT_Mat | RT_Equip
get_resource_assignmentsB
Get resource-activity assignments, enriched with resource and activity names.
- rsrc_name: partial match on resource name (case-insensitive)
- task_code: exact match on activity task code
get_wbsC

Get the Work Breakdown Structure (WBS) hierarchy, optionally filtered by project.

get_relationshipsA
Get activity predecessor/successor relationships, enriched with task codes.
If task_code is supplied, returns only relationships where that activity
appears as the successor or as the predecessor.
get_calendarsB

List all calendar definitions in the XER file with hours-per-period data.

get_schedule_summaryC
Comprehensive schedule summary: activity counts by status, critical activity count,
milestone count, resource/calendar/WBS/relationship totals, and date range.
get_earned_valueC
Calculate Earned Value Management (EVM) metrics per project:
PV (Planned Value), EV (Earned Value), AC (Actual Cost),
CV (Cost Variance), SV (Schedule Variance), CPI, SPI, EAC.
get_activity_detailA
Get full detail for a single activity by its task_code (case-insensitive).
Returns all scheduling fields plus enriched predecessors, successors,
and resource assignments with names and costs.

Prompts

Interactive templates invoked by user choice

NameDescription
analyze_xer_project Generate an analysis prompt for a Primavera P6 XER project file. analysis_type options: - general – comprehensive overview (default) - schedule – critical path, milestones, timeline risks - resources – allocation, over-allocation, optimisation - progress – completion %, earned value, variances - quality – DCMA-style logic and schedule health
xer_reporting_prompt Generate a prompt for creating a professional project report from XER data. report_type options: - executive – high-level KPIs and risks for stakeholders (default) - detailed – full activity, resource, and schedule detail - critical_path – critical activities and risk mitigation - resource – utilisation, costs, and optimisation - milestone – milestone status and forecast dates

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/osama-ata/p6xer-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server