Open-source MCP Server for Enfocus Switch WebServices API

Post Reply
dkelly
TOP CONTRIBUTOR
Posts: 659
Joined: Mon Nov 29, 2010 8:45 pm
Location: Alpharetta GA USA
Contact:

Open-source MCP Server for Enfocus Switch WebServices API

Post by dkelly »

Apago is pleased to announce the availability of an open-source Model Context Protocol (MCP) server for Enfocus Switch, allowing you to connect Switch WebServices API directly to AI clients and chatbot interfaces like Claude, OpenAI, Grok or Cursor.

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.
How It Works
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.
Attachments
Screenshot 2026-10-01 at 1.06.35 PM.png
Screenshot 2026-10-01 at 1.06.35 PM.png (146.16 KiB) Viewed 7062 times
r.zegwaard
Member
Posts: 106
Joined: Fri Jul 08, 2011 10:31 am
Location: The Netherlands

Re: Open-source MCP Server for Enfocus Switch WebServices API

Post by r.zegwaard »

Hi Dwight,

Nice work!

I will certainly look into it!

Robert
Post Reply