# Project Network Critical Path Calculator AI Agent Connect

> Project Network Critical Path Calculator MCP gives your AI client professional-grade Critical Path Method (CPM) analysis. It calculates start and finish times, identifies the critical path, and spots parallel task opportunities. You can check for logical errors in your task network or generate float reports to see which tasks have flexibility and which are high-risk.

## Overview
- **Category:** project-management
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_sqQ3yG4Wsok9mU580yarqWcQw9LTjakQig7d6rgt/ai-agent-connect
- **Tags:** cpm, critical-path, scheduling, project-management, network-analysis

## Description

You can stop manually calculating task dependencies and float. This MCP gives your agent the ability to perform full Critical Path Method (CPM) analysis on any task network you provide. Instead of guessing which tasks will delay your entire project, your AI client can pinpoint the exact sequence of critical tasks that dictate your timeline. 

It handles the heavy lifting of scheduling math. You can verify that your task network is logically sound before running any calculations to avoid errors caused by circular dependencies. Once the network is validated, your agent can identify which tasks have wiggle room and which have zero float, meaning any delay there hits your deadline immediately. It also finds opportunities to run tasks in parallel, helping you squeeze more efficiency out of your available resources. It turns a messy list of tasks into a mathematically sound project schedule.

## Tools

### calculate_critical_path
This tool performs the core CPM analysis to find your project's total duration and the specific sequence of critical tasks.

### find_parallel_opportunities
This tool identifies groups of tasks that can run at the same time to help you optimize how you use resources.

### get_task_float_report
This tool generates a report showing which tasks have flexibility and which are high-risk with zero float.

### validate_network_integrity
This tool checks your task network for logical errors or circular dependencies before you start your analysis.

## Prompt Examples

**Prompt:** 
```
Calculate the critical path for these tasks: [{'id': 'A', 'duration': 5, 'predecessors': []}, {'id': 'B', 'duration': 3, 'predecessors': ['A']}, {'id': 'C', 'duration': 4, 'predecessors': ['A']}, {'id': 'D', 'duration': 2, 'predecessors': ['B', 'C']}]
```

**Response:** 
```
The total project duration is 11 units. The critical path is A -> C -> D.
```

**Prompt:** 
```
Check if this task network has any errors: [{'id': 'A', 'duration': 2, 'predecessors': ['B']}, {'id': 'B', 'duration': 3, 'predecessors': ['A']}]
```

**Response:** 
```
The network is invalid due to a circular dependency between task A and task B.
```

**Prompt:** 
```
Which tasks in this set have zero float? Task metrics: [{'id': 'A', 'es': 0, 'ef': 5, 'ls': 0, 'lf': 5, 'float': 0}, {'id': 'B', 'es': 5, 'ef': 8, 'ls': 6, 'lf': 9, 'float': 1}]
```

**Response:** 
```
Task A is a critical task with zero float.
```

## Capabilities

### CPM Analysis
Your agent uses this to determine the total project duration and the critical task sequence.

### Network Validation
Your agent checks your task list for logical errors like circular dependencies before processing.

### Float Identification
Your agent identifies which tasks have flexibility and which are high-risk.

### Parallel Tasking
Your agent finds tasks that can be performed simultaneously to optimize your resources.

## Use Cases

### Project Timeline Audits
Run a float report on an existing schedule to see where you have breathing room.

### Resource Optimization
Use parallel opportunity detection to move resources from flexible tasks to critical ones.

### Error Checking
Validate a new project plan to ensure there are no circular dependencies in the task logic.

### Deadline Forecasting
Calculate the critical path to determine the earliest possible completion date for a project.

## Benefits

- Eliminates manual CPM math errors.
- Identifies high-risk tasks with zero float immediately.
- Finds ways to run tasks in parallel to save time.
- Validates task logic to prevent scheduling errors.

## How It Works

Connect the MCP to your AI client and start analyzing task lists immediately.

1. Connect the MCP to Claude, Cursor, or Windsurf via Vinkius.
2. Provide your task list including durations and predecessors to your AI client.
3. Ask your agent to validate the network or calculate the critical path.
4. Review the resulting duration, float reports, or parallel tasking opportunities.

## Frequently Asked Questions

**What is CPM analysis?**
Critical Path Method (CPM) is a scheduling technique used to identify the longest sequence of tasks in a project, which determines the shortest possible completion time.

**How do I use this with Claude or Cursor?**
You connect the MCP through the Vinkius platform. Once connected, your AI client can directly call the tools to process your project data.

**Can this MCP find errors in my project plan?**
Yes. The validate_network_integrity tool checks for logical errors like circular dependencies before you run full calculations.

**What does task float mean?**
Float is the amount of time a task can be delayed without delaying the rest of the project. Tasks with zero float are on the critical path.

**Do I need to host this myself?**
No. Vinkius hosts and manages the MCP for you. You connect your client and start using the tools.

**How do I know if my project network is valid?**
You can use the `validate_network_integrity` tool to check for circular dependencies or missing task IDs in your network.

**What is a critical path?**
The critical path is the longest sequence of dependent tasks. Any delay in these tasks, which have zero float, will delay the entire project.

**Can I find tasks that can be done at the same time?**
Yes, use the `find_parallel_opportunities` tool to identify groups of tasks that can be executed in parallel to optimize your schedule.
