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 high-level workflows using a local offline LLM, and executes them deterministically at runtime via a FastAPI + FastMCP ASGI microservice backed by SQLite and SQLAlchemy.


Architecture Overview

The system design separates ingest/clustering compile-time phases from the stateful 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[(SQLite governance.db)]
    end
    subgraph Runtime Execution
        E[MCP Clients] <-->|SSE /mcp| F[FastAPI ASGI Server]
        G[(SQLite mcp_proxy.db)] <-->|SQLAlchemy Async| F
        F -->|Select Executor| H[BaseExecutor Interface]
        H -->|MockHTTPXExecutor| I[Prism Mock API / Redfish Endpoint]
        H -->|DellOMSDKExecutor| J[Real Dell Hardware]
    end

Core Architecture Principles

  1. Stateful Persistence: All workflows and API steps are stored in a SQLite database (mcp_proxy.db) using SQLAlchemy async models, replacing legacy static JSON configuration files.
  2. Governance and Approvals: Incoming clustered workflows remain pending until promoted to approved status through admin webhook REST APIs.
  3. Dynamic Hot-Reloading: Approved workflows are loaded dynamically as tools into FastMCP without restarting the ASGI server, and connected clients are notified in real-time.
  4. Resilience & Fault Isolation: Asynchronous HTTP executions employ exponential backoff retries via tenacity specifically targeting transient network issues.

Project Directory Scaffolding

dell_mcp_proxy/
├── data/
│   ├── raw_specs/              # Downloaded raw Dell OpenAPI YAML/JSON specs
│   └── output/                 # Runtime persistence store: mcp_proxy.db
├── src/
│   ├── __init__.py
│   ├── core/                   # Shared Pydantic models, configurations, and exceptions
│   │   ├── __init__.py
│   │   ├── config.py
│   │   ├── database.py         # SQLAlchemy schemas, engines, and async sessions
│   │   └── exceptions.py       # Custom exceptions hierarchy (e.g. DellProxyExecutionError)
│   ├── 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: FastAPI + FastMCP Server & Deterministic Routing
│       ├── __init__.py
│       ├── server.py           # FastAPI server initialization, webhooks, & dynamic tool registration
│       └── executors/          # Target execution engines
│           ├── __init__.py
│           ├── base.py         # BaseExecutor Abstract Base Class
│           └── httpx_executor.py # HTTPX executor implementation with tenacity retry loops
├── tests/
│   ├── __init__.py
│   ├── conftest.py             # Pytest fixtures and mock clients
│   ├── test_microservice.py    # Integration tests for webhooks, DB states, and reload behavior
│   └── test_mock_api.py        # HTTP mock container validation
├── .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
  • ASGI & Web Framework: fastapi and uvicorn
  • MCP Framework: fastmcp (using ASGI/SSE transport)
  • Database & ORM: sqlalchemy (v2.0) and aiosqlite
  • Resilience Engine: tenacity (exponential backoff & async retries)
  • Code Quality: black, flake8, mypy, pytest

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

Running the ASGI Microservice

1. Start the Server

Start the Uvicorn application (which hosts both the REST endpoints and the MCP SSE interface):

uv run uvicorn src.proxy.server:app --host 0.0.0.0 --port 8000 --reload

2. REST Admin Webhooks

  • Get Pending Workflows:
    curl -X GET http://localhost:8000/workflows/pending
    
  • Approve a Workflow:
    curl -X POST http://localhost:8000/workflows/{id}/approve
    
  • Reject a Workflow:
    curl -X POST http://localhost:8000/workflows/{id}/reject
    
  • Trigger Hot-Reload: Reloads the tool list from database state and notifies connected MCP clients:
    curl -X POST http://localhost:8000/reload
    

3. Connect to the MCP Server

Clients can connect to the Model Context Protocol endpoint using SSE (Server-Sent Events) at:

http://localhost:8000/mcp

Testing & Mock API Setup

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

1. Start the Mock Server

Ensure Docker is running, then boot the mock API container:

docker compose up -d --build

2. Run Automated Verification Pipeline

Execute the all-in-one automation script to sync dependencies, restart the mock server, verify health, run all pytest suites, and check code style:

chmod +x test_all.sh
./test_all.sh

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

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
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

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
Qdrant Server

Qdrant Server

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

Official
Featured