Skip to content

Ask the docs

Answers come only from these docs and are written by an AI model (Gemini), so check the linked pages. Your question is not kept. Do not include personal details or keys.

Ship your skills and MCP connection together in a native plugin package.

A plugin packages your skills and the connection to your MCP server. Flow generates Claude Code and portable Agent Plugins packages from the same agent/skills/ folder.

You need an MCP server, a URL the host can reach, and any skills in agent/skills/. The packages connect to your running server; generating them does not deploy it.

Write the plugin output

Run this in the agent’s folder, replacing the example URL with your server’s URL:

Terminal
npx @flow-engineer/flow plugin \
--server https://agent.example.com/mcp \
--out plugins

Add --name my-product to choose a plugin name instead of the package name.

Validate it

Terminal
npx @flow-engineer/flow check --plugin plugins

Check it worked: both package folders exist and the check reports no stale or unsupported skill references.

Load it in your host

Choose the package format your host supports and follow that host’s installation flow. Try a request that uses one of your skills and tools.

Check it worked: the host loads the skill once and calls a tool through /mcp/plugin. Directory publication, where available, has its own submission and review process.

plugins/claude/
.claude-plugin/
plugin.json
.mcp.json
skills/
<name>/SKILL.md

The MCP connection uses type: "http" and points to /mcp/plugin.

EndpointWhat it deliversUse it with
/mcpTools, skill descriptions and read_skillA standalone MCP connection
/mcp/pluginTools onlyA plugin that already ships the skill files

Both use the same tools, authentication and descriptor overrides. This gives the host one copy of each skill.

Change the plugin endpoint

Disable it with mcpServer({ ..., plugin: false }), or change it with plugin: { path: "/native" }. handle.plugin exposes its path and descriptors.

For a custom route, pass its URL ending in /plugin to the generator or update the generated MCP configuration. The server’s instructions override and extend handlers apply to both paths.

Regenerate after changing a skill or one of its assets. check --plugin compares content hashes, so checking out a file cannot make a stale package look current.

Format references: Agent Plugins 1.0.0, OpenAI plugin packaging, and Claude Code plugins. The generator’s formats were checked on 18 October 2026.