20i-MCP: Instructions file for Claude Code

CLAUDE.md

20i-MCP CLAUDE.md is an instructions file for Claude Code from Cbrown35/20i-MCP. It costs 1,564 tokens per session, scanned A, original, MIT.

A project instruction file for a server that connects an AI agent to the 20i hosting service. It documents the project structure, development commands, testing commands, and API coverage.

In plain words
What is it for?
It is for working on the 20i MCP server, including compiling it, running it in development or production, executing tests, and checking which hosting API endpoints are implemented.
Why use it?
It gives the agent the repository-specific information needed to build, run, test, and inspect the hosting integration consistently.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions Claude Code.

This is Cbrown35/20i-MCP's own configuration. It tells Claude Code how to work on 20i-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 20i-MCP configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Cbrown35/20i-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/Cbrown35/20i-MCP/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/Cbrown35/20i-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 20i-MCP CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/cbrown35/20i-mcp/claude-md.svg)](https://agentmods.dev/instructions/cbrown35/20i-mcp/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/cbrown35/20i-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/cbrown35/20i-mcp/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,564 This file is loaded in full into every session.
When invoked 1,564 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.01564 $0.01564
Opus 5 $0.00782 $0.00782
Sonnet 5 $0.00313 $0.00313
Haiku 4.5 $0.00156 $0.00156

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

Security

Grade A, and why

20i-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 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.

CLAUDE.md · 136 lines

How it starts

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

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Project Overview

20i MCP Server - Model Context Protocol server for 20i hosting API with 90.4% API coverage (303 implemented tools out of 335 total endpoints). This is a production-ready automation-focused project designed to minimize human intervention in hosting management tasks.

Development Commands

Build & Development

npm run build      # Compile TypeScript to /build directory
npm run dev        # Development mode with tsx hot reloading
npm run start      # Production server (node build/index.js)
tsx src/index.ts   # Alternative development command

Testing & Analysis

npm test                       # Run Jest test suite
npm run test:watch             # Run tests in watch mode for development
npm run test:coverage          # Run tests with coverage reporting
scripts/check-api-coverage.sh  # Analyze API coverage and identify gaps

Core Architecture

Main Components

  • TwentyIClient Class: Centralized API client in src/core/client.ts with comprehensive error handling and response validation
  • MCP Server Instance: Main implementation in src/index.ts with 303 unique tools
  • Modular Architecture: Core functionality organized in src/core/ (client, types, validation, errors) and feature modules in src/modules/ (domains, packages)
  • Tool Definitions: 303 unique tools covering hosting, domains, WordPress, CDN, security, and database operations
  • Request Handlers: Two main handlers for ListTools and CallTool operations
  • Validation System: Comprehensive input validation utilities in src/core/validation.ts

Authentication & Security

  • Environment Variables Required: TWENTYI_API_KEY, TWENTYI_OAUTH_KEY, TWENTYI_COMBINED_KEY
  • Authentication Method: Base64 Bearer token format
  • Security: No hardcoded credentials - all authentication via environment variables
  • Input Validation: Comprehensive parameter validation and sanitization

Read the full file on GitHub · 136 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 · 136 lines · 1,564 tokens per session scan A 63ea2b7cb0a7

Subscribe to this mod's changes

20i-MCP CLAUDE.md is an instructions file published in the GitHub repository Cbrown35/20i-MCP (8 stars, last pushed 2mo ago), licensed MIT. It adds 1,564 tokens to every session, about $0.0078 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 instructions, from other repositories

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens