support-mcp CLAUDE.md

support-mcp CLAUDE.md is an instructions file for coding agents from tehprof/support-mcp. It costs 1,821 tokens per session, scanned A, original, MIT.

A set of Claude Code instructions for a support server that lets AI clients such as Claude, GPT, and Gemini manage a support system through a shared protocol.

In plain words
What is it for?
Use it when developing or maintaining the TehProf Support MCP server, a Node.js and TypeScript service that connects AI clients to support operations.
Why use it?
It sets required checks and working rules for changes, including error checks, architecture review, tool choices, file-size limits, and cleanup.

Instructions file

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.

agentmods
npx agentmods add instructions/tehprof/support-mcp/claude-md
Clone the repo
git clone --depth 1 https://github.com/tehprof/support-mcp

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 support-mcp CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/tehprof/support-mcp/claude-md.svg)](https://agentmods.dev/instructions/tehprof/support-mcp/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/tehprof/support-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/tehprof/support-mcp/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,821 This file is loaded in full into every session.
When invoked 1,821 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.01821 $0.01821
Opus 5 $0.00911 $0.00911
Sonnet 5 $0.00364 $0.00364
Haiku 4.5 $0.00182 $0.00182

Measured 3d ago against content hash 0a675fa4adfa, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

support-mcp CLAUDE.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 3d 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.md · 127 lines

How it starts

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

Support MCP Server — CLAUDE.md

⛔ ГЛОБАЛЬНЫЕ ПРАВИЛА (подробности → /srv/CLAUDE.md)

#0 Ошибки первым делом — проверить ошибки ПЕРЕД любой задачей + bash /root/.claude/hooks/guardian-check.sh #1 Автоклассификация — вопрос / любое изменение=architect-first / крупное=волны (категорий "мелкий"/"средний" НЕТ) + чеклисты до и после кода #2 Auto-Skills — hook подсказал Skill → вызвать Skill tool (security, perf, pipeline, qa...) TOOL USAGE — MCP (docker, postgres, redis, playwright, context7) вместо Bash Самоочистка — удалять temp файлы после задачи Размер файлов — Backend: 400 | Frontend: 350 | CSS: 250 строк Новый сервис/master-architect обязательно

Назначение

MCP (Model Context Protocol) сервер для TehProf Support. Позволяет любому AI-клиенту (Claude, GPT, Gemini) управлять системой поддержки через стандартный протокол.

Stack

  • Runtime: Node.js 20 + TypeScript strict
  • SDK: @modelcontextprotocol/sdk v1.12+
  • Transport: Streamable HTTP (MCP spec 2025-03-26)
  • Port: 8101 (127.0.0.1)
  • Systemd: support-mcp.service

Структура

mcp-server/
├── src/
│   ├── index.ts              # HTTP server + MCP transport
│   ├── auth.ts               # API key validation
│   ├── types.ts              # TypeScript types + tier logic
│   ├── tool-registry.ts      # Tool registration + tier gating
│   ├── support-client.ts     # HTTP client → PHP backend
│   └── tools/
│       ├── free/             # Free tier tools
│       │   ├── knowledge.ts  # knowledge_search/read/list
│       │   ├── onboarding.ts # onboarding_guide/features
│       │   ├── demo.ts       # demo_create_ticket/view/workflow
│       │   ├── pricing.ts    # pricing_plans/calculate
│       │   └── system.ts     # system_health/info/tenant_info
│       ├── paid/             # Paid tier tools
│       │   ├── tickets.ts    # tickets_list/get/create/reply/update
│       │   ├── analytics.ts  # analytics_dashboard/sla/operators
│       │   ├── settings.ts   # settings_get/update/operators
│       │   ├── channels.ts   # channels_list/status/configure
│       │   └── automation.ts # automation_rules + webhooks
│       └── bitrix/
│           └── proxy.ts      # bitrix_contacts/deals/tasks/users
├── dist/                     # Compiled JS
├── package.json
└── tsconfig.json

Read the full file on GitHub · 127 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. 3d ago First seen · 127 lines · 1,821 tokens per session scan A 0a675fa4adfa

Subscribe to this mod's changes

support-mcp CLAUDE.md is an instructions file published in the GitHub repository tehprof/support-mcp (0 stars, last pushed 1mo ago), licensed MIT. It adds 1,821 tokens to every session, about $0.0091 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.