> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flow.engineer/llms.txt
> Use this file to discover all available pages before exploring further.

# Claude Code plugin

> Load your Flow tools and skills as a Claude Code plugin.

Use the Claude Code package to deliver your skills and MCP connection together. Claude Code runs
the conversation; your Flow server runs the tools.

## Generate and try it

**1. Generate the package**

From your Flow project, use a running server's URL:

```sh Terminal theme={null}
npx @flow-engineer/flow plugin --server https://agent.example.com/mcp --out plugins
npx @flow-engineer/flow check --plugin plugins
```

For local testing, use the URL printed by `npm run mcp` instead.

**2. Load the Claude package**

Run Claude Code from your project folder:

```sh Terminal theme={null}
claude --plugin-dir ./plugins/claude
```

Restart the session after regenerating the package.

**3. Try a workflow**

Ask a question covered by one of your skills. In the café starter, ask about an allergy.

**Check it worked:** the skill is available and the host calls the appropriate café tool.
The MCP connection should point to `/mcp/plugin`, not `/mcp`.

## What ships

```text plugins/claude/ theme={null}
.claude-plugin/plugin.json
.mcp.json
skills/
  <name>/SKILL.md
```

Skills come from the package, while `/mcp/plugin` serves only tools. For team distribution,
follow [Claude Code's plugin documentation](https://code.claude.com/docs/en/plugins-reference).
Flow generates the files; it does not publish a marketplace listing.

See the [plugin overview](https://docs.flow.engineer/plugins.md) for regeneration, authentication and custom endpoints.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.