Skip to main content

Manager your Dell PowerEdge Fan Speed with this handy tool and MCP Server!

Project description

Fan-Manager

PyPI - Version PyPI - Downloads GitHub Repo stars GitHub forks GitHub contributors PyPI - License GitHub

GitHub last commit (by committer) GitHub pull requests GitHub closed pull requests GitHub issues

GitHub top language GitHub language count GitHub repo size GitHub repo file count (file type) PyPI - Wheel PyPI - Implementation

Version: 1.0.9

Manager your Dell PowerEdge Fan Speed with this handy tool!

MCP Server for Agentic AI! Get started with Pip or Docker as well

This repository is actively maintained - Contributions are welcome!

Contribution Opportunities:

  • Increase support of Dell PowerEdge Devices
  • Support Non-PowerEdge Devices
  • Support Non-Dell Devices
Usage:

CLI

Short Flag Long Flag Description
-h --help See usage for fan-manager
-i --intensity Intensity of Fan Speed - Scales Logarithmically (0-10)
-c --cold Minimum Temperature for Fan Speed
-w --warm Maximum Temperature for Fan Speed
-s --slow Minimum Fan Speed
-f --fast Maximum Fan Speed
-p --poll-rate Poll Rate for CPU Temperature in Seconds
fan-manager --intensity 5 --cold 50 --warm 80 --slow 5 --fast 100 --poll-rate 24

MCP CLI

Short Flag Long Flag Description
-h --help Display help information
-t --transport Transport method: 'stdio', 'http', or 'sse' [legacy] (default: stdio)
-s --host Host address for HTTP transport (default: 0.0.0.0)
-p --port Port number for HTTP transport (default: 8000)
--auth-type Authentication type: 'none', 'static', 'jwt', 'oauth-proxy', 'oidc-proxy', 'remote-oauth' (default: none)
--token-jwks-uri JWKS URI for JWT verification
--token-issuer Issuer for JWT verification
--token-audience Audience for JWT verification
--oauth-upstream-auth-endpoint Upstream authorization endpoint for OAuth Proxy
--oauth-upstream-token-endpoint Upstream token endpoint for OAuth Proxy
--oauth-upstream-client-id Upstream client ID for OAuth Proxy
--oauth-upstream-client-secret Upstream client secret for OAuth Proxy
--oauth-base-url Base URL for OAuth Proxy
--oidc-config-url OIDC configuration URL
--oidc-client-id OIDC client ID
--oidc-client-secret OIDC client secret
--oidc-base-url Base URL for OIDC Proxy
--remote-auth-servers Comma-separated list of authorization servers for Remote OAuth
--remote-base-url Base URL for Remote OAuth
--allowed-client-redirect-uris Comma-separated list of allowed client redirect URIs
--eunomia-type Eunomia authorization type: 'none', 'embedded', 'remote' (default: none)
--eunomia-policy-file Policy file for embedded Eunomia (default: mcp_policies.json)
--eunomia-remote-url URL for remote Eunomia server

Using as an MCP Server

The MCP Server can be run in two modes: stdio (for local testing) or http (for networked access). To start the server, use the following commands:

Run in stdio mode (default):

fan-manager-mcp --transport "stdio"

Run in HTTP mode:

fan-manager-mcp --transport "http"  --host "0.0.0.0"  --port "8000"

Docker Compose

Fan Manager

---
services:
  fan-manager:
    image: knucklessg1/fan-manager:latest
    container_name: server_fan_speed
    privileged: true
    environment:
      MODE: "fan-manager"
      INTENSITY: ${INTENSITY}
      COLD: ${COLD}
      WARM: ${WARM}
      SLOW: ${SLOW}
      FAST: ${FAST}
      POLL_RATE: ${POLL_RATE}
    volumes:
      - /dev/ipmi0:/dev/ipmi0
    restart: unless-stopped

Fan Manager MCP Server

---
services:
  fan-manager-mcp:
    image: knucklessg1/fan-manager:latest
    container_name: server_fan_speed
    privileged: true
    environment:
      MODE: "fan-manager-mcp"
      HOST: 0.0.0.0
      PORT: 8030
      TRANSPORT: "http"
    volumes:
      - /dev/ipmi0:/dev/ipmi0
    restart: unless-stopped

Docker Run

docker run -it -d knucklessg1/fan-manager:latest fan-manager

Docker Compose

docker-compose up --build -d

Configure mcp.json for AI Integration

{
  "mcpServers": {
    "fan-manager": {
      "command": "uv",
      "args": [
        "run",
        "--with",
        "fan-manager",
        "fan-manager-mcp"
      ],
      "timeout": 200000
    }
  }
}
Installation Instructions:

Install Python Package

python -m pip install fan-manager
Repository Owners:

GitHub followers GitHub User's stars

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fan_manager-1.0.9.tar.gz (11.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fan_manager-1.0.9-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

Details for the file fan_manager-1.0.9.tar.gz.

File metadata

  • Download URL: fan_manager-1.0.9.tar.gz
  • Upload date:
  • Size: 11.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for fan_manager-1.0.9.tar.gz
Algorithm Hash digest
SHA256 d4be8b4ba66129e3181d42162cdb9497a72159fe75bd1152f0d7664e79553127
MD5 179ff761482d0edb04c97d872085417e
BLAKE2b-256 f935ddb46b6ee63ff076b6573b2fae83aec61e388b6cd9c596c1e1dbadff0611

See more details on using hashes here.

File details

Details for the file fan_manager-1.0.9-py3-none-any.whl.

File metadata

  • Download URL: fan_manager-1.0.9-py3-none-any.whl
  • Upload date:
  • Size: 11.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for fan_manager-1.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 e2210235c836773bbae13634adce2a795a5b2beff24a439d071aabec13e1b2ec
MD5 1962ff5c5d1fe2d5eb02acd4430a5928
BLAKE2b-256 2e83f7e4e701954c34cc6528e0c4d9a07d9ccec7b38f1025d1b11d83ae48157c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page