Learn how to parse PSR.exe MHT files and teach LLMs workflows for automation
WorkflowLearner MCP Server is a specialized tool designed to enable large language models (LLMs) to understand and learn complex workflows generated by the Problem Steps Recorder (PSR.exe), which is built into Windows operating systems. This server leverages Model Context Protocol (MCP) to provide a standardized interface for AI applications like Claude Desktop, Continue, Cursor, and others to interact with recorded user operations in MHT files. By using WorkflowLearner MCP Server, these AI applications can better integrate with data sources and tools through a universal protocol, making it easier to implement sophisticated workflow learning capabilities.
WorkflowLearner MCP Server integrates key features that are essential for enhancing the capabilities of AI applications:
MHT File Parsing: The server includes scripts (parse_mht.py
) and (learn_workflow.py
) to parse MHT files, extract workflow information, and convert it into a format suitable for large language models (LLMs) to understand.
MCP Protocol Implementation: Implemented according to the Model Context Protocol standards, enabling seamless communication between AI applications and servers by providing a structured interface.
Customization & Flexibility: Configurable through custom scripts and environment settings to allow developers to tailor the server's behavior and functionality as required.
Data Parsing & Learning Workflow Integration: The process is split into two stages: parsing MHT files with parse_mht.py
and using LLMs via learn_workflow.py
.
The architecture of WorkflowLearner MCP Server revolves around the Model Context Protocol, ensuring that it can seamlessly integrate with various AI applications:
graph TD
A[AI Application] -->|MCP Client| B[MCP Protocol]
B --> C[MCP Server]
C --> D[Data Source/Tool]
style A fill:#e1f5fe
style C fill:#f3e5f5
style D fill:#e8f5e8
This diagram illustrates the flow of data between an AI application, the MCP Client, the Model Context Protocol (MCP) Server, and the Data Source/Tool.
To set up WorkflowLearner MCP Server for use with your AI applications like Claude Desktop, Continue, Cursor, etc., follow these steps:
git clone https://github.com/u3588064/WorkflowLearner.git
cd llm-workflow-learning
pip install -r requirements.txt
Imagine an advanced customer service chatbot that needs to understand and execute a series of user interactions across multiple platforms. By using the WorkflowLearner MCP Server, the chatbot can parse recorded interaction logs (in MHT format) generated by PSR.exe and train on these workflows with LLMs to provide more contextual and effective assistance.
In a sales environment where complex decision-making is involved, an AI assistant could use WorkflowLearner MCP Server to learn from recorded sales calls. By parsing the dialogue, understanding the interaction patterns, and generating insights, the AI assistant can help improve communication skills and negotiation strategies.
The following table outlines the compatibility of WorkspaceLearner MCP Server with some popular MCP clients:
MCP Client | Resources | Tools | Prompts | Status |
---|---|---|---|---|
Claude Desktop | ✅ | ✅ | ✅ | Full Support |
Continue | ✅ | ✅ | ✅ | Full Support |
Cursor | ❌ | ✅ | ❌ | Tools Only |
Client & Server | API Key | Data Sources | Tool Interaction | Workflow Learning |
---|---|---|---|---|
Claude Desktop | Supported | Full | Yes | Advanced |
Continue | Supported | Full | Yes | Advanced |
Cursor | Limited | Partial | No | Basic |
To configure the server for use with specific clients, you can adjust the configuration file as follows:
{
"mcpServers": {
"WorkflowLearner": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-workflowlearner"],
"env": {
"API_KEY": "your-api-key"
}
}
}
}
Q: Does WorkflowLearner support all MCP clients?
A: Yes, WorkflowLearner is compatible with Claude Desktop and Continue but does not fully support Cursor.
Q: Can I customize the server's behavior?
A: Absolutely! You can modify scripts like parse_mht.py
and learn_workflow.py
to fit your specific needs.
Q: How secure is the workflow data during parsing?
A: WorkflowLearner ensures that only necessary data for parsing and learning workflows are transmitted, with robust encryption when needed.
Q: Can I integrate this server with other MCP clients in the future?
A: Yes, integration with additional MCP clients will be considered based on community feedback and developer contributions.
Q: What is the status of ongoing development for WorkflowLearner?
A: The project is actively maintained with regular updates to improve performance and add new features.
If you wish to contribute or report issues, please follow these guidelines:
For more details about the Model Context Protocol (MCP) and its broader ecosystem, consult the official documentation at ModelContextProtocol.org.
By leveraging WorkflowLearner MCP Server, developers can create powerful AI applications that interact seamlessly with recorded user workflows. The server’s robust integration capabilities ensure that a wide range of tools and environments are supported, making it a valuable addition to any AI-driven workflow development project.
RuinedFooocus is a local AI image generator and chatbot image server for seamless creative control
Simplify MySQL queries with Java-based MysqlMcpServer for easy standard input-output communication
Learn to set up MCP Airflow Database server for efficient database interactions and querying airflow data
Build stunning one-page websites track engagement create QR codes monetize content easily with Acalytica
Explore CoRT MCP server for advanced self-arguing AI with multi-LLM inference and enhanced evaluation methods
Access NASA APIs for space data, images, asteroids, weather, and exoplanets via MCP integration