TYPO3 MCP Server: Edit Content with AI in Workspaces

A TYPO3 v14 fork of Marco Pfeiffer's MCP server: OAuth 2.1/PKCE transport, 44 workspace-safe tools, a declarative security model via Capabilities.yaml, and a CLI mirror for DDEV.

Auf einen Blick

  • A fork of Marco Pfeiffer's MCP server, focused on TYPO3 v14 and extended with OAuth, Workspaces, and dev tools.
  • 44 MCP tools for discovery, navigation, reading/writing, workspace workflow, file management, and admin ops.
  • Declarative security model via Configuration/Capabilities.yaml — removing an entry deactivates dependent tools.
  • Complete CLI mirror via vendor/bin/typo3 mcp:<tool> for local development and DDEV stdio mode.

The Model Context Protocol (MCP) provides a standard way for AI agents and language models to access external systems. For TYPO3, this means editors and developers can retrieve and edit content, page structures, and configurations straight from Cursor, Claude Desktop, or n8n, with no need to build bespoke API interfaces. As our foundation, we use the hauptsacheNet/typo3-mcp-server extension by Marco Pfeiffer.

This fork narrows the original concept to TYPO3 v14 and adds workspace-safe operations , a complete OAuth 2.1/PKCE transport , and a declarative security model you can configure through a YAML file without touching code. The result is an MCP server that runs both remotely via /mcp and locally via stdio in DDEV.


Table of Contents  

Overview

Context of the fork and differentiation from the upstream project.

What has been done

Changes and enhancements compared to the original.

Features in detail

The 44 MCP tools, security model, and transport options.

Installation

Composer setup and client configuration for Cursor and Claude Desktop.

Overview  

An MCP server acts as a standardised bridge between a language model and an external system. In a TYPO3 context, this means an AI assistant can create pages, read content, submit workspace drafts, and query records, all through a clearly defined interface that the model understands, with no need to implement its own HTTP clients or authentication logic.

The hn/typo3-mcp-server fork (extension key mcp_server) targets TYPO3 v14 installations and offers a production-ready option for AI-assisted editorial and development workflows. The backend module "User → MCP Server" remains the central hub for token management and client setup, without requiring deep changes to your existing TYPO3 structures.

For TYPO3 v14

This extension requires typo3/cms-core ^14.0, typo3/cms-backend ^14.0, and typo3/cms-workspaces ^14.0. PHP >=8.2 is supported, and CI runs for PHP 8.2–8.5. All v12/v13 paths have been removed.

What has been done  

The starting point is hauptsacheNet/typo3-mcp-server by Marco Pfeiffer , which already provides a working MCP server for TYPO3. The fork narrows the extension entirely to TYPO3 v14: all v12/v13 compatibility paths have been removed, Composer constraints raised to ^14.0, and the whole codebase refactored specifically for v14, including a fix for the defaultPageTSconfig removed in v14 and XLIFF 2.0 ICU support.

On the feature side, we have added OAuth 2.1/PKCE remote transport, a complete backend module with token management, a local stdio mode with DDEV auto-detection, and DDEV stdio fixes. The workspace workflow gained workspace-safe operations , with every tool checking the active workspace context. Further additions include dev-site tools (SiteSettings, ViewHelper reference, CreateLocallang, TCA-MCP-Resources), a live test suite for LLM benchmarks, and a complete CLI mirror that makes every MCP tool runnable even without an AI client.

The security model has been rethought from the ground up: instead of hardcoded permissions, a declarative Configuration/Capabilities.yaml governs the scope of the tools. Removing an entry deactivates all dependent tools, with no code changes required.

Features in detail  

Discovery & Schema

Query TCA structures, fields, and extension configuration, so AI models can understand the data model.

Navigation & Search

Traverse the page tree and find records via backend search. Workspace-safe thanks to built-in overlay logic.

Reading & Writing

Read, create, edit, and delete records and page content through the TYPO3 DataHandler, so every change follows the rules.

Workspace Workflow

Submit, review, and publish drafts. All operations respect the active workspace context.

Sandboxed File Management

Read and upload FAL files within defined permission boundaries.

Content Import

Import structured content (Markdown, HTML) as TYPO3 content elements.

Diagnostics

Expose extension status, system configuration, and error logs for AI-assisted diagnostics.

Admin & Ops

Clear the cache, trigger scheduler tasks, and check system status, bringing DevOps workflows into the AI agent.

Remote transport uses OAuth 2.1 with PKCE via the /mcp endpoint. For local development and DDEV, a stdio mode with auto-detection is available. Supported clients are Cursor, Claude Desktop, and n8n, with configuration templates provided in the backend module. The CLI mirror lets you call each of the 44 tools directly via vendor/bin/typo3 mcp:<tool> with --json or --plain, which is handy for debugging and scripting without an AI client.

Installation  

Frequently Asked Questions  

Conclusion  

An MCP server for TYPO3 is not an end in itself: it makes TYPO3 editable for AI assistants without relying on proprietary integrations. The v14 fork extends the existing extension where it counts: it is workspace-safe, OAuth-secured, usable locally via DDEV, and built around a security model you can adapt without code changes. For teams looking to bring AI agents into editorial or technical TYPO3 workflows, it is a pragmatic starting point.

Acknowledgements

We would like to thank Marco Pfeiffer and hauptsacheNet for the excellent hauptsacheNet/typo3-mcp-server extension. We use it as our base and have added a TYPO3 v14 focus, workspace safety, the OAuth transport layer, and capability configuration. The bulk of the work comes from Marco Pfeiffer and hauptsacheNet: tool registration, backend integration, and the early MCP server model for TYPO3. The project is licensed under the GPL-2.0-or-later licence.

Let's talk about your project

Locations

  • Mattersburg
    Johann Nepomuk Bergerstraße 7/2/14
    7210 Mattersburg, Austria
  • Vienna
    Ungargasse 64-66/3/404
    1030 Wien, Austria

Parts of this content were created with the assistance of AI.