Total CMS — Claude Code MCP server: what it does, how to install
Connects Total CMS documentation to your coding assistant. Look up Twig signatures, schemas, and CLI commands while building PHP sites.
claude mcp add --transport http docs https://totalcms.co/mcpWhat Total CMS does
This MCP endpoint gives your AI assistant direct reference material for Total CMS via HTTP at https://totalcms.co/mcp. It includes details on 89 filters and 49 functions for Twig 3, alongside form field options and REST API routes. That keeps your chat focused on code without switching to a browser.
The CMS itself runs on PHP 8.2 or newer with Slim 4. It saves content directly as JSON files on disk. No MySQL instance is needed. The server also covers the tcms command-line utility for cache clearing, site deployments, and content exports.
The public MCP server operates in read-only mode for documentation. Inspecting live site schemas and collections directly requires the Pro edition. While testing is covered by a 45-day trial, production use demands a commercial license.
What it helps with
- reference Twig 3 filter and function syntax
- look up schema options for content collections
- check arguments for the tcms command-line tool
- verify REST API endpoints during headless development
Example prompts for the agent
- Show the Twig markup to render a blog collection in Total CMS.
- Which parameters does tcms jumpstart:export accept?
- How do I configure API key authentication for the Total CMS REST API?
How to install Total CMS
Platform CLI: remote server
claude mcp add --transport http docs https://totalcms.co/mcpPlatform CLI: remote server
codex mcp add total-cms --url https://totalcms.co/mcpConfig file
{
"mcpServers": {
"total-cms": {
"url": "https://totalcms.co/mcp"
}
}
}Config file
{
"servers": {
"total-cms": {
"type": "http",
"url": "https://totalcms.co/mcp"
}
}
}Platform CLI: remote server
gemini mcp add -t http total-cms https://totalcms.co/mcpStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Total CMS
How to install Total CMS in Claude Code?
Run claude mcp add --transport http total-cms https://totalcms.co/mcp in your terminal.
What does the Total CMS MCP server do?
It supplies your AI assistant with documentation for Twig 3 filters, REST API endpoints, schemas, and tcms CLI tools.
Does Total CMS require a database server?
No database is needed. Total CMS stores site content as flat JSON files on disk.