Skip to main content
An Agent Plugin is a reusable capability bundle: MCP connections plus the Agent Skills that explain when and how to use them.

Plugin properties

The MCP client follows the same rules as a direct client:
The skill should tell the agent which MCP tools to choose, what inputs they need, how to read the result, and what to do when the connection fails. Plugin clients join direct clients from mcp/. Plugin skills join direct skills from skills/. Duplicate skill names or identical connection configurations fail compilation instead of shadowing one another. For selective approval, name the server’s original tool before any prefix. Harnest rejects unknown names after remote discovery.

Connect directly to MCP

Use a direct connection when it belongs to one agent.

Add lifecycle behavior

Use an extension for persistence, guardrails, auditing, or native middleware.