https://github.com/ApagoInc/enfocus-switch-mcp
Instead of manually checking Switch Web Portal or writing bespoke REST API scripts for basic checks, you can interact with your Switch automation environment using natural language prompts.
Key Capabilities
- Flow & Job Monitoring: Query active flows, inspect jobs in processing, trace elements, and review job states on demand.
- Log Diagnostics: Fetch, filter, and inspect Switch error or warning logs directly within your chat session to troubleshoot broken flows faster.
- Flow Management: Safely start or stop specific flows directly from your conversational workspace.
- Submit Point Web Form Generation: Ask your AI assistant to generate ready-to-use HTML/JavaScript forms targeting a specific Switch Submit Point, complete with all exposed metadata fields, drop-down properties, and validation logic.
The server bridges your MCP-compatible client to the Enfocus Switch WebServices API over JSON-RPC:
- Authentication: Connects over HTTPS using standard Switch user credentials or API tokens configured in your client environment.
- Context-Aware Tools: Exposes Switch endpoints as modular MCP tools that LLMs can automatically select, execute, and interpret.
- Local or Remote: Runs locally via standard MCP stdio runners (e.g., Node.js or Python) or packaged in a container targeting your Switch Server host.
Example Prompts to Try- "List all jobs or flows that are in an error or stopped state."
- "Show me the last 15 warnings logged by the Preflight flow in the past hour."
- "Build a stylish upload page for the submit point named "Test API submit" in the flow "API Submit test" for the user to enter values for all defined metadata fields and upload job file(s). Implement form field editors and validation that match Switch types. "
<see attached screenshot for result>. - "Stop flow 'Archival_Pipeline' while we complete maintenance."
- "List all of the currently running flows"
Code: Select all
Only one flow is running in Switch right now: ID Flow Group Created 25 API Submit test Apago 6/29/26 The other 45 flows on the server are all stopped.