Workflows MCP Server

Store, query, and create YAML workflow playbooks for LLM agents via MCP. STDIO or Streamable HTTP.

Local serverstdioGo

What is the Workflows MCP Server?

Store, query, and create YAML workflow playbooks for LLM agents via MCP. STDIO or Streamable HTTP.

The short version

  • Declarative tool definitions — single file per primitive, framework handles registration and validation
  • Unified error handling — handlers throw, framework catches, classifies, and formats
  • Pluggable auth: none, jwt, oauth
  • Swappable storage backends: in-memory, filesystem, Supabase, Cloudflare KV/R2/D1
  • Structured logging with optional OpenTelemetry tracing
  • STDIO and Streamable HTTP transports

What it needs from you

  • Bun v1.3.2 or higher (or Node.js v24+). - A local directory containing YAML workflow files (or use the bundled workflows-yaml/ seed).

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
workflow_listList all permanent workflows in the index, with optional keyword, category, and tag filters.
workflow_getRetrieve a complete workflow definition by name, with global instructions prepended.
workflow_createWrite a new permanent workflow YAML to the library.
workflow_create_tempWrite a temporary workflow draft, indexed but excluded from list results, kept until deleted.
workflow_deleteRemove a permanent workflow or a temporary draft by name and optional version, after the user confirms the resolved target.

How to install the Workflows MCP Server

{
  "mcpServers": {
    "workflows-mcp-server": {
      "type": "stdio",
      "command": "bunx",
      "args": [
        "@cyanheads/workflows-mcp-server@latest"
      ],
      "env": {
        "MCP_TRANSPORT_TYPE": "stdio",
        "WORKFLOWS_DIR": "/absolute/path/to/your/workflows-yaml"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

  • Bun v1.3.2 or higher (or Node.js v24+). - A local directory containing YAML workflow files (or use the bundled workflows-yaml/ seed).
VariableDescriptionRequired
MCP_TRANSPORT_TYPEDeclared in the maintainer’s client configuration.Check documentation
WORKFLOWS_DIRDeclared in the maintainer’s client configuration.Check documentation

Example prompts to try

  • “Use Workflows to workflow list.”
  • “Use Workflows to workflow get.”
  • “Use Workflows to workflow create.”

Frequently asked questions

Store, query, and create YAML workflow playbooks for LLM agents via MCP. STDIO or Streamable HTTP. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.