mcp-redfish AGENTS.md

mcp-redfish AGENTS.md is an instructions file for Codex, OpenCode from nokia/mcp-redfish. It costs 2,219 tokens per session, scanned C, original, BSD-3-Clause.

Project instructions for nokia/mcp-redfish, a Python server that lets an AI interact with infrastructure through Redfish APIs, a standard way to manage hardware such as servers.

In plain words
What is it for?
Use them when installing dependencies, running the Redfish MCP server, preparing pre-commit checks, or running tests, linting, formatting, and type checks.
Why use it?
They give developers a consistent setup, testing, formatting, and type-checking process for the project.

Instructions file for CodexOpenCode

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/nokia/mcp-redfish/agents-md
Clone the repo
git clone --depth 1 https://github.com/nokia/mcp-redfish

Made for: Codex, OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mcp-redfish AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/nokia/mcp-redfish/agents-md.svg)](https://agentmods.dev/instructions/nokia/mcp-redfish/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/nokia/mcp-redfish/agents-md"><img src="https://agentmods.dev/badge/instructions/nokia/mcp-redfish/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 2,219 This file is loaded in full into every session.
When invoked 2,219 The same file — it is already loaded in full.
Security scan C 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.02219 $0.02219
Opus 5 $0.01110 $0.01110
Sonnet 5 $0.00444 $0.00444
Haiku 4.5 $0.00222 $0.00222

Measured 4d ago against content hash 967a40ec5ee9, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

mcp-redfish AGENTS.md scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf .venv/
AGENTS.md · 334 lines

How it starts

The opening of the file, as written. The whole thing — 334 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AGENTS.md

Project Overview

The Redfish MCP Server is a Python-based Model Context Protocol (MCP) server that provides a natural language interface for managing infrastructure via Redfish APIs. It uses FastMCP framework and integrates with the Python Redfish library to enable AI agents to interact with Redfish-enabled infrastructure components.

Key Technologies:

  • Python 3.13+
  • FastMCP framework
  • Python Redfish library
  • uv for dependency management
  • pytest for testing
  • ruff for linting and formatting
  • mypy for type checking

Development Environment Setup

Quick Start

# Clone and install dependencies
make install  # or 'make dev' for development setup with pre-commit hooks

# Install development dependencies only
make install-dev

# Install test dependencies
make install-test

Using uv directly

# Create virtual environment and install dependencies
uv venv
source .venv/bin/activate
uv sync --extra dev --extra test

Pre-commit Setup

make pre-commit-install  # Install pre-commit hooks
make pre-commit-update   # Update hooks to latest versions
make pre-commit-run      # Run hooks on all files

Build and Test Commands

Running the Server

# Recommended: Run with console script
uv run mcp-redfish
# OR use Makefile shortcut:
make run-stdio

# Alternative transports
make run-sse              # Server-Sent Events transport
make run-streamable-http  # Streamable HTTP transport

# Development/CI: Run as module
uv run python -m src.main

# Debug with MCP Inspector
make inspect

Testing

# Run unit tests
make test
# OR directly with pytest:
uv run pytest -v

# Run tests with coverage
make test-cov
# OR directly:
uv run pytest --cov=src --cov-report=xml --cov-report=term-missing --cov-fail-under=70

# Run specific test types (if marked)
uv run pytest -m unit      # Unit tests only
uv run pytest -m integration  # Integration tests only
uv run pytest -m "not slow"   # Skip slow tests

Read the full file on GitHub · 334 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 334 lines · 2,219 tokens per session scan C 967a40ec5ee9

Subscribe to this mod's changes

mcp-redfish AGENTS.md is an instructions file published in the GitHub repository nokia/mcp-redfish (19 stars, last pushed 8d ago), licensed BSD-3-Clause. It adds 2,219 tokens to every session, about $0.0111 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other instructions, from other repositories

firmware CLAUDE.md

Claude Code instructions for OpenIPC/firmware, covering claude.md, what this is, before you start: is this the right repository?, build and common tasks.

OpenIPC/firmware · 4,948 tokens

Tutorial_AwesomeModernCPP AGENTS.md

AGENTS.md instructions for Awesome-Embedded-Learning-Studio/Tutorial_AwesomeModernCPP, covering agents.md, 这是什么, 通用 essentials(所有 agent 必读) and 你来做什么?(按场景路由).

Awesome-Embedded-Learning-Studio/Tutorial_AwesomeModernCPP · 778 tokens

brilliant_sdk AGENTS.md

Instructions for brilliantlabsAR/brilliant_sdk, covering brilliant sdk — agent guide, how an app works (the pattern behind everything), minimal reading paths, verify without hardware and testing.

brilliantlabsAR/brilliant_sdk · 1,817 tokens

NeoMind CLAUDE.md

Claude Code instructions for camthink-ai/NeoMind, covering neomind — edge ai platform for iot, development commands, ecosystem repositories, extension package contract (.nep) and device type template contract (json).

camthink-ai/NeoMind · 4,457 tokens

AMD-BC-250-Windows-Driver AGENTS.md

Instructions for Keshas-dev/AMD-BC-250-Windows-Driver, covering amd bc-250 windows driver — agent notes, host machine, ⚠️ historical-data caution (2026-08-21, strengthened), fresh re-verifications (current build, 2026-08-21) and workspace boundary.

Keshas-dev/AMD-BC-250-Windows-Driver · 48,206 tokens

zmk-config AGENTS.md

AGENTS.md instructions for urob/zmk-config, covering customization guide, ground rules, how the multi-board layout works, adding a new board and where to change what.

urob/zmk-config · 1,867 tokens