# Claude connector

Kata is an MCP server, so Claude can work in your Kata workspaces. Ask Claude in plain words, in claude.ai, Claude Desktop or Claude Code, and it reads your cells, writes a plan, checks it in Kata's own simulator, and saves it as a program. You send it to Seventh Axis for approval.

**Claude can't approve a program or move a robot.** A program Claude saves waits in Kata like any other, and only a program Seventh Axis has approved, started by your team and confirmed at the bridge PC, ever reaches an arm.

## What Claude can do

- See your workspaces, cells and saved programs.
- Learn Kata's step language.
- Plan programs and simulate them, fixing what the simulator reports until they're clean.
- Show you the URScript a clean plan would export.
- Save programs for you to send for approval.

## Before you start

- A Kata account on the access list, in a workspace. Saving programs needs the owner or operator role.
- A Claude plan that supports custom connectors.

## Connect it

The connector's address is:

```
https://kata-seventh-axis.vercel.app/mcp
```

### claude.ai and Claude Desktop

1. Open **Settings → Connectors** and choose **Add custom connector**.
2. Name it *Kata* and paste the address above.
3. Choose **Connect**. You're sent to Kata to sign in.
4. Kata asks: *Connect Claude to Kata?* It shows the account Claude will act as and what it can do. Choose **Allow Claude**.

Connectors you add in claude.ai are available in Claude Desktop too.

### Claude Code

```
claude mcp add --transport http kata https://kata-seventh-axis.vercel.app/mcp
```

Then run `/mcp` in Claude Code and sign in to Kata when asked.

## Try it

- "List my Kata cells."
- "On the demo cell, stack the red boxes on pallet A, three high. Simulate it and show me the plan."
- "Tend the CNC on my bench cell for ten parts, at 250 mm/s. Save it when it's clean."
- "Why did my last program fail simulation? Fix it and save a new version."
- "Show me the URScript for that plan."

When Claude saves a program, open it in Kata and send it for approval. Approving and running work exactly as in [Approving and running](/docs/approving-and-running).

## Kata skills for Claude

The skills teach Claude how to work with Kata well. They're free and open, in [seventhaxisrobots/kata-skills](https://github.com/seventhaxisrobots/kata-skills).

| Skill | What Claude does with it |
| --- | --- |
| Program a cell | Reads the cell, writes the steps, simulates, fixes what the sandbox reports until the plan is clean, then saves it |
| Describe a cell | Turns a description, a photo or a drawing of a cell into the stations, parts and signals Kata needs, so you can set up or change your own cell |
| Review URScript | Explains an exported URScript program line by line and points out anything to check before you send it for approval |
| Troubleshoot | Works through a failed simulation, a refused approval or a bridge that can't reach the robot, using these docs |

In Claude Code, the plugin installs the skills and the connector together:

```
/plugin marketplace add seventhaxisrobots/kata-skills
/plugin install kata@seventh-axis
```

In claude.ai and Claude Desktop, download a skill's `.zip` from the repository's releases and add it under **Settings → Capabilities → Skills**.

## Tools

| Tool | What it does | Changes anything |
| --- | --- | --- |
| `list_cells` | Your cells (id, name, arm, safeguarding), plus the built-in `demo` and `bench` cells | No |
| `describe_cell` | A cell as the planner sees it: arm, reach, payload, gripper, stations, parts, signals, waypoints, safeguarding | No |
| `planning_guide` | The [step language](/docs/step-language) and the planner's rules | No |
| `simulate_plan` | Validates and simulates a plan: clean or not, each problem with its step, cycle time, notes | No |
| `export_urscript` | The URScript for a plan that simulates cleanly, for review | No |
| `save_program` | Saves a plan as a program, ready to send for approval. Kata simulates it again and writes the script itself | Saves a program |
| `list_programs` | Saved programs, newest first, optionally for one cell | No |
| `get_program` | One saved program: its steps, cycle time, problems and, if asked, its URScript | No |

A typical session: `list_cells` → `describe_cell` → `planning_guide` → `simulate_plan` until clean → `save_program`.

## Limits

- 120 calls per person every 10 minutes.
- Only programs for your own workspace cells can be saved, or for the built-in demo cell into one of your workspaces.
- A program with problems can be saved but never sent for approval.
- Claude can't change a cell's layout. Edit cells in Kata.

## Privacy and disconnecting

Claude acts as you, and sees only your workspaces. Sign-in uses your Kata account through OAuth; Claude never sees your password, and Kata accepts only tokens issued to an OAuth client, not your app session.

To disconnect, remove the connector in Claude's settings. Programs Claude saved stay in your workspace.

## If something goes wrong

| You see | What to do |
| --- | --- |
| *Sign in to Kata to use this connector* | Reconnect the connector and sign in again |
| *This link has expired* | Sign-in links work once and only for a few minutes. Start connecting again from Claude |
| *No cell … in your workspaces* | Ask Claude to list your cells; the id may be wrong, or the cell is in a workspace you're not in |
| *Only owners and operators of the workspace can save programs* | Ask a workspace owner to change your role |
| *Too many requests* | Wait a few minutes |
