Contentstack App MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| cs_preflightA | Step 3 of the create workflow. Validates a structured app spec and infers security tier + permissions. Call after drafting spec, before cs_plan. Read cs://spec-schema before calling. Input: { spec: object } Output: { valid, errors, warnings, security_tier, inferred_permissions, needs_app_config } |
| cs_planA | Step 4 of the create workflow. Stateless confirmation gate — validates spec and returns a confirmation_prompt. Call after cs_preflight. Show confirmation_prompt to user and WAIT for approval before proceeding to cs_manifest. Input: { spec: object } Output: { success, confirmation_prompt, security_tier, warnings } |
| cs_manifestA | Step 5 of the create workflow. Generates manifest.json in Developer Hub format from a spec. Call after user approves cs_plan output. Read cs://manifest for format reference. Input: { spec: object, base_url?: string } Output: { manifest: object } — write as manifest.json |
| cs_scaffoldA | Steps 6a-6c of the create workflow. Generates source files by category with directory structure. Call 3 times (infrastructure → routing → locations) after cs_manifest. Read cs://patterns before calling. Input: { spec: object, category: 'infrastructure'|'routing'|'locations' } Output: { category, directories: string[], files: [{ path, content }] } Agent MUST create all directories first, then write files. |
| cs_analyzeA | Migration workflow step 1. Audits an existing Contentstack app repo against best practices. Call when user wants to audit, migrate, refactor, or fix an existing app. Read cs://maintenance for the checklist. Input: { repo_path: string } Output: { structure_type, framework, sdk_version, venus_version, issues[], migration_needed } |
| cs_migrateA | Migration workflow step 2. Generates an ordered migration plan from cs_analyze output. Call with the output of cs_analyze. Returns instructions only — does NOT modify files. Input: { analysis: object } (output of cs_analyze) Output: { do_not_change: string[], steps: [...] } |
| cs_venus_resolveA | Step 7 of the create workflow. Resolves UI element names to exact Venus component names, props, imports, and usage examples. Call after cs_scaffold, before cs_verify. Input: { ui_elements: string[], project_path?: string } Output: { resolutions: VenusResolution[], combined_import: string } |
| cs_verifyA | Step 8 of the create workflow. Post-generation verification. Audits the scaffolded project for structural, Venus compliance, security, and consistency issues. Call after writing all files. Repeat until passed=true. Input: { project_path: string } Output: { passed: boolean, checks: CheckResult[], fix_instructions: string[] } If passed is false, fix each issue in fix_instructions and call cs_verify again. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| cs_venus | Look up the correct Venus component for a UI need. Returns exact component name, JSX with correct props, @ts-ignore pattern if needed, and known gotchas. |
| cs_workflow | START HERE. When the user asks to build, create, scaffold, migrate, refactor, audit, or fix any Contentstack app, sidebar widget, custom field, dashboard widget, or full page app — invoke this prompt first. Returns the complete step-by-step workflow. |
| cs_migrate_check | Pre-migration guidance. Analyzes an existing repo and generates an ordered migration plan with verification steps. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| UI Location Selection Guide | All 10 UI location types with manifest_type strings, SDK interface, route paths, signal phrases, and cbModal constraints. Read before selecting UI locations. |
| App SDK Capabilities Reference | Available SDK methods by UI location type, useApi hook patterns, Advanced Settings proxy patterns, and App Config data flow. |
| Code Patterns & Venus Component Reference | Complete Venus component decision matrix, all component prop references, TypeScript @ts-ignore fix, boilerplate hooks, and inline picker pattern. Read before generating any UI code. |
| Manifest.json Format Reference | Developer Hub manifest format for all 10 location types, advanced_settings patterns, webhook, OAuth, and hosting configuration. |
| Security & Permission Guide | 4-tier security model, permission strings, configuration vs serverConfiguration, and minimal permissions rule. |
| Maintenance & Migration Guide | cs_analyze checklist (what to check and at what severity), migration order, do-not-change contract, and verification commands. |
| App Specification Schema | JSON Schema for app specs — all required/optional fields, cross-field validation rules, security tier inference, and examples. |
TDQS
Scored across 8 tools
Each tool has a clearly stated workflow step and distinct purpose; the ordering and input/output contracts make roles mostly unambiguous. Minor overlap exists between cs_preflight and cs_plan (both validate/spec-gate) and between cs_analyze and cs_verify (both audit), but the descriptions distinguish their contexts well.
All tools consistently use the cs_ prefix with snake_case names, which is predictable and readable. The stems mix verbs and nouns (e.g., cs_plan, cs_manifest, cs_scaffold, cs_venus_resolve), but the convention remains clear enough for an agent to follow.
Eight tools provide a well-scoped surface for the create and migration workflows without redundancy. Each tool maps to a meaningful phase, and the count sits comfortably in the ideal 3-15 range.
The surface covers the core create workflow (validation, planning, manifest, scaffold, component resolution, verification) and migration (analyze, migrate). Minor gaps remain around initial spec drafting/import and deployment or publishing, but the critical generation and audit lifecycle is well covered.