定制 hn/typo3-mcp-server 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

hn/typo3-mcp-server

Composer 安装命令:

composer require hn/typo3-mcp-server

包简介

TYPO3 extension that provides a Model Context Protocol (MCP) server for interacting with TYPO3 pages and records

README 文档

README

This extension provides a Model Context Protocol (MCP) server implementation for TYPO3 that allows AI assistants to safely view and manipulate TYPO3 pages and records through TYPO3's workspace system.

🔒 Safe AI Content Management with Workspaces

All content changes are automatically queued in TYPO3 workspaces, making it completely safe for AI assistants to create, update, and modify content without immediately affecting your live website. Changes require explicit publishing to become visible to site visitors.

🧪 Continuously Tested With Real LLMs

Every push to main runs a benchmark that has the latest models from Anthropic, OpenAI, Mistral, and Google actually use this MCP to perform real TYPO3 tasks. That's how we stay vendor-independent and prove the tool descriptions convey what they claim across very different prompting styles — your AI assistant of choice should just work, not only ours. Click any badge for the full run-by-run history.

haiku-4.5 gpt-5.4-mini gpt-oss-120b mistral-large-2512 gemini-3-flash

What Can You Do?

With the TYPO3 MCP Server, your AI assistant can help you:

📝 Content Management

  • Translate Pages: "Translate the /about-us page to German" - The AI reads your content, translates it, and creates proper language versions
  • Import Documents: "Create a news article from this Word document" - Transform external documents into TYPO3 content with proper structure
  • Bulk Updates: "Update all product descriptions to include our new sustainability message" - Make consistent changes across multiple pages

🔍 Content Analysis & SEO

  • SEO Optimization: "Add meta descriptions to all pages that don't have them" - Automatically generate missing SEO content based on page content
  • Tone Analysis: "Review the tone of our product pages and make them more friendly" - Get suggestions for improving content voice and style
  • Content Audit: "Find all pages mentioning our old company name" - Quickly locate content that needs updating

🚀 Productivity Boosters

  • Template Application: "Apply our standard legal disclaimer to all service pages" - Consistently apply content patterns
  • Content Migration: "Copy all news articles from 2023 to the archive folder" - Reorganize content efficiently
  • Multi-language Management: "Ensure all German pages have English translations" - Identify and fill translation gaps

All these operations happen safely in workspaces, giving you full control to review before publishing!

💡 Want to know how it works? Check out our Technical Overview for detailed information about the implementation, available tools, and real-world examples with actual tool calls.

Project Status

Feature Status Notes
MCP Connection ✅ Ready HTTP and stdin/stdout protocols (thanks to logiscape/mcp-sdk-php)
Authentication ✅ Ready OAuth for Backend Users
Page Tree Navigation ✅ Ready Page tree view similar to the TYPO3 backend
Page Content Discovery ✅ Ready Similar to the List or Page module with backend layout support
Record Reading/Writing ✅ Ready Read and write any workspace-capable TYPO3 table (core & extensions) with full schema inspection
Content Translation ⚠️ Experimental Implemented, needs real-world testing
Fileadmin Support ❌ Missing Not yet implemented
Workspace Selection ❌ Missing Currently uses the first writable workspace of the user

While there are a lot of automated tests, TYPO3 instances are widely different and Language Models are also widely different. Feel free to create issues here on GitHub or share experiences in the typo3-core-ai channel.

Installation

composer require hn/typo3-mcp-server

Requirements:

  • TYPO3 v13.4+
  • TYPO3 Workspaces extension (automatically installed as dependency)

Usage

Quick Start

There are two ways to connect AI assistants like Claude Desktop to your TYPO3 installation:

Option 1: OAuth Authentication (Recommended)

For secure remote access with proper authentication:

  1. Go to [Username] → MCP Server in your TYPO3 backend
  2. Copy the Server URL (and optionally the Integration Name)
  3. Add the Integration to whatever MCP Client you are using.

MCP Server Setup

Option 2: Local Command Line Connection

This method gives you admin privileges by default. Add this to your mcp config file of Claude Desktop or whatever client you are using.

{
   "mcpServers": {
      "[your-typo3-name]": {
         "command": "php",
         "args": [
            "vendor/bin/typo3",
            "mcp:server"
         ]
      }
   }
}

Development

Running Tests

# Functional tests (PHPUnit)
composer test

# E2E tests — spins up MySQL, TYPO3, and Playwright in Docker
Build/runTests.sh -s e2e

# E2E without Docker (host PHP + SQLite + local Playwright).
# Auto-selected when Docker is unavailable.
Build/runTests.sh -s e2e --no-docker

# E2E against an existing TYPO3 instance
TYPO3_BASE_URL=https://my.ddev.site Build/runTests.sh -s e2e

# See all options
Build/runTests.sh -h

Adding New Tools

Tools are defined in the Classes/MCP/Tools directory. Each tool follows the MCP tool specification and maps to specific TYPO3 functionality.

Learn More

License

GPL-2.0-or-later

hn/typo3-mcp-server 适用场景与选型建议

hn/typo3-mcp-server 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 21.59k 次下载、GitHub Stars 达 85, 最近一次更新时间为 2025 年 06 月 24 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 hn/typo3-mcp-server 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 hn/typo3-mcp-server 我们能提供哪些服务?
定制开发 / 二次开发

基于 hn/typo3-mcp-server 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 21.59k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 85
  • 点击次数: 21
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 85
  • Watchers: 13
  • Forks: 18
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2025-06-24