freeticket-mcp: Agent for Claude Code

.claude/agents/mcp-reviewer.md

mcp-reviewer is an agent for Claude Code from AppFreeticket/freeticket-mcp. It costs 51 tokens per session (561 once invoked), scanned A, original, MIT.

A code-review agent for FreeTicket's MCP server, which lets AI tools call the FreeTicket API.

In plain words
What is it for?
It checks tool schemas, API paths, pagination, errors, security headers, write-operation descriptions, startup configuration, and type checking.
Why use it?
It helps catch broken API contracts, unsafe secret handling, poor error reporting, and invalid generated-client changes before a pull request is merged.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

This is AppFreeticket/freeticket-mcp's own configuration. It tells Claude Code how to work on freeticket-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 freeticket-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to AppFreeticket/freeticket-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/AppFreeticket/freeticket-mcp/main/.claude/agents/mcp-reviewer.md
Clone the repo
git clone --depth 1 https://github.com/AppFreeticket/freeticket-mcp

Made for: Claude Code.

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-reviewer

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/appfreeticket/freeticket-mcp/mcp-reviewer"><img src="https://agentmods.dev/badge/agents/appfreeticket/freeticket-mcp/mcp-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 561 The whole file, excluding the scripts and references it only reads on demand.
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.00051 $0.00561
Opus 5.5 $0.00020 $0.00224
Sonnet 5.5 $0.00010 $0.00112
Haiku 4.5 $0.00005 $0.00056

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

Security

Grade A, and why

mcp-reviewer 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 1mo 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.

.claude/agents/mcp-reviewer.md · 43 lines

What it actually says

You review FreeTicket's MCP server. You hunt for what breaks in production or leaks data, not for style.

What to review

  1. Contract. No tool calls a path or operation absent from openapi.json, admin-openapi.json or public-openapi.json. None of src/client/, src/admin-client/ or src/public-client/ was hand-edited — they are generated.
  2. Schemas. Every tool has a zod input matching the operation's real parameters. No z.any() to dodge typing. Cursor pagination done right.
  3. Errors. A non-2xx status from the backend reaches the client as an MCP error with a useful message; it is never swallowed, and never returned as a silent null.
  4. Security. The API key travels only in the Authorization header — never in logs, in a tool's output, or in an error message. X-Workspace-Id only when configured. No hardcoded secrets. The remote server is stateless: it reads credentials from the request, never from ~/.freeticket/config.json.
  5. Writes. Mutating tools (POST/PATCH/DELETE) declare their effects in the description and carry the right MCP annotations (destructiveHint, idempotentHint), so the host asks for human confirmation.
  6. Startup. A missing FT_API_KEY fails fast and clearly (exit), not halfway through a tool.
  7. Coverage. src/coverage.test.ts must stay green: a newly exposed endpoint with no tool fails the test, and a deliberate exclusion carries its reasoning next to the test.
  8. Language. Everything user-visible is English — tool names, descriptions, error messages. Spanish text in a new tool is a finding.

Rules

  • pnpm typecheck and pnpm test must pass; run them.
  • Report by severity with a file:line and a minimal fix. Do not rewrite more than needed.
  • If a change exposes sensitive data (buyer PII and the like) in a tool without needing to, mark it blocking.
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. 1mo ago Changed · +11 lines · -11 tokens per session 4a463e2d4ffe
  2. 2mo ago First seen · 32 lines · 62 tokens per session scan A 906d4f743cb6

Subscribe to this mod's changes

mcp-reviewer is an agent published in the GitHub repository AppFreeticket/freeticket-mcp (0 stars, last pushed 7d ago), licensed MIT. It adds 51 tokens to every session and 561 once invoked, about $0.0002 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

Other agents, from other repositories

thermo-nuclear-code-quality-review-subagent

Thermo-nuclear code quality audit (maintainability, structure, 1k-line rule, spaghetti, code-judo). Invoked through the Agent tool after a parent gathers diff and file contents. Loads rubric from the thermo-nuclear-code-quality-review skill in this plugin.

michael-denyer/pstack-claude · 68 tokens

predictive-analyst

Precognition agent. Analyzes code changes to predict impact, regressions, and conflicts BEFORE they happen. Uses dependency graphs and historical data.

softspark/ai-toolkit · 35 tokens

verification-subagent

Verifies if a task from the implementation plan has been completed by checking source files.

closedloop-ai/claude-plugins · 21 tokens

atomic-auditor

Final gate for a finished implementation. Dispatched exactly once after the implement-review loop goes green, never per iteration. Never touches the repo; its one write is the audit report into the task scratchpad. Audits the delivered work as a whole: cumulative spec compliance, cross-iteration coherence…

damusix/atomic-claude · 169 tokens

verifier

Verification agent for /craft:research-verify. Takes a single claim from existing research and attempts to disprove it using independent primary sources. Returns a verdict (CONFIRMED/REFUTED/PARTIALLYTRUE/UNVERIFIABLE) with evidence. NOT a researcher. Does not discover new topics or cast a wide net. Takes one claim…

drobins25/craft · 178 tokens

close-auditor

You are a skeptical, evidence-first auditor of finance deliverables: financial statements, close packages, budget-variance reports, tax calculations, and IR financial models. You operate in a strictly read-only capacity — you inspect artifacts and report findings; you never fix them yourself.

modu-ai/moai-cowork · 85 tokens