ai_agent_mcp_jira: Instructions file for Codex

AGENTS.md

ai_agent_mcp_jira AGENTS.md is an instructions file for Codex, OpenCode from MaximSantalov/ai_agent_mcp_jira. It costs 1,096 tokens per session, scanned A, a copy of mcp-atlassian AGENTS.md, MIT.

Repository guidance for an AI agent working on a Python MCP server that connects Jira and Confluence. It describes the project structure, architecture, development workflow, and rules.

In plain words
What is it for?
Use it when modifying the Jira and Confluence clients, data models, server tools, content conversion, authentication, or tests in this repository.
Why use it?
It gives the agent the project context needed to make changes in the right places and follow the repository's conventions. MCP, or Model Context Protocol, is a standard way for AI tools to connect to external services.

Instructions file for CodexOpenCode

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

This is MaximSantalov/ai_agent_mcp_jira's own configuration. It tells Codex and OpenCode how to work on ai_agent_mcp_jira 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 ai_agent_mcp_jira configures →

Reuse

Borrowing it

Nothing to install: this file belongs to MaximSantalov/ai_agent_mcp_jira. 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/MaximSantalov/ai_agent_mcp_jira/develop/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/MaximSantalov/ai_agent_mcp_jira

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/maximsantalov/ai_agent_mcp_jira/agents-md/github.svg)](https://agentmods.dev/instructions/maximsantalov/ai_agent_mcp_jira/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/maximsantalov/ai_agent_mcp_jira/agents-md"><img src="https://agentmods.dev/badge/instructions/maximsantalov/ai_agent_mcp_jira/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 ai_agent_mcp_jira AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/maximsantalov/ai_agent_mcp_jira/agents-md"><img src="https://agentmods.dev/badge/instructions/maximsantalov/ai_agent_mcp_jira/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,096 This file is loaded in full into every session.
When invoked 1,096 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 100% copy Near-identical to another mod 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.1 $0.01096 $0.01096
Opus 5 $0.00548 $0.00548
Sonnet 5 $0.00219 $0.00219
Haiku 4.5 $0.00110 $0.00110

Measured 9d ago against content hash aa9ab6cc3cb4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

ai_agent_mcp_jira 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 9d 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.

Origin

This is a copy

100% identical to mcp-atlassian AGENTS.md — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

AGENTS.md · 98 lines

How it starts

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

MCP Atlassian

Audience: LLM-driven engineering agents


Repository map

Path Purpose
src/mcp_atlassian/ Library source (Python ≥ 3.10)
├─ jira/ Jira client + 21 mixins (issues, search, SLA, metrics, …)
├─ confluence/ Confluence client + 8 mixins (pages, search, analytics, …)
├─ models/ Pydantic v2 data models (ApiModel base)
├─ servers/ FastMCP server instances (jira_mcp, confluence_mcp)
├─ preprocessing/ Content conversion (ADF/Storage → Markdown)
└─ utils/ Shared utilities (auth, logging, SSL, decorators)
tests/ Pytest suite — unit, integration, real-API validation
scripts/ OAuth setup and testing scripts

Architecture

  • Mixin composition: JiraFetcher composes 21 mixins, ConfluenceFetcher composes 8. Client inheritance is transitive through mixins.
  • FastMCP servers: servers/main.py → lifespan → dependency injection via get_jira_fetcher(ctx) / get_confluence_fetcher(ctx).
  • Tool naming: {service}_{action}_{target} (e.g., jira_create_issue, confluence_get_page).
  • Config: Environment-based from_env() factory on JiraConfig / ConfluenceConfig dataclasses.
  • Auth: Basic (Cloud + Server/DC), PAT (Server/DC), OAuth 2.0 (Cloud + Server/DC) — with multi-tenant header support.
  • Models: All extend ApiModelfrom_api_response() + to_simplified_dict().

Dev workflow

uv sync --frozen --all-extras --dev  # install dependencies
pre-commit install                    # setup hooks
pre-commit run --all-files           # Ruff + mypy
uv run pytest -xvs                   # full test suite
uv run pytest tests/unit/ -xvs       # unit tests only
uv run pytest tests/integration/     # integration tests
uv run pytest --cov=src/mcp_atlassian --cov-report=term-missing  # coverage

Tests must pass and lint/typing must be clean before committing.


Rules

  1. Package management: ONLY use uv, NEVER pip
  2. Branching: NEVER work on main, always create feature branches
  3. Type safety: All functions require type hints
  4. Testing: New features need tests, bug fixes need regression tests
  5. Commits: Use trailers for attribution, never mention tools/AI
  6. Commit types: feat, fix, docs, refactor, test, chore, perf, ci — scopes: jira, confluence, server, auth, docker, docs
  7. File hygiene: Prefer editing existing files over creating new ones
  8. Tool docs: After changing tool signatures or registrations, run uv run python scripts/generate_tool_docs.py and commit the diff; CI (Docs / check) enforces this

Read the full file on GitHub · 98 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. 9d ago First seen · 98 lines · 1,096 tokens per session scan A aa9ab6cc3cb4

Subscribe to this mod's changes

ai_agent_mcp_jira AGENTS.md is an instructions file published in the GitHub repository MaximSantalov/ai_agent_mcp_jira (0 stars, last pushed 14d ago), licensed MIT. It adds 1,096 tokens to every session, about $0.0055 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to mcp-atlassian AGENTS.md, differing in 0 lines, and is treated as a copy.

Related

Other instructions, from other repositories

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness · 3,735 tokens