Workflow Orchestrator MCP Server

Workflow Orchestrator MCP Server

orchestrator-mcp-server•byjeanibarz

An AI-powered workflow orchestrator implemented as a Model Context Protocol server that manages and executes dynamic workflows using an LLM for decision-making.

License: Not specified•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Breaks complex tasks into discrete steps whose sequence is chosen dynamically by an AI agent based on the workflow definition, task context and real-time client feedback.
  • •Stores workflow state in a local SQLite database and allows interrupted workflows to be resumed.
  • •Exposes MCP tools to list workflows, start a workflow, check status, advance a workflow and resume an existing instance.

BEST FOR

  • •Developers who want adaptable, non-linear workflows defined in human-readable Markdown instead of rigid scripts.
  • •Long-running processes that may be interrupted and need their state recovered and continued.

ABOUT ORCHESTRATOR-MCP-SERVER

Workflow Orchestrator MCP Server is cataloged as an MCP server attributed to jeanibarz. An AI-powered workflow orchestrator implemented as a Model Context Protocol server that manages and executes dynamic workflows using an LLM for decision-making. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Workflow Orchestrator MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

How are workflows defined?

Workflows are defined in Markdown files within subdirectories of the workflow definitions directory, with an index file for the goal and steps and a steps directory for individual step files.

Which workflows are included?

Included workflows cover tasks such as analyzing GitLab issues, suggesting commits, generating jokes, checking README freshness, refactoring with tests, and creating workflows.

上游原版 README

在 GitHub 查看同一版本原文

README.md · c5c128907d43 · 采集于 2026-11-13 12:28:48 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

Workflow Orchestrator MCP Server

This project implements an AI-Powered Workflow Orchestrator as an MCP (Model Context Protocol) server. It is designed to manage and execute complex, dynamic workflows by leveraging a Large Language Model (LLM) for intelligent decision-making and adaptability.

Core Concepts

The orchestrator breaks down complex tasks into manageable, discrete steps defined within workflows. An AI agent (LLM) determines the sequence of these steps dynamically based on:

  • The workflow definition (written in Markdown).
  • The current task context (state variables).
  • Real-time feedback provided by the client executing the steps.

Key concepts include:

  • AI-Driven Decisions: Enables dynamic branching, error handling, and adaptation based on step outcomes and context.
  • Markdown Definitions: Workflows and steps are defined in human-readable Markdown files.
  • Persistent State: Workflow state is stored in a local SQLite database, allowing for long-running processes.
  • Workflow Resumption: Interrupted workflows can be resumed, with the AI helping reconcile the client's state with the persisted state.

Features

  • Intelligent, Non-Linear Workflows: Moves beyond rigid scripts to adaptable processes.
  • Reusable & Modular Steps: Step definitions in Markdown promote reuse and maintainability.
  • Human-Readable & Editable: Easy to author and understand workflows.
  • Adaptable Instructions & AI Prompts: Dynamically generated prompts provide rich context to the AI.
  • Persistent State Management: Reliable tracking of workflow progress using SQLite.
  • Resumption Capability: Recover and continue interrupted workflows seamlessly.

Architecture

The system uses a modular architecture:

graph LR
    Client --> A["API Layer (FastMCP)"];
    A --> B[Orchestration Engine];
    B --> C[Workflow Definition Service];
    B --> D[State Persistence Module];
    B --> E[AI Interaction Module];
    C --> F[(Workflow Files *.md)];
    D --> G[(SQLite Database)];
    E --> H[(External LLM Service)];
  • API Layer (FastMCP Server): Handles MCP tool requests.
  • Orchestration Engine: Core logic coordinating workflow execution.
  • Workflow Definition Service: Loads, parses, and validates Markdown workflow definitions.
  • State Persistence Module: Manages workflow state and history in the SQLite database (workflow_state.db).
  • AI Interaction Module: Communicates with the external LLM service.

(See docs/architecture_and_data_model.md#2-high-level-architecture for full details).

Workflows

Workflows are defined in subdirectories within the WORKFLOW_DEFINITIONS_DIR directory specified in the MCP server settings. Each workflow has:

  • index.md: Defines the overall goal and lists the steps.
  • steps/: A directory containing individual Markdown files for each step, including # Orchestrator Guidance and # Client Instructions.

Available Workflows:

  • ANALYZE_GITLAB_ISSUE
  • COMMIT_SUGGESTER
  • JOKE_GENERATOR
  • README_FRESHNESS_CHECK
  • REFACTOR_WITH_TESTS
  • RESUME
  • SAVE
  • SUGGEST_REFACTORING
  • WORKFLOW_CREATOR

(See docs/architecture_and_data_model.md#8-workflow-definition-service-details for more on the definition format).

MCP Tools

This server provides the following MCP tools:

  • list_workflows: List available workflow definitions.
  • start_workflow: Starts a workflow by name, optionally with initial context.
    • Input: { "workflow_name": "string", "context": {} }
  • get_workflow_status: Gets the current status of a running workflow instance.
    • Input: { "instance_id": "string" }
  • advance_workflow: Reports the outcome of the previous step and requests the next step.
    • Input: { "instance_id": "string", "report": { "step_id": "string", "result": any, "status": "string", ... }, "context_updates": {} }
  • resume_workflow: Reconnects to an existing workflow instance, providing the client's assumed state for reconciliation.
    • Input: { "instance_id": "string", "assumed_current_step_name": "string", "report": { ... }, "context_updates": {} }

(Refer to the MCP server definition or docs/architecture_and_data_model.md#7-api-specification for detailed input/output schemas, noting the mapping from HTTP API to MCP tools).

Configuration

The server is configured via environment variables. Paths can be specified as relative to the current working directory or as absolute paths:

  • WORKFLOW_DEFINITIONS_DIR (Required): Path to the workflow definitions directory (e.g., ./workflows or /home/user/projects/orchestrator-mcp-server/workflows).
  • WORKFLOW_DB_PATH (Required): Path to the SQLite database file (e.g., ./data/workflows.sqlite or /home/user/projects/orchestrator-mcp-server/data/workflows.sqlite).
  • GEMINI_MODEL_NAME (Required, unless USE_STUB_AI_CLIENT is true): The name of the Gemini model to use (e.g., gemini-2.5-flash-latest).
  • USE_STUB_AI_CLIENT (Optional): Set to true to use a stubbed AI client for testing, bypassing the need for AI service configuration (default: false).
  • LOG_LEVEL (Optional): Logging level (default: info).
  • AI_SERVICE_ENDPOINT (Optional): URL for the LLM service API (only used if not using the stub client).
  • AI_SERVICE_API_KEY (Optional): API key for the LLM service (only used if not using the stub client).
  • AI_REQUEST_TIMEOUT_MS (Optional): Timeout for AI requests in milliseconds (default: 30000).

Quickstart / Running the Server

  1. Prerequisites:
    • Python environment managed by uv.
    • Required environment variables set (see Configuration).
    • Ensure directories for WORKFLOW_DEFINITIONS_DIR and WORKFLOW_DB_PATH exist and are writable.
  2. Install Dependencies:
    uv sync
    
  3. Run the Server:
    uv run python -m orchestrator_mcp_server
    
    Alternatively, if you have installed the server using pipx install ., you can run the orchestrator-mcp-server command directly. By default, the server uses relative paths (./workflows and ./data/workflows.sqlite) for workflow definitions and the database. To use these default paths, you must run the orchestrator-mcp-server command from the project's root directory (/home/jean/git/orchestrator-mcp-server). If you set the WORKFLOW_DEFINITIONS_DIR and WORKFLOW_DB_PATH environment variables to absolute paths (see Configuration), you can run the orchestrator-mcp-server command from any directory.

Running with Cline

To run the orchestrator as an MCP server within Cline, add the following configuration to the mcpServers content of your cline_mcp_settings.json file:

"orchestrator-mcp-server": {
      "autoApprove": [],
      "disabled": false,
      "timeout": 60,
      "command": "orchestrator-mcp-server",
      "env": {
        "WORKFLOW_DEFINITIONS_DIR": "/home/YOUR_USERNAME/git/orchestrator-mcp-server/workflows",
        "WORKFLOW_DB_PATH": "/home/YOUR_USERNAME/git/orchestrator-mcp-server/workflow_state.db",
        "GEMINI_MODEL_NAME": "gemini-2.5-flash-preview-04-17",
        "GEMINI_API_KEY": "YOUR__API_KEY"
      },
      "transportType": "stdio"
    }

Remember to replace "YOUR_USERNAME" with your actual username and "YOUR_ANONYMIZED_API_KEY" with your actual Gemini API key and adjust the paths if your project is located elsewhere.

Development Status

Next Steps:

  • Implement comprehensive integration tests to verify the system's behavior under various conditions.
  • Continue refining error handling and edge cases.
  • Expand documentation with usage examples and best practices.
  • Develop additional workflow templates for common use cases.

Testing

The primary testing strategy involves integration tests exercising the API and core components, using a stubbed AI Interaction Module to provide deterministic responses. A dedicated test database is used. Unit tests cover specific utility functions and parsing logic.

(See docs/architecture_and_data_model.md#12-testing-strategy for details).

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Workflow Orchestrator MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/orchestrator-mcp-server)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools