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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

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

Requirements

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:

  1. Discovers the server's OAuth metadata via /.well-known/oauth-authorization-server
  2. Dynamically registers a client with the authorization server (RFC 7591)
  3. Redirects to the authorization endpoint with a PKCE code challenge
  4. Exchanges the authorization code for access/refresh tokens
  5. 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

PHP Build Version
Package Version
Requires php Version >=8.3
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
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package marekskopal/typo3-mcp-docs contains the following files

Loading the files please wait ...