marekskopal/typo3-mcp-docs

MCP documentation plugin for TYPO3 CMS

Maintainers

Package info

github.com/marekskopal/typo3-mcp-docs

Homepage

Type:typo3-cms-extension

pkg:composer/marekskopal/typo3-mcp-docs

Statistics

Installs: 8

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.0 2026-04-07 18:38 UTC

This package is auto-updated.

Last update: 2026-04-07 18:39:33 UTC


README

MCP server tool documentation as a content element in TYPO3. Connects to an MCP (Model Context Protocol) server, fetches available tools with their parameters, and renders them as a browsable reference. Results are cached for 24 hours.

Features

  • Automatic tool introspection via MCP protocol (v2025-03-26)
  • Two display modes: full (with parameter tables) and overview (name + description only)
  • Tool filtering — show only selected tools via comma-separated list
  • Tools grouped by name prefix
  • 24-hour response caching (TYPO3 database-backed cache)
  • Bearer token authentication
  • Handles both JSON and SSE (Server-Sent Events) responses
  • Customizable templates and styling

Requirements

  • PHP 8.3+
  • TYPO3 13.4 or 14.x

Installation

composer require marekskopal/typo3-mcp-docs

Setup

Include the TypoScript Set MCP Docs in your site package or via the site configuration sets.

Content Element Options (FlexForm)

Option Description
MCP Server URL URL of the MCP server endpoint (e.g. https://example.com/api/mcp)
MCP API Key Bearer token for authentication
Display mode full — tool name, description, and parameter table; overview — name and description only
Filter tools Comma-separated list of tool names to display (empty = all tools)

Customization

Templates

Override templates by setting custom paths in TypoScript:

plugin.tx_msmcpdocs_mcpdocs.view.templateRootPaths.10 = EXT:your_extension/Resources/Private/Templates/MsMcpDocs/
plugin.tx_msmcpdocs_mcpdocs.view.partialRootPaths.10  = EXT:your_extension/Resources/Private/Partials/MsMcpDocs/
plugin.tx_msmcpdocs_mcpdocs.view.layoutRootPaths.10   = EXT:your_extension/Resources/Private/Layouts/MsMcpDocs/

Styling

The extension includes minimal CSS. Key classes:

Class Element
.msmcpdocs-wrapper Outer wrapper
.msmcpdocs__tool Single tool card
.msmcpdocs__tool-name Tool name heading
.msmcpdocs__tool-description Tool description
.msmcpdocs__params Parameters table
.msmcpdocs__error Error message

License

GPL-2.0-or-later