# Reference Governor Feasibility Calculator AI Agent Connect

> Reference Governor Feasibility Calculator provides predictive control tools to maintain system stability. It calculates the largest admissible reference adjustments that respect state and input constraints, terminal conditions, and prediction horizons. You can use it to find safe setpoints, identify constraint bottlenecks, or run pure simulations through your AI client.

## Overview
- **Category:** engineering
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_2H4KTJRrNkTuBVBRBvfOjJtx2HnfLMOk88mBbqcY/ai-agent-connect
- **Tags:** predictive-control, optimization, stability, constraints, simulation

## Description

You can use this MCP to manage complex control problems where staying within safety boundaries is non-negotiable. It handles the heavy lifting of predictive control by calculating the largest possible reference adjustments that won't violate your system's physical or operational limits. Instead of guessing if a target is reachable, you can ask your agent to verify if a specific setpoint respects all state and input constraints. It works by evaluating prediction horizons and terminal conditions to ensure that every move the system makes keeps it on a path toward a safe, stable state. Whether you are checking for potential constraint violations or running a pure simulation to see how a system might behave under a specific reference, this MCP provides the mathematical certainty needed for high-stakes engineering tasks.

## Tools

### analyze_constraint_violation
This tool identifies exactly which constraints are blocking the system from hitting a requested reference. It pinpoints the specific bottlenecks in your operational boundaries.

### calculate_admissible_reference
This tool finds the largest possible adjustment to a requested reference that stays within all safety and operational limits. It gives you the maximum safe setpoint.

### predict_trajectory_only
This tool runs a pure simulation of the system following a specific reference. It shows you the expected path without checking for safety or feasibility.

### validate_terminal_feasibility
This tool checks if reaching a safe state at the end of a prediction horizon is actually possible from your current position. It verifies reachability.

## Prompt Examples

**Prompt:** 
```
What is the largest safe reference I can use given my current state and constraints?
```

**Response:** 
```
The largest admissible reference is 85.0, which ensures all state constraints are respected.
```

**Prompt:** 
```
Which constraint is preventing me from reaching a target of 100?
```

**Response:** 
```
The bottleneck constraint is the maximum valve opening limit in the input constraints.
```

**Prompt:** 
```
Is it possible to reach the required terminal state from here?
```

**Response:** 
```
Yes, the terminal condition is reachable within the specified horizon.
```

## Capabilities

### Safe Setpoint Calculation
Your agent calculates the maximum allowable reference adjustments that respect all system boundaries.

### Constraint Bottleneck Identification
The MCP finds the specific state or input limits preventing a target from being reached.

### Trajectory Simulation
Your AI client can project system behavior along a specific reference path.

### Reachability Verification
The tool confirms if a system can successfully reach a safe terminal state within a set horizon.

### Stability Assurance
It uses predictive control logic to ensure all planned movements respect stability requirements.

## Use Cases

### Constraint Management
Determine the largest safe reference adjustment when a system is approaching its operational limits.

### Feasibility Testing
Check if a desired target state can actually be reached from the current system position.

### System Simulation
Run a trajectory prediction to see how a system responds to a specific reference without safety checks.

### Bottleneck Analysis
Find out which specific input or state constraint is stopping a system from reaching a target.

## Benefits

- Calculates maximum safe setpoints based on real-time constraints.
- Identifies specific bottlenecks preventing target achievement.
- Verifies if terminal states are reachable within a given horizon.
- Provides pure trajectory simulations for system behavior testing.

## How It Works

Connect your AI client to Vinkius to access these predictive control tools instantly.

1. Connect your preferred MCP-compatible client to the Vinkius platform.
2. Provide your current system state and constraints to your agent.
3. Ask your agent to calculate safe references or analyze constraints.
4. Receive precise mathematical results directly in your chat interface.

## Frequently Asked Questions

**How does this MCP ensure system safety?**
It uses predictive control logic to calculate reference adjustments that respect all defined state and input constraints.

**Can I use this to find out why a target is unreachable?**
Yes, you can use the tool to identify the specific constraints that are preventing the system from reaching a requested reference.

**What is the difference between simulation and feasibility checking?**
The simulation tool shows the predicted path without checking safety, while the feasibility tools verify if the path respects all constraints and terminal conditions.

**Which AI clients can use this MCP?**
You can use this with any MCP-compatible client, including Claude, Cursor, Windsurf, and VS Code.

**Does this MCP handle terminal conditions?**
Yes, it includes tools to validate if a terminal state is reachable within a specified prediction horizon.

**How do I find a safe target value?**
You can use the `calculate_admissible_reference` tool to determine the closest safe setpoint that respects all system boundaries.

**What happens if a constraint is violated?**
If a constraint is hit, you can use `analyze_constraint_violation` to identify exactly which state or input limit is causing the issue.

**Can I simulate a path without checking safety?**
Yes, the `predict_trajectory_only` tool allows you to see the predicted future states and inputs for a specific reference without constraint validation.
