FOP Workflow

Provides automated FOP workflow analysis, code generation, and flowchart creation via MCP protocol.
  • javascript

1

GitHub Stars

javascript

Language

5 months ago

First Indexed

2 months ago

Catalog Refreshed

Documentation & install

Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.

Installation

Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "shaun888-mcp-workflow-mcp-server-js": {
      "command": "npx",
      "args": [
        "-y",
        "--registry=http://registry.m.jd.com",
        "@jd/fop-workflow-mcp-server"
      ]
    }
  }
}

You use the FOP Workflow MCP Server to analyze PRDs, generate code, and create flowcharts for the京东FOP platform. It follows the standard MCP protocol, so you can connect it to your LLM workflows and automate the three-stage FOP workflow with reliable, consistent results.

How to use

You interact with the server through your MCP client by prompting it to perform the three stages in sequence. You can start with a PRD analysis, then generate code, and finally create a flowchart. Typical usage patterns include asking the server to analyze requirements, generate the necessary scaffolding or implementation, and produce a visual workflow diagram to accompany the results.

How to install

Prerequisites: Node.js (version 16 or newer) and npm are required.

Install and run the MCP server with a single command using the internal registry.

# One-time installation and startup via MCP-friendly package
npx -y --registry=http://registry.m.jd.com @jd/fop-workflow-mcp-server

Configuration for the MCP client

Add an MCP configuration entry to enable the fop-workflow-mcp-server as a stdio MCP server. This configuration tells the MCP client how to start the server and how to invoke it.

{
  "mcpServers": {
    "fop_workflow_mcp_server": {
      "command": "npx",
      "args": ["-y", "--registry=http://registry.m.jd.com", "@jd/fop-workflow-mcp-server"],
      "disabled": false,
      "autoApprove": []
    }
  }
}

Additional notes

The server uses a built-in heartbeat to maintain a stable connection and supports the complete three-stage workflow: stage1_prd_analysis, stage2_code_generation, and stage3_flowchart_generation.

Core features and workflow stages

Smart workflow execution covers all three stages exactly as designed: stage1_prd_analysis analyzes PRD requirements, stage2_code_generation creates the needed code, and stage3_flowchart_generation produces a flowchart representation of the workflow.

Configuration and management

You can load a FOP configuration, fetch workflow settings, and display a summary of the current configuration. These capabilities help you keep your workflow aligned with the FOP platform requirements.

Smart optimization and naming rules

The server provides strategy for smart retrieval and analysis, plus naming rules for FOP specification files. You can execute a chosen workflow stage to apply these optimizations to your project.

Technical notes

Key tech characteristics include standard MCP protocol compatibility, zero-config installation, a built-in heartbeat to prevent timeouts, a complete three-stage workflow, and high-accuracy automated retrieval to minimize unneeded code searches.

Example file structure and runtime

During development you may work with a structure that includes a main MCP server entry, a package manifest, workflow configuration files, and usage notes.

Available tools

stage1_prd_analysis

Analyzes PRD requirements to extract goals, constraints, and acceptance criteria to guide subsequent steps.

stage2_code_generation

Generates implementation code based on analyzed PRD, including scaffolding and core components.

stage3_flowchart_generation

Creates a flowchart that visualizes the workflow, data flow, and process steps for the project.

load_config

Loads the FOP configuration file to initialize the server with the correct settings.

get_workflow_config

Retrieves the current workflow configuration for inspection and validation.

show_config_summary

Displays a concise summary of the active configuration.

get_smart_retrieval_config

Provides the smart retrieval strategy used during code analysis and selection.

get_file_naming_rules

Returns the naming rules for FOP specification files used by the workflow.

execute_workflow_stage

Executes a specified workflow stage (stage1_prd_analysis, stage2_code_generation, stage3_flowchart_generation).

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational
FOP Workflow MCP Server - shaun888/mcp-workflow-mcp-server-js | VeilStrat