# Grasp Friction Cone Feasibility Calculator AI Agent Connect

> Grasp Friction Cone Feasibility Calculator lets your AI client perform complex robotic grasping analysis. It checks if contact forces can counteract external wrenches while staying inside Coulomb friction cones. You can validate contact geometry, calculate feasibility, and analyze equilibrium errors directly through your agent.

## Overview
- **Category:** mathematics
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_wGgS6O0UGzXZkNt5N2EgkBY7qjJgwYdjJh3Ozp3z/ai-agent-connect
- **Tags:** grasping, friction-cone, robotics-engineering, contact-mechanics, wrench-equilibrium

## Description

You can use this MCP to run precise robotic grasping simulations through your AI client. Instead of manually calculating force vectors, you hand the contact points and friction coefficients to your agent, which then determines if a grasp is physically possible. It handles the heavy lifting of checking if contact forces stay within the friction cone constraints and if they can successfully counteract an external wrench. 

If you are designing a gripper or a manipulation sequence, you can use it to ensure your contact arrangements are mathematically sound. It identifies if your contact positions are valid and provides a breakdown of force and torque errors when equilibrium isn't met. This turns your AI agent into a specialized tool for contact mechanics and wrench equilibrium analysis.

## Tools

### analyze_equilibrium_deviation
This tool calculates the specific errors in force and torque when a grasp fails to reach equilibrium.

### calculate_grasp_feasibility
This tool checks if contact forces can counteract an external wrench while respecting friction cone and normal force limits.

### get_cone_approximation_parameters
This tool provides the necessary facet normals and cone angles for polyhedral friction cone approximations.

### validate_contact_geometry
This tool confirms that contact positions and normals are mathematically valid for simulation.

## Prompt Examples

**Prompt:** 
```
Check if this grasp is feasible: positions [[0,0,0], [1,0,0]], normals [[0,0,1], [0,0,1]], friction 0.5, external wrench {"force": [0,0,-1], "torque": [0,0,0]}, force limits [10, 10].
```

**Response:** 
```
The grasp is feasible. The contact forces successfully counteract the external wrench while staying within the friction cones and normal force limits.
```

**Prompt:** 
```
Verify the contact geometry for positions [[0,0,0], [0,0,0]] and normals [[0,1,0], [0,1,0]].
```

**Response:** 
```
The geometry is invalid because the contact positions are identical.
```

**Prompt:** 
```
What are the approximation parameters for a friction coefficient of 0.6 and 12 facets?
```

**Response:** 
```
The polyhedral approximation for a friction coefficient of 0.6 with 12 facets results in a specific set of facet normals and a cone angle of approximately 31 degrees.
```

## Capabilities

### Feasibility Testing
Your agent checks if a grasp can hold an object against external forces.

### Geometry Validation
The MCP verifies that contact points and normals are physically possible.

### Error Analysis
Your agent identifies exactly where force and torque deviations occur.

### Cone Approximation
The tool generates parameters for polyhedral friction cone models.

### Constraint Checking
It ensures contact forces stay within Coulomb friction cone limits.

## Use Cases

### Grasp Stability Verification
Check if a specific set of contact points can hold an object against gravity or external disturbances.

### Gripper Design Validation
Test how different normal force limits affect the feasibility of a grasp.

### Contact Geometry Auditing
Ensure that contact positions and normals provided to a simulator are not mathematically invalid.

### Polyhedral Modeling
Get the specific parameters needed to approximate friction cones using facets.

## Benefits

- Automates the verification of Coulomb friction cone constraints.
- Identifies mathematical errors in contact geometry instantly.
- Provides detailed breakdowns of equilibrium deviations.
- Reduces manual calculation of force and torque errors.

## How It Works

Connect your client to Vinkius and start running grasp simulations through your agent.

1. Connect your MCP-compatible client to Vinkius.
2. Provide contact positions, normals, and friction coefficients to your agent.
3. Your agent calls the relevant tool to run the calculation.
4. The MCP returns feasibility results or error breakdowns.
5. Your agent interprets the data to suggest better grasp configurations.

## Frequently Asked Questions

**What can this MCP calculate?**
It calculates grasp feasibility, contact geometry validity, friction cone approximation parameters, and equilibrium deviations.

**Which clients can I use with this MCP?**
You can use it with any MCP-compatible client like Claude, Cursor, Windsurf, or VS Code.

**How does it handle friction constraints?**
It uses Coulomb friction cone constraints to determine if contact forces can counteract external wrenches.

**Can it detect invalid contact points?**
Yes, the validate_contact_geometry tool identifies if contact positions or normals are mathematically unsound.

**Do I need to host the MCP myself?**
No, Vinkius hosts and manages the MCP for you, so it is ready to use immediately after connection.

**What does the feasibility tool actually calculate?**
The `calculate_grasp_feasibility` tool checks if contact forces can balance an external wrench without slipping (staying within the friction cone) and without exceeding specified normal force limits.

**How is the friction cone approximated?**
The friction cone is approximated as a polyhedral cone using a specified number of linear facets, which can be adjusted via the `facetCount` parameter.

**Can this tool certify if a grasp is safe?**
No, this tool calculates physical feasibility based on provided constraints. It does not certify grasp safety for real-world deployment.
