# Total CMS MCP server

> Exposes flat-file site collections and schemas to AI agents for direct querying and content management.

- Repository: https://github.com/totalcms/cms
- Page: https://hostedmcp.org/servers/totalcms/cms
- Transport: remote
- Stars: 10
- Latest version: 1.0.2

## Install

### Claude Code

```sh
claude mcp add --transport http cms https://totalcms.co/mcp
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "cms": {
      "url": "https://totalcms.co/mcp"
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "cms": {
      "type": "http",
      "url": "https://totalcms.co/mcp"
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"cms","type":"http","url":"https://totalcms.co/mcp"}'
```

### Codex

```sh
codex mcp add cms --url https://totalcms.co/mcp
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.cms]
url = "https://totalcms.co/mcp"
```

### Gemini CLI

```sh
gemini mcp add -s user --transport http cms https://totalcms.co/mcp
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "cms": {
      "url": "https://totalcms.co/mcp",
      "type": "http"
    }
  }
}
```

## FAQ

### Does Total CMS require a database?

No, it is a flat-file CMS that stores content as JSON files on disk.

### What are the system requirements?

You need PHP 8.2+ (8.4 supported), Composer 2.0+, and Apache or Nginx with URL rewriting.
