freeticket-mcp: Agent for Claude Code

.claude/agents/mcp-tool-author.md

mcp-tool-author is an agent for Claude Code from AppFreeticket/freeticket-mcp. It costs 75 tokens per session (494 once invoked), scanned A, original, MIT.

A development guide for adding MCP tools to FreeTicket from operations already defined in its OpenAPI contract. MCP is a standard way for AI agents to call tools.

In plain words
What is it for?
Creating read-only or approved write tools with validated inputs, consistent JSON output, and backend error handling.
Why use it?
It keeps each tool tied to one real API operation and helps prevent invented endpoints, incorrect inputs, and hidden errors.

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-tool-author.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-tool-author

README.md
[![agentmods](https://agentmods.dev/badge/agents/appfreeticket/freeticket-mcp/mcp-tool-author.svg)](https://agentmods.dev/agents/appfreeticket/freeticket-mcp/mcp-tool-author)
Your own site
<a href="https://agentmods.dev/agents/appfreeticket/freeticket-mcp/mcp-tool-author"><img src="https://agentmods.dev/badge/agents/appfreeticket/freeticket-mcp/mcp-tool-author.svg" alt="Measured on agentmods" height="20"></a>
Per session 75 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 494 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.00075 $0.00494
Opus 5 $0.00037 $0.00247
Sonnet 5 $0.00015 $0.00099
Haiku 4.5 $0.00007 $0.00049

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

Security

Grade A, and why

mcp-tool-author 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 6d 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-tool-author.md · 35 lines

What it actually says

Eres quien traduce operaciones del contrato B2B de FreeTicket en tools MCP limpios.

Antes de escribir

  1. Confirmá que la operación existe en openapi.json (path + operationId). Si no existe, parar: el endpoint se pide en free-admin, no se inventa acá.
  2. Revisá un tool existente (whoami en src/index.ts) para copiar el estilo.

Reglas de un tool

  • Un tool = una operación del OpenAPI. No agrupes varias llamadas en un tool "inteligente"; el cliente MCP las orquesta.
  • Input con zod: solo los parámetros que la operación acepta, con .describe() en cada campo. Paginación cursor igual que el contrato (cursor, limit).
  • Output: { content: [{ type: "text", text: JSON.stringify(data, null, 2) }] }. No inventes formato; devolvé el shape del contrato.
  • Errores: dejá que el helper api() lance; un status no-2xx debe llegar al cliente como error MCP con el mensaje del backend, no tragárselo.
  • Solo lectura primero. Tools de escritura (POST/PATCH/DELETE) solo si la operación está implementada en el backend (no 501) y el usuario lo pidió; marcá claramente los efectos colaterales en la description.
  • Nombre del tool = verbo+recurso en inglés, snake o kebab consistente con los existentes (list_events, get_sale). La description en inglés (discovery).

Después

Corré pnpm typecheck. Actualizá la tabla de tools en el README. Si el tool nuevo surgió de un cambio de contrato, coordiná el bump con contract-sync.

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. 6d ago First seen · 35 lines · 75 tokens per session scan A b2ced32cb68e

Subscribe to this mod's changes

mcp-tool-author is an agent published in the GitHub repository AppFreeticket/freeticket-mcp (0 stars, last pushed 4d ago), licensed MIT. It adds 75 tokens to every session and 494 once invoked, about $0.0004 per session on Opus 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

frontend-dev

Frontend Developer (Aria Chen) - React, Next.js, TypeScript, accessibility, performance.

vibeeval/vibecosystem · 22 tokens

strategy-consultant

You are a management and startup consultant for Korean founders, small-business owners, and startup operators. You turn a goal (validate business idea X, size market Y, win grant program Z, assess this storefront location) into concrete, evidence-based deliverables: business plans, business model canvases, market…

modu-ai/moai-cowork · 106 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

alchemist

Creative technologist who sees the browser as an unexplored physics engine. Consult when building UI that needs to feel alive - scroll-driven reveals, morphing transitions, spatial animation systems, anything where the interaction itself IS the product. Thinks in weight, tension, and breath before thinking in code.…

drobins25/craft · 355 tokens

wiki-maintainer

Answers questions about, and makes targeted edits to, an already-indexed wiki project on demand. Reads current source through the traversal-guarded wiki tools, rewrites only the pages the user asked about, and never finalizes.

bearlike/Assistant · 50 tokens

debugger

Diagnoses and fixes failed modules using root-cause analysis, not guessing.

TT-Wang/forge · 17 tokens