
nokia-steward/mcp-redfish
部署与 DevOps本页由 AI 翻译,技术细节请以原文为准。 查看原文
该仓库已从 nokia/mcp-redfish 迁移至 nokia-steward/mcp-redfish。新版本和版本化容器镜像仅以 ghcr.io/nokia-steward/mcp-redfish 形式发布。
概览
该仓库已从 nokia/mcp-redfish 迁移至 nokia-steward/mcp-redfish。新版本和版本化容器镜像仅以 ghcr.io/nokia-steward/mcp-redfish 形式发布。 Redfish MCP 服务器是为代理型应用设计的,用于高效管理暴露 Redfish API 的基础设施。它与 无缝集成,使 AI 驱动的工作流能够与基础设施的结构化和非结构化数据交互。通过该 MCP 服务器,你可以提出以下问题: - “列出可用的基础设施组件”- “获取基础设施组件X以太网接口的数据” - :使AI代理能够使用自然语言查询基础设施组件的数据。- :支持任意操作,实现顺畅通信。- :它包裹了Python Redfish库 该 MCP 服务器通过 Redfish API 提供管理基础设施数据的工具。 - list_servers查询为MCP服务器配置的Redfish API端点。
概述(AI 翻译)
[!警告] 本仓库已从 nokia/mcp-redfish 迁移至 nokia-steward/mcp-redfish。新版本和版本化容器镜像仅以
ghcr.io/nokia-steward/mcp-redfish格式发布。
概述
Redfish MCP 服务器是一个自然语言接口,专为代理型应用设计,用于高效管理暴露 Redfish API 的基础设施。它与 **MCP(模型内容协议)客户端*无缝集成,使 AI 驱动的工作流能够与基础设施中的结构化和非结构化数据交互。通过该 MCP 服务器,你可以提出以下问题:
- “列出可用的基础设施组件”
- “获取基础设施组件X以太网接口的数据”
特色
- 自然语言查询:使AI代理能够使用自然语言查询基础设施组件的数据。
- 无缝MCP集成:支持任何MCP客户端,实现顺畅通信。
- 完整支持Redfish:它封装了Python Redfish库
工具
该 MCP 服务器通过 Redfish API 提供管理基础设施数据的工具。
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Redfish MCP Server
[!WARNING] This repository has moved from nokia/mcp-redfish to nokia-steward/mcp-redfish. New releases and versioned container images are published only as
ghcr.io/nokia-steward/mcp-redfish.
Overview
The Redfish MCP Server is a natural language interface designed for agentic applications to efficiently manage infrastructure that exposes Redfish API for this purpose. It integrates seamlessly with MCP (Model Content Protocol) clients, enabling AI-driven workflows to interact with structured and unstructured data of the infrastructure. Using this MCP Server, you can ask questions like:
- “List the available infrastructure components”
- “Get the data of ethernet interfaces of the infrastructure component X”
Features
- Natural Language Queries: Enables AI agents to query the data of infrastructure components using natural language.
- Seamless MCP Integration: Works with any MCP client for smooth communication.
- Full Redfish Support: It wraps the Python Redfish library
Tools
This MCP Server provides tools to manage the data of infrastructure via the Redfish API.
list_serversto query the Redfish API endpoints that are configured for the MCP Server.list_discovered_serversto review Redfish endpoints discovered via SSDP. Discovered endpoints are candidates only and are not managed until explicitly added toREDFISH_HOSTS.get_resource_datato read the data of a specific resource (e.g. System, EthernetInterface, etc.)
Quick Start
# Clone and setup
git clone
cd mcp-redfish
make install # or 'make dev' for development setup
# Option 1: Run with console script (recommended)
uv run mcp-redfish
# OR use Makefile shortcut:
make run-stdio
# Option 2: Run as module (development/CI)
uv run python -m src.main
Installation
Follow these instructions to install the server.
# Clone the repository
git clone
cd mcp-redfish
# Install dependencies using uv
make install
# Or install with development dependencies
make install-dev
Configuration
The Redfish MCP Server uses environment variables for configuration. The server includes comprehensive validation to ensure all settings are properly configured.
Environment Variables
| Name | Description | Default Value | Required |
|---|---|---|---|
REDFISH_HOSTS |
JSON array of Redfish endpoint configurations | [{"address":"127.0.0.1"}] |
Yes |
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →配置
{
"mcpServers": {
"redfish": {
"command": "<full_path_uv_command>",
"args": [
"--directory",
"<your_mcp_server_directory>",
"run",
"mcp-redfish"
],
"env": {
"REDFISH_HOSTS": "[{\"address\": \"192.168.1.100\", \"username\": \"admin\", \"password\": \"secret123\"}]",
"REDFISH_AUTH_METHOD": "session",
"MCP_TRANSPORT": "stdio",
"MCP_REDFISH_LOG_LEVEL": "INFO"
}
}
}
}