API & MCP
Everything a person can do on Kinetica Collision-Free Path Planner, a program or AI agent can do with the same inputs and get the identical result.
HTTP API
POST https://kineticapathplanner.usefulweb.site/api/v1/calculate– run Kinetica Collision-Free Path PlannerGET https://kineticapathplanner.usefulweb.site/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
Kinetica Collision-Free Path Planner
Plans a collision-free motion for a serial robot between two configurations (or to a TCP pose through IK) around box, sphere, capsule and cylinder obstacles and the robot itself. A seeded RRT-Connect search in joint space finds a path, shortcut smoothing removes detours, corners are rounded within a deviation bound, and a time-optimal parameterisation keeps every joint inside its velocity and acceleration limits. Returns the via points, the timed trajectory, CSV/JSON exports, clearance and singularity warnings — or says honestly that no path was found.
| Field | Type | Default | Description |
|---|---|---|---|
robot | select (kx6-1400, ur5-like, puma560, scara-550, gantry-xyz, planar2, custom-dh, urdf, json) | "kx6-1400" | Robot. A library robot, or choose a custom DH table, URDF or Kinetica robot JSON. |
convention | select (dh, mdh) | "dh" | DH convention (custom table) |
dh | table | — | DH table (custom). One row per joint. Lengths in mm, angles in degrees. For revolute joints θ is the zero offset, for prismatic joints d is. |
robotText | textarea | — | URDF or robot JSON. Used when Robot is “URDF” or “Kinetica robot JSON”. URDF subset: links with box/cylinder/sphere, revolute/continuous/prismatic/fixed joints. |
tool | text | — | Tool offset (TCP). x, y, z (mm), roll, pitch, yaw (deg) in the flange frame, e.g. “0, 0, 150, 0, 0, 0”. Empty = robot default. |
projectJson | textarea | — | Kinetica project JSON (optional). A complete .kinetica.json project; its robot and obstacles are used instead of the robot fields (table obstacles are added). An empty start uses the project’s current pose. |
start | text | — | Start joints. Comma-separated joint values (deg / mm). Empty = home pose. |
goal (required) | text | — | Goal. Joint values (“j: 60, 30, 20, 0, 40, 0” or just the numbers) or a TCP pose “p: x, y, z, roll, pitch, yaw” (mm, deg) solved by IK. |
obstacles | table | — | Obstacles. Box: centre x, y, z and size sx, sy, sz. Sphere: centre and r. Capsule or cylinder: start x, y, z, end x2, y2, z2 (in the size columns) and r. All in mm, world frame. |
margin | number | 5 | Safety margin |
self | boolean | true | Avoid self-collision |
velocity | number | 100 | Velocity limit. Share of every joint’s velocity limit. |
acceleration | number | 100 | Acceleration limit. Share of every joint’s acceleration limit. |
deviation | number | 3 | Corner blend deviation. Largest deviation of the rounded corners from the checked path, in % of the joint ranges. 0 = stop at every via point. |
seed | integer | 1 | Random seed |
maxIterations | integer | 3000 | Max iterations |
outputDt | number | 0.05 | Output sample period |
Example request
6-axis arm swings around a wall in front of it
curl -X POST https://kineticapathplanner.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"robot":"kx6-1400","start":"-60, 30, 20, 0, 40, 0","goal":"j: 60, 30, 20, 0, 40, 0","obstacles":[{"name":"Wall","shape":"box","x":800,"y":0,"z":600,"sx":400,"sy":200,"sz":1200}],"margin":5}'
Every result contains
inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.
MCP (Model Context Protocol)
- Streamable HTTP endpoint:
https://kineticapathplanner.usefulweb.site/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
kinetica_path_planner - Local stdio connector:
node src/mcp-stdio.ts --tool=kinetica-path-planner
{
"mcpServers": {
"kinetica-path-planner": { "type": "http", "url": "https://kineticapathplanner.usefulweb.site/mcp" }
}
}