mcp-server-apple-events: Instructions file for Codex

AGENTS.md

mcp-server-apple-events AGENTS.md is an instructions file for Codex, OpenCode from FradSer/mcp-server-apple-events. It costs 840 tokens per session, scanned A, original, MIT.

A repository guide for developing an MCP server, a program that lets AI assistants use connected tools, with native macOS access to Apple Reminders and Calendar. It describes the TypeScript code, vendored Swift helper, validation rules, tests, and development commands.

In plain words
What is it for?
Use it to develop in watch mode, run Jest tests with mocks, check formatting and imports, rebuild the Swift helper, and find server, tool, utility, validation, and test code.
Why use it?
It explains how the project is organized and how to install, build, test, format, lint, and type-check it without guessing which commands or files matter.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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-server-apple-events AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/fradser/mcp-server-apple-events/agents-md"><img src="https://agentmods.dev/badge/instructions/fradser/mcp-server-apple-events/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 840 This file is loaded in full into every session.
When invoked 840 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.00840 $0.00840
Opus 5.5 $0.00336 $0.00336
Sonnet 5.5 $0.00168 $0.00168
Haiku 4.5 $0.00084 $0.00084

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

Security

Grade A, and why

mcp-server-apple-events 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 24d 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

Copies of this mod

1 near-identical copy found in the catalogue:

AGENTS.md · 36 lines

How it starts

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

Repository Guidelines

Project Structure & Module Organization

Source lives in src/, segmented into clean architecture rings so dependencies flow inward. Transport adapters sit in src/server/, the vendored Swift CLI binary (bin/event) is built from the vendor/event git submodule, and automation workflows stay under src/tools/. Shared helpers live in src/utils/ (including eventCli.ts — the wrapper around bin/event), while src/validation/ enforces Zod contracts on every reminder payload. Tests co-locate as *.test.ts beside subjects to keep TDD feedback immediate, and generated binaries rebuild instead of touching dist/.

Build, Test, and Development Commands

Run pnpm install to sync the locked dependency graph (and to build the vendored event CLI via the postinstall hook). Use pnpm dev for watch-mode TypeScript development without recompiling the Swift binary. Execute pnpm test to run the Jest suite through ts-jest and the __mocks__/eventCli.ts mock. Run pnpm exec biome check before commits to enforce formatting, linting, and import ordering, and rebuild the native helper with pnpm build:event whenever the vendor/event submodule pin moves.

Coding Style & Naming Conventions

Biome enforces two-space indentation, single quotes, and sorted imports across .ts files. Choose camelCase for variables and functions, PascalCase for classes, and reuse screaming snake constants from src/utils/constants.ts when system identifiers need emphasis. Prefer composition, dependency injection, and repository abstractions to keep outer layers independent of inner logic, and comment only to justify architectural trade-offs or business rules.

Testing Guidelines

Follow strict RED-GREEN-REFACTOR cycles by writing a failing Jest spec beside each new unit. Use the fixtures under src/__mocks__/ to stabilize reminder schema behavior and initialize shared state through src/test-setup.ts. Narrow prompt template changes by targeting pnpm test -- src/server/prompts.test.ts. Name specs <module>.test.ts for discoverability and prioritize schema and error-path coverage before happy paths.

Read the full file on GitHub · 36 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. 24d ago Changed · +1 tokens per session 2e46eff62ad6
  2. 2mo ago First seen · 36 lines · 839 tokens per session scan A 428a9bda8a84

Subscribe to this mod's changes

mcp-server-apple-events AGENTS.md is an instructions file published in the GitHub repository FradSer/mcp-server-apple-events (232 stars, last pushed yesterday), licensed MIT. It adds 840 tokens to every session, about $0.0034 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-30.

Related

mcp-server-apple-events AGENTS.md compared with instructions from other repositories

mcp-server-apple-events AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mcp-server-apple-events AGENTS.mdFradSer/mcp-server-apple-eventsInstructions file232yesterdayMITA840Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode ai-customization.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA1,907GitHub Copilot