Plugins

Install, operate, debug, and author Restish plugins.

Plugins are a first-class extension model in Restish v2. They add auth flows, middleware, loaders, formatters, command workflows, and TLS signing while keeping HTTP execution and output behavior anchored in the host CLI.

Operator Track

Start here when you want to use an existing plugin:

Author Track

Start here when you are writing a plugin:

Choosing A Type

  • Choose a hook plugin for focused request, response, auth, loader, or formatter behavior.
  • Choose a command plugin for workflows that need their own command and multiple host interactions.
  • Choose a TLS signer plugin when the private key must remain outside Restish.

Install and Use Plugins

Install, list, remove, configure, verify, and debug Restish plugins.

Built-In Example Plugins

Map first-party plugin binaries and fixtures to user and author goals.

Plugin Quickstart

Build the smallest useful plugin and verify that Restish discovers it.

Hook Plugins

Author auth, request middleware, response middleware, loader, and formatter hook plugins.

Command Plugins

Author top-level Restish workflows that exchange messages with the host.

TLS Signer Plugins

Use or author plugins that sign mTLS handshakes without exposing private keys to Restish.

Bulk Management

Manage API collections as local files with the restish-bulk command plugin.

Serve APIs Over MCP

Expose registered Restish APIs as MCP tools through the restish-mcp command plugin.