mcp-redmine: Instructions file for Codex

AGENTS.md

mcp-redmine AGENTS.md is an instructions file for Codex, OpenCode from olssonsten/mcp-redmine. It costs 412 tokens per session, scanned A, original, from a forked repository, MPL-2.0.

Repository instructions for an MCP server that connects coding agents to Redmine, a project-management and issue-tracking system. They describe how the code is built, tested, and structured.

In plain words
What is it for?
Running tests with the project's uv and Make commands, configuring Redmine access, handling API responses, using response filters, and working with file uploads and downloads.
Why use it?
They give an agent the project-specific rules it needs to avoid incorrect commands, configuration, response handling, and file paths.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions AGENTS.md.

This is olssonsten/mcp-redmine's own configuration. It tells Codex and OpenCode how to work on mcp-redmine itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything mcp-redmine configures →

Reuse

Borrowing it

Nothing to install: this file belongs to olssonsten/mcp-redmine. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/olssonsten/mcp-redmine/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/olssonsten/mcp-redmine

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-redmine AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/olssonsten/mcp-redmine/agents-md/github.svg)](https://agentmods.dev/instructions/olssonsten/mcp-redmine/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/olssonsten/mcp-redmine/agents-md"><img src="https://agentmods.dev/badge/instructions/olssonsten/mcp-redmine/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mcp-redmine AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/olssonsten/mcp-redmine/agents-md"><img src="https://agentmods.dev/badge/instructions/olssonsten/mcp-redmine/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 412 This file is loaded in full into every session.
When invoked 412 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin fork From a forked repository.
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.1 $0.00412 $0.00412
Opus 5.5 $0.00165 $0.00165
Sonnet 5.5 $0.00082 $0.00082
Haiku 4.5 $0.00041 $0.00041

Measured 2mo ago against content hash 5f53a065b663, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mcp-redmine AGENTS.md scanned grade A with 0 findings 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 2mo 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

AGENTS.md · 30 lines

What it actually says

AGENTS.md

This file provides guidance to agents when working with code in this repository.

Build/Test Commands

  • make test - Run tests using uv with dev dependencies (not standard pytest)
  • make test-coverage - Generate HTML coverage reports in htmlcov/
  • uv sync --group dev - Install dev dependencies (required before testing)
  • uv run --group dev pytest tests/ -v - Direct test execution with uv

Project-Specific Patterns

  • Environment Variables Required: REDMINE_URL and REDMINE_API_KEY must be set or server fails to start
  • Response Filtering Architecture: All API responses go through apply_response_filter() with backward compatibility fallback
  • Filter Presets: Use string preset names ("minimal", "clean", "essential_issues") that get converted to dict configs
  • Error Handling Pattern: All tools return YAML with {status_code, body, error} structure, never raise exceptions
  • File Path Requirements: Upload/download tools require fully qualified absolute paths, not relative paths
  • OpenAPI Integration: redmine_openapi.yml is loaded at startup and used for path validation and MCP capabilities

Critical Implementation Details

  • Filtering Fallback: If mcp_filter processing fails, original response is returned (lines 99-102 in server.py)
  • Version Sync: VERSION constant in server.py must match pyproject.toml version for releases
  • MCP Tool Decoration: All tools use @mcp.tool() decorator and return YAML strings, not Python objects
  • Custom Fields Handling: Special filtering logic for custom_fields arrays based on field names
  • Content-Type Switching: Upload tool switches to 'application/octet-stream' for file uploads

Testing Requirements

  • Tests must use pytest with uv run wrapper
  • All filtering tests verify backward compatibility
  • Response filter tests check both success and error scenarios
  • Preset tests validate all presets work with actual filtering system
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. 2mo ago First seen · 30 lines · 412 tokens per session scan A 5f53a065b663

Subscribe to this mod's changes

mcp-redmine AGENTS.md is an instructions file published in the GitHub repository olssonsten/mcp-redmine (1 stars, last pushed 1y ago), licensed MPL-2.0. It adds 412 tokens to every session, about $0.0016 per session on Opus 5.5. A static security scan graded it A with 0 findings. It comes from a forked repository.

Related

mcp-redmine AGENTS.md compared with instructions from other repositories

mcp-redmine AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mcp-redmine AGENTS.mdolssonsten/mcp-redmineInstructions file11y agoMPL-2.0A412Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode