Dell Enterprise MCP Workflow Proxy

Dell Enterprise MCP Workflow Proxy

An air-gapped, edge-native, deterministic translation layer that ingests raw Dell OpenAPI endpoints, clusters them into high-level workflows using a local offline LLM, and executes them deterministically at runtime via FastMCP and HTTPX.

Category
Visit Server

README

Dell Enterprise MCP Workflow Proxy

An air-gapped, edge-native, deterministic translation layer. This system ingests 500+ raw Dell OpenAPI endpoints, clusters them into 20 high-level workflows using a local offline LLM, and executes them deterministically at runtime via FastMCP and HTTPX.


Architecture Overview

The system design strictly separates ingest/clustering compile-time phases from the deterministic runtime translation execution:

flowchart TD
    subgraph Compile-Time Phases
        A[Raw OpenAPI Specs] -->|Phase 1: Ingestion| B[OpenAPI Parser]
        B -->|OpenAPI schemas| C[AI Clustering Engine]
        C -->|Local Ollama/Instructor| D[(Workflow Mappings JSON)]
    end
    subgraph Runtime Execution
        E[MCP Clients] -->|MCP Protocol| F[FastMCP Server]
        D -->|Deterministic Routes| F
        F -->|Select Executor| G[BaseExecutor Interface]
        G -->|Hot-Swapped| H[HTTPX Executor]
        G -->|Hot-Swapped| I[Dell OM SDK / Redfish API]
    end

Core Architecture Principles

  1. Deterministic Execution: All LLM clustering is done out-of-band during the compile/development phase. The runtime operates strictly deterministically using the pre-computed workflow_mapping.json.
  2. Interface Segregation: Target-system communications are decoupled from the routing and schema translation layers, enabling clean testing and production switching.
  3. Air-gapped & Offline First: Local parsing via openapi-core and offline AI clustering via instructor + ollama.

Project Directory Scaffolding

dell_mcp_proxy/
├── data/
│   ├── raw_specs/              # Downloaded raw Dell OpenAPI YAML/JSON specs
│   └── output/                 # Generated workflow_mapping.json mapping file
├── src/
│   ├── __init__.py
│   ├── core/                   # Shared Pydantic models, configurations, and exceptions
│   │   ├── __init__.py
│   │   ├── config.py
│   │   └── exceptions.py
│   ├── parser/                 # Phase 1: OpenAPI spec parsing and schema extraction
│   │   ├── __init__.py
│   │   └── openapi_parser.py
│   ├── ai_clustering/          # Phase 2: Offline clustering via Instructor/Ollama LLM
│   │   ├── __init__.py
│   │   └── workflow_generator.py
│   └── proxy/                  # Phase 3: FastMCP Server & Deterministic Routing
│       ├── __init__.py
│       ├── server.py           # FastMCP initialization & tool registrations
│       └── executors/          # Target execution engines
│           ├── __init__.py
│           ├── base.py         # BaseExecutor Abstract Base Class
│           └── httpx_executor.py # HTTPX executor implementation
├── tests/
│   ├── __init__.py
│   └── conftest.py
├── .env.example                # Local environment template variables
├── .flake8                     # Flake8 style config
├── pyproject.toml              # Project dependencies, packaging, and tool overrides
└── README.md                   # System documentation

Technical Stack & Dependencies

  • Language: Python 3.10+
  • Dependency & Environment Manager: uv
  • Core Libraries:
    • pydantic (V2): For structured data validation and modeling.
    • fastmcp: High-performance Python framework for Model Context Protocol servers.
    • httpx: Async HTTP client for mock and target communications.
    • openapi-core: Strict OpenAPI parsing and validation.
    • instructor & ollama: Structured local offline LLM interactions.
  • Code Quality:
    • black: Strict formatting (88-char limit).
    • flake8: Style guide enforcement.
    • mypy: Strict type checking (strict = true).
    • pytest: Runtime test runner.

Getting Started & Local Setup

1. Prerequisites

Ensure you have Python 3.10+ and uv installed. If you do not have uv, install it via:

curl -LsSf https://astral.sh/uv/install.sh | sh

2. Environment Setup

Initialize the virtual environment and install all dependencies:

# Sync environment and lock dependencies
uv sync

3. Environment Variables

Copy the template variables file:

cp .env.example .env

4. Running & Listing Tools

Activate the virtual environment:

source .venv/bin/activate

List the registered workflow tools on the MCP server:

fastmcp list src/proxy/server.py

Run the FastMCP development console to test tools in your browser:

fastmcp dev src/proxy/server.py

Testing & Mock API Setup (Add-on)

To safely test destructive Dell workflows locally without breaking real hardware, we utilize a Stoplight Prism Docker container that mocks the realistic Dell iDRAC OpenAPI schema.

1. Start the Mock Server

Ensure Docker is running, then boot the mock API (which dynamically exposes realistic Dell endpoints on port 4010):

docker-compose up -d --build

Note: The docker-compose.yml mounts the realistic schema located at tests/fixtures/mini_openapi.yaml.

2. Automated Testing Pipeline

We have provided an all-in-one automation script to sync dependencies, restart the mock server, verify health, run the pytest test suite, and execute code linting.

To run the complete test pipeline:

chmod +x test_all.sh
./test_all.sh

3. Blast Radius Audit

Before executing workflows against real systems, you can use the MCP tool preview_workflow_steps(workflow_id). This acts as an enterprise compliance gate, returning a simulated list of the exact granular API calls the proxy is about to execute so that admins can review them safely.


Code Quality & Verification Commands

All files conform to strict enterprise quality checks. Verify your changes using:

# Code Formatting (Black)
uv run black --check .

# Code Linting (Flake8)
uv run flake8 .

# Strict Type Checking (Mypy)
uv run mypy .

# Run Tests
uv run pytest

The Executor Contract (BaseExecutor)

To ensure clean hot-swapping between testing frameworks and production environments, the system abstracts execution behind src/proxy/executors/base.py.

from abc import ABC, abstractmethod
from typing import Any, Dict

class BaseExecutor(ABC):
    @abstractmethod
    async def execute_workflow(
        self, workflow_name: str, params: Dict[str, Any]
    ) -> Dict[str, Any]:
        """
        Asynchronously execute a clustered workflow.
        """
        pass
  • HTTPXExecutor: Used for mock API endpoints and REST verification during development.
  • OMSDKExecutor: Used to swap in official Dell omsdk capabilities for hardware testing.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured