Download the PHP package marekskopal/typo3-mcp-docs without Composer
On this page you can find all versions of the php package marekskopal/typo3-mcp-docs. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download marekskopal/typo3-mcp-docs
More information about marekskopal/typo3-mcp-docs
Files in marekskopal/typo3-mcp-docs
Package typo3-mcp-docs
Short Description MCP documentation plugin for TYPO3 CMS
License GPL-2.0-or-later
Homepage https://marekskopal.com
Informations about the package typo3-mcp-docs
MCP Docs for TYPO3 CMS
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
- OAuth 2.0 authentication with PKCE (RFC 7636) and dynamic client registration (RFC 7591)
- Handles both JSON and SSE (Server-Sent Events) responses
- Customizable templates and styling
Requirements
- PHP 8.3+
- TYPO3 13.4 or 14.x
Installation
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) |
| Auth type | bearer — static API key; oauth — OAuth 2.0 with PKCE |
| MCP API Key | Bearer token for authentication (shown when auth type is bearer) |
| OAuth Status | Shows authorization status and provides authorize/re-authorize button (shown when auth type is oauth) |
| 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) |
OAuth Authentication
When using OAuth, the extension performs the full OAuth 2.0 authorization code flow with PKCE:
- Discovers the server's OAuth metadata via
/.well-known/oauth-authorization-server - Dynamically registers a client with the authorization server (RFC 7591)
- Redirects to the authorization endpoint with a PKCE code challenge
- Exchanges the authorization code for access/refresh tokens
- Stores tokens per content element and automatically refreshes them when expired
To set up OAuth: select OAuth as auth type, save the content element, then click the Authorize button.
Keeping authorizations alive
Access tokens are refreshed on demand when a page renders, but a content element that is not viewed for a while can still let its refresh token lapse and require manual re-authorization. The extension ships a console command that proactively renews every stored token before it expires:
Register it as a TYPO3 Scheduler task (Execute console commands) — or a system cron — running more frequently than the authorization server's refresh-token lifetime (daily is a safe default). Because the server rotates the refresh token on every exchange, a regular schedule keeps each content element authorized indefinitely without any manual step.
By default the command refreshes tokens expiring within the next 24 hours; tune this
with --lead-time <seconds>.
Customization
Templates
Override templates by setting custom paths in TypoScript:
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
All versions of typo3-mcp-docs with dependencies
typo3/cms-backend Version ^13.4.24 || ^14.1.0
typo3/cms-core Version ^13.4.24 || ^14.1.0
typo3/cms-extbase Version ^13.4.24 || ^14.1.0
typo3/cms-fluid Version ^13.4.24 || ^14.1.0
typo3/cms-frontend Version ^13.4.24 || ^14.1.0