# Claude Code plugin

Install read-only governance skills and follow the separate Edge enforcement setup.

Updated: 2026-09-22

Canonical: https://docs.kastra.ai/mcp/claude-plugin

## Install from the Kastra marketplace

In Claude Code:

```text
/plugin marketplace add kastra-labs/claude-plugin
/plugin install kastra@kastra
```

The repository marketplace is the documented installation path. A listing in a vendor directory is a separate distribution status.

## Authorize governance inspection

The first account tool opens an OAuth browser flow for `https://api.kastra.ai/mcp/account`. Select the intended workspace and scope. The plugin provides these governance skills:

| Skill | Purpose |
| --- | --- |
| `/kastra:governance-status` | Activity and governance overview |
| `/kastra:policy-check` | Inspect policy and rule activity |
| `/kastra:decision-audit` | Find and explain recorded decisions |
| `/kastra:verify-audit` | Request decision-chain verification |

The onboarding tools start a user-completed signup handoff; the current offer is a Pro trial.

## Add enforcement separately

`/kastra:edge-install` guides the local setup. The plugin's account tools are read-only: they do not block a coding-agent tool call by themselves. Follow [Claude Code hooks](https://docs.kastra.ai/edge/claude-code) and verify the result.

The hosted plugin retains the server name `kastra`. New local inspection setup uses `kastra-edge`, so both can coexist. Existing local entries may be migrated by the installer; review any host tool-permission changes. Neither inspection connection replaces the enforcement hook.
