contentstack-mcp CLAUDE.md

contentstack-mcp CLAUDE.md is an instructions file for coding agents from darekrossman/contentstack-mcp. It costs 737 tokens per session, scanned A, original, MIT.

Project instructions for developing a Contentstack MCP server, which lets AI assistants work with Contentstack, a content management system, through a standard interface.

In plain words
What is it for?
Installing dependencies, running, building, linting, and type-checking the TypeScript server, as well as understanding its Contentstack resources and tools.
Why use it?
They give contributors the project structure, setup commands, and checks needed to make changes consistently.

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/darekrossman/contentstack-mcp/claude-md
Clone the repo
git clone --depth 1 https://github.com/darekrossman/contentstack-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 contentstack-mcp CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/darekrossman/contentstack-mcp/claude-md.svg)](https://agentmods.dev/instructions/darekrossman/contentstack-mcp/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/darekrossman/contentstack-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/darekrossman/contentstack-mcp/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 737 This file is loaded in full into every session.
When invoked 737 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.00737 $0.00737
Opus 5 $0.00368 $0.00368
Sonnet 5 $0.00147 $0.00147
Haiku 4.5 $0.00074 $0.00074

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

Security

Grade A, and why

contentstack-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 · 112 lines

How it starts

The opening of the file, as written. The whole thing — 112 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

Contentstack MCP Server is a Model Context Protocol server that integrates with Contentstack's Content Management API. It enables AI assistants like Claude to interact with Contentstack CMS through a standardized protocol.

Development Commands

# Install dependencies
npm install

# Development mode
npm run dev

# Build the project
npm run build

# Clean build artifacts
npm run clean

# Start the server (after building)
npm start

# Code Quality
npm run lint       # Check and fix code with Biome
npm run typecheck  # Type check with TypeScript

Architecture

The project is a TypeScript application structured around the Model Context Protocol (MCP):

  1. Server Definition (src/index.ts): Creates and configures the MCP server with resources, tools, and prompts.

  2. Type Definitions (src/types.ts): TypeScript interfaces for Contentstack API requests and responses.

  3. Main Components:

    • Resources: URI-based endpoints to fetch content from Contentstack
    • Tools: Functions to perform operations on Contentstack content
    • Prompts: Guided workflows for content operations
  4. Configuration:

    • The server requires Contentstack API credentials (API Key and Management Token)
    • Credentials are loaded from environment variables
    • Optional branch specification for multi-branch setups
  5. Build System:

    • Uses esbuild (lib/build.js) to bundle the application
    • Outputs to dist/bundle.js

Environment Variables and CLI Options

Required environment variables:

  • CONTENTSTACK_API_KEY: Your Contentstack stack API key
  • CONTENTSTACK_MANAGEMENT_TOKEN: Management token with necessary permissions

Optional environment variables:

  • CONTENTSTACK_BRANCH: Branch name (if using branches)

Command Line Usage

The server can be run directly via CLI with the following options:

Read the full file on GitHub · 112 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 · 112 lines · 737 tokens per session scan A d63231125391

Subscribe to this mod's changes

contentstack-mcp CLAUDE.md is an instructions file published in the GitHub repository darekrossman/contentstack-mcp (2 stars, last pushed 1y ago), licensed MIT. It adds 737 tokens to every session, about $0.0037 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.