check-tcc

check-tcc is a command for Claude Code from PsychQuant/che-ical-mcp. It costs 51 tokens per session (780 once invoked), scanned A, original, MIT.

A diagnostic command for checking macOS privacy permissions for the Che-ical MCP program. It shows which installed program is being checked, its path, and the commands needed to reset or request permission.

In plain words
What is it for?
Use it to check whether Che-ical MCP can access the required system data, locate its binary, and prepare permission reset or setup commands.
Why use it?
It makes unclear macOS permission failures easier to interpret by distinguishing full access, no decision, denial, and limited access. It also points to the next command for each state.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Claude Code.

Part of the che-ical-mcp plugin — 3 skills, 5 commands, 2 hooks shipped together

Good fit Use it to check whether Che-ical MCP can access the required system data, locate its binary, and prepare permission reset or setup commands.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/psychquant/che-ical-mcp/check-tcc
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/PsychQuant/che-ical-mcp

Made for: Claude Code.

Or install che-ical-mcp, the plugin that ships this one along with the rest of its 3 skills, 5 commands, 2 hooks.

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 check-tcc

README.md
[![agentmods](https://agentmods.dev/badge/commands/psychquant/che-ical-mcp/check-tcc.svg)](https://agentmods.dev/commands/psychquant/che-ical-mcp/check-tcc)
Your own site
<a href="https://agentmods.dev/commands/psychquant/che-ical-mcp/check-tcc"><img src="https://agentmods.dev/badge/commands/psychquant/che-ical-mcp/check-tcc.svg" alt="Measured on agentmods" 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 780 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.00780
Opus 5 $0.00026 $0.00390
Sonnet 5 $0.00010 $0.00156
Haiku 4.5 $0.00005 $0.00078

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

Security

Grade A, and why

check-tcc 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 8d 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.

plugin/commands/check-tcc.md · 55 lines

How it starts

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

Check TCC Permission State

Run the v1.9.0+ binary's --print-tcc-path diagnostic, then present the output in a structured format.

Execution

  1. Locate the binary (both installs — Desktop .mcpb and Claude Code wrapper):

    # Desktop .mcpb install first, then Claude Code wrapper install (~/bin)
    BINARY=$(find ~/Library/Application\ Support/Claude -name CheICalMCP 2>/dev/null | head -1)
    [ -z "$BINARY" ] && [ -x "$HOME/bin/CheICalMCP" ] && BINARY="$HOME/bin/CheICalMCP"
    

    If still empty → neither install found. For Claude Desktop, install the .mcpb; for Claude Code, the plugin wrapper auto-downloads ~/bin/CheICalMCP on first MCP spawn. Both from https://github.com/PsychQuant/che-ical-mcp/releases/latest

  2. Run the diagnostic:

    "$BINARY" --print-tcc-path
    
  3. Present the output with a quick interpretation:

    Status Meaning Next step
    fullAccess (granted) ✅ OK Tools should work
    notDetermined Never asked Run "$BINARY" --setup from Terminal
    denied Explicitly denied tccutil reset then re-grant (see troubleshoot-tcc skill Step 4–5)
    writeOnly Partial access Upgrade in System Settings manually
    restricted System policy Check Screen Time / MDM
  4. Remind about the two TCC layers (#168): the status above is context-dependent — it reflects the attribution of the context this command ran in (for a Claude Code session's Bash tool, that's the Claude Code side), not an absolute property of the binary. Besides the CheICalMCP entry, System Settings → Privacy & Security → Calendar / Reminders may need a host-layer entry toggled ON:

    Host Host-layer entry
    Claude Code A version-number entry like 2.1.202 (= the Claude Code native binary; rotates on every update, #170)
    Terminal / VS Code The app's own name
    Claude Desktop None needed (disclaimer isolation — the .mcpb CheICalMCP entry is self-contained)

Read the full file on GitHub · 55 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. 8d ago First seen · 55 lines · 51 tokens per session scan A 0cef74249ab8

Subscribe to this mod's changes

check-tcc is a command published in the GitHub repository PsychQuant/che-ical-mcp (36 stars, last pushed today), licensed MIT. It adds 51 tokens to every session and 780 once invoked, about $0.0003 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-30.