Back to Home
devidasjadhav icon

mcp-redfish-python

Verified Safe

by devidasjadhav

Overview

An AI-powered interface for managing Redfish-enabled servers through natural language commands, utilizing Model Context Protocol (MCP) for tool integration.

Installation

Run Command
PYTHONPATH=. python3 -m src.redfish_mcp.redfish_mcp_server

Environment Variables

  • REDFISH_BASE_URL
  • REQUEST_TIMEOUT
  • VERIFY_SSL
  • ENABLE_RETRY
  • ENABLE_CIRCUIT_BREAKER
  • MAX_RETRY_ATTEMPTS
  • RETRY_BASE_DELAY
  • RETRY_MAX_DELAY
  • CIRCUIT_BREAKER_THRESHOLD
  • CIRCUIT_BREAKER_TIMEOUT
  • REDFISH_USERNAME
  • REDFISH_PASSWORD
  • ANTHROPIC_API_KEY
  • ANTHROPIC_MODEL
  • LOG_LEVEL
  • LOG_FILE
  • MCP_SERVER_NAME
  • MCP_SERVER_VERSION
  • MCP_TRANSPORT

Security Notes

The project handles API keys and sensitive credentials (Redfish username/password) using environment variables and masks them in debug output, which is good practice. It uses `json.loads` for user-provided patch/action data, which could lead to exceptions for malformed input but does not appear to execute arbitrary code. The `VERIFY_SSL` setting defaults to true, which is critical for secure communication, but can be disabled via configuration, potentially exposing to MITM attacks if set to false in a production environment.

Similar Servers

Stats

Interest Score55
Security Score8
Cost ClassMedium
Avg Tokens1000
Stars1
Forks0
Last Update2025-12-13

Tags

RedfishAI ChatbotServer ManagementModel Context ProtocolResilience