npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@mediar-ai/workflow-builder-mcp

v0.19.3

Published

MCP server for building and managing Terminator workflow YAML files

Downloads

115

Readme

Workflow Builder MCP

Model Context Protocol (MCP) server for building and managing Terminator workflow YAML files.

Overview

This MCP provides AI agents with tools to create, read, edit, search, and validate Terminator workflow files. It's designed to work alongside the Terminator MCP, separating workflow authoring from execution concerns.

Workflow Builder MCP = Author, edit, validate workflows Terminator MCP = Execute workflows, control desktop/browser

Tools

📖 read_workflow

Read a workflow YAML file with line numbers (similar to Claude Code's read tool).

{
  "file_path": "/path/to/workflow.yml"
}

📁 list_workflows

List all workflow files in a directory with metadata and validation status (similar to Claude Code's glob tool).

{
  "directory": "/path/to/workflows",
  "pattern": "*.yml"  // optional
}

🔍 search_workflows

Search for text patterns across workflow files (similar to Claude Code's grep tool).

{
  "directory": "/path/to/workflows",
  "pattern": "navigate_browser",
  "use_regex": false  // optional, default false
}

✏️ edit_workflow

Edit a workflow file using exact string replacement (similar to Claude Code's edit tool).

Important: The old_string must be unique in the file unless replace_all is true.

{
  "file_path": "/path/to/workflow.yml",
  "old_string": "url: https://example.com",
  "new_string": "url: https://newsite.com",
  "replace_all": false  // optional, default false
}

create_workflow

Create a new workflow YAML file (similar to Claude Code's write tool). Validates YAML syntax before creating.

{
  "file_path": "/path/to/new_workflow.yml",
  "content": "tool_name: execute_sequence\narguments:\n  steps: []"
}

validate_workflow

Validate a workflow file's YAML syntax and Terminator schema requirements.

{
  "file_path": "/path/to/workflow.yml"
}

Installation

Claude Code

Install with a single command:

claude mcp add workflow-builder "npx -y @mediar-ai/workflow-builder-mcp@latest" -s user

Claude Desktop / Other MCP Clients

npx -y @mediar-ai/workflow-builder-mcp

Or add to your MCP settings:

{
  "mcpServers": {
    "workflow-builder": {
      "command": "npx",
      "args": ["-y", "@mediar-ai/workflow-builder-mcp@latest"]
    }
  }
}

For HTTP Streamable Transport

Uses the MCP StreamableHTTP transport (SSE-based streaming over HTTP).

# Start HTTP server on port 3000 (default)
npx -y @mediar-ai/workflow-builder-mcp --http

# Or specify custom port
PORT=8080 npx -y @mediar-ai/workflow-builder-mcp --http

The server handles:

  • POST /mcp - Send JSON-RPC messages
  • GET /mcp - Establish SSE stream for responses
  • DELETE /mcp - Close session

Configure in your MCP client:

{
  "mcpServers": {
    "workflow-builder": {
      "url": "http://localhost:3000/mcp",
      "transport": "streamable-http"
    }
  }
}

For Development

cd workflow-builder-mcp
npm install
npm run build

# Stdio mode (default)
npm start

# HTTP mode
npm run start:http
# or
node dist/index.js --http

Workflow File Requirements

Valid Terminator workflow files must:

  • Be valid YAML
  • Have tool_name: execute_sequence at root level
  • Have arguments object
  • Have arguments.steps array

Example minimal workflow:

tool_name: execute_sequence
arguments:
  steps:
    - tool_name: navigate_browser
      arguments:
        url: "https://example.com"
        browser: "chrome"

Usage with AI

This MCP is designed to be used by AI agents to build RPA workflows. Example conversation:

AI: Let me create a new workflow for you.

[calls create_workflow with YAML content]

AI: I've created the workflow. Let me validate it.

[calls validate_workflow]

AI: The workflow is valid! Now you can execute it using the Terminator MCP.

Architecture

┌─────────────────────────────────────┐
│       Claude Code / AI Agent         │
└────────────┬───────────┬────────────┘
             │           │
    ┌────────▼─────┐ ┌──▼──────────────┐
    │ Workflow     │ │ Terminator MCP  │
    │ Builder MCP  │ │  (Execution)    │
    └────────┬─────┘ └──┬──────────────┘
             │           │
    ┌────────▼─────┐ ┌──▼──────────────┐
    │ YAML Files   │ │ Desktop/Browser │
    └──────────────┘ └─────────────────┘

License

MIT - See LICENSE file

Contributing

Part of the Terminator project by Mediar AI.