A visual orchestrator for PCB assembly processes with MCP (Model Context Protocol) integration for Claude Desktop.
- Visual workflow designer for PCB assembly sequences
- 5-step process orchestration with configurable parameters
- Real-time validation against predefined patterns
- RAG (Retrieval-Augmented Generation) system for process documentation
- MCP server integration via HTTP (recommended) or stdio
- FastMCP implementation for both orchestrator and RAG servers
-
Navigate to the project directory:
cd path/to/MCPFactoryAutomation -
Install dependencies:
pip install -r requirements.txt
-
(Optional) Copy
.env.exampleto.envand configure Ollama settings for RAG
start_servers.shstart_servers.batThis starts both the orchestrator (port 8000) and RAG server (port 8001) via HTTP.
# Orchestrator server (HTTP)
python orchestrator_fastmcp_server.py --transport http --port 8000
# RAG server (HTTP)
python rag_fastmcp_server.py --transport http --port 8001
# Or with stdio (alternative)
python orchestrator_fastmcp_server.py --transport stdio
python rag_fastmcp_server.py --transport stdioAdd to your config file: %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"pcb-orchestrator": {
"url": "http://127.0.0.1:8000/mcp"
},
"pcb-rag": {
"url": "http://127.0.0.1:8001/mcp"
}
}
}set_block_at_position- Set block type at a specific positionset_sub_param_at_position- Configure sub-parametersget_current_process- View current configurationexecute_process- Execute valid sequencesget_current_process_validity- Check sequence validityget_valid_processes- List all valid processesget_block_sub_params- Query valid parameters for blocksget_possible_blocks_sub_params- Get all blocks and their parameters
get_query_rag- Search process documentation with natural language queries
The orchestrator supports predefined valid processes in file processes.py