vikunja-mcp: Instructions file for Codex

AGENTS.md

vikunja-mcp AGENTS.md is an instructions file for Codex, OpenCode from TadMSTR/vikunja-mcp. It costs 3,398 tokens per session, scanned A, original, MIT.

Project instructions for vikunja-mcp, a server that exposes Vikunja's task-management API as tools for projects, tasks, labels, comments, saved filters, and webhooks.

In plain words
What is it for?
Use them when changing the server, its API mappings, authentication, HTTP client, hooks, errors, or tests.
Why use it?
They define which module handles each responsibility and protect rules such as per-request authentication and no stored credentials.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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 vikunja-mcp AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/tadmstr/vikunja-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/tadmstr/vikunja-mcp/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,398 This file is loaded in full into every session.
When invoked 3,398 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 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.1 $0.03398 $0.03398
Opus 5.5 $0.01359 $0.01359
Sonnet 5.5 $0.00680 $0.00680
Haiku 4.5 $0.00340 $0.00340

Measured 16d ago against content hash dd4386c929b4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

vikunja-mcp 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 16d 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 · 182 lines

How it starts

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

AGENTS.md — vikunja-mcp

Operating contract for Claude sessions working in this repo.

What this server does

Exposes the Vikunja REST API (/api/v2) as MCP tools for projects, tasks, labels, comments, saved filters, and webhooks. It is a thin, stateless translator — no business logic, no caching, no persistence.

Minimum Vikunja is 2.4.0, the release that shipped /api/v2. The version is applied in client._api_base(), not configured — dual-version support was considered and rejected.

Module boundaries

Module Responsibility Must NOT
config.py Env-var settings (upstream URL, transport binding) Hold any Vikunja token
auth.py Extract the caller's bearer token from the incoming request Fall back to any ambient/default credential
client.py One pooled httpx client; per-request auth; error mapping; the pagination envelope Store a token on the client instance
server.py Tool definitions + verb/path mapping to Vikunja Contain HTTP or credential logic inline
exceptions.py Typed error hierarchy —
hooks.py Pre/post extension-hook registry, keyed on tool name Swallow handler exceptions — hooks are not fire-and-forget
telemetry.py Optional OTLP spans/metrics, InfluxDB3, NATS — inert unless env-configured Become a hard import dependency; a missing extra must degrade, not crash
contrib/ Opt-in add-ons a deployment may register (e.g. audit_log) Be imported unconditionally — the one exception is audit_log, gated behind VIKUNJA_AUDIT_LOG=1 in register_builtin_hooks (vikunja#342, id 361); everything else in contrib/ still needs its own explicit registration

Invariants (do not break)

  1. No stored credentials. This process never reads a Vikunja token from Vault, env, or disk. The token arrives per request in the Authorization header and is forwarded verbatim. This is the whole security model — see SECURITY.md.
  2. Fail closed. A missing or empty Authorization header raises AuthError; it is never treated as anonymous or defaulted.
  3. authorization must be explicitly opted into get_http_headers(include={...}) — the library strips it by default. tests/test_auth.py::test_authorization_header_is_explicitly_requested guards this; do not remove it.
  4. POST creates, PUT replaces, PATCH merges on v2. Keep *_create on POST and *_update on PUT. tests/test_server.py pins every mapping and scripts/verify-routes.py checks it against the live router.

Read the full file on GitHub · 182 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. 16d ago Changed · +17 lines · +361 tokens per session dd4386c929b4
  2. 1mo ago Changed · +7 lines · +126 tokens per session 3e58a0e231f2
  3. 2mo ago First seen · 158 lines · 2,911 tokens per session scan A 9ceee6c5586d

Subscribe to this mod's changes

vikunja-mcp AGENTS.md is an instructions file published in the GitHub repository TadMSTR/vikunja-mcp (3 stars, last pushed 3d ago), licensed MIT. It adds 3,398 tokens to every session, about $0.0136 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

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

vikunja-mcp AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
vikunja-mcp AGENTS.mdTadMSTR/vikunja-mcpInstructions file33d agoMITA3,398Codex, 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