API & MCP
Everything a person can do on Kinetica Trajectory Planner, a program or AI agent can do with the same inputs and get the identical result.
HTTP API
POST https://kineticatrajectoryplanner.usefulweb.site/api/v1/calculate– run Kinetica Trajectory PlannerGET https://kineticatrajectoryplanner.usefulweb.site/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
Kinetica Trajectory Planner
Plans a robot motion program from waypoints: synchronous joint moves (PTP), straight TCP lines (LIN) and circular arcs (CIRC) with trapezoidal, quintic or jerk-limited S-curve profiles that respect the joint velocity and acceleration limits, blend radii and dwell times. Returns the cycle time, per-segment timing, peak joint velocities and accelerations, a sampled joint/TCP trajectory and a CSV.
| 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. |
waypoints | table | — | Waypoints. Row 1 is the start. Target “j: 0, -90, 90, 0, 0, 0” (joints) or “p: x, y, z, roll, pitch, yaw” (TCP pose, mm/deg). PTP speed/accel in % of the joint limits; LIN/CIRC in mm/s and mm/s². CIRC needs a via point “x, y, z”. |
projectJson | textarea | — | Kinetica project JSON (optional). A complete .kinetica.json project; when given, its robot, work objects and program are used instead of the fields above. |
profile | select (trapezoid, quintic, scurve) | "trapezoid" | Velocity profile |
override | number | 100 | Speed override |
outputDt | number | 0.05 | Output sample period |
Example request
6-axis arm: two PTP moves and a LIN line
curl -X POST https://kineticatrajectoryplanner.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"robot":"kx6-1400","profile":"trapezoid","waypoints":[{"name":"Home","type":"PTP","target":"j: 0, 0, 0, 0, 90, 0"},{"name":"Above","type":"PTP","target":"p: 800, -200, 700, 180, 0, 0","vel":80,"acc":80,"blend":30},{"name":"Line","type":"LIN","target":"p: 800, 200, 700, 180, 0, 0","vel":250,"acc":1500},{"name":"Home","type":"PTP","target":"j: 0, 0, 0, 0, 90, 0","vel":100,"acc":100}]}'
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://kineticatrajectoryplanner.usefulweb.site/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
kinetica_trajectory_planner - Local stdio connector:
node src/mcp-stdio.ts --tool=kinetica-trajectory-planner
{
"mcpServers": {
"kinetica-trajectory-planner": { "type": "http", "url": "https://kineticatrajectoryplanner.usefulweb.site/mcp" }
}
}