Download the PHP package netresearch/nr-mcp-agent without Composer

On this page you can find all versions of the php package netresearch/nr-mcp-agent. 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 nr-mcp-agent

AI Chat for TYPO3

CI

[!NOTE] Proof of concept. This extension explores a concrete question: is agent-like behavior possible within the TYPO3 backend? It is not intended to answer whether this is the right architectural approach — the space is moving fast, and the tradeoffs between MCP, tool-calling, browser-side agents, and custom integrations are far from settled. The goal here is to show that it works, and to invite feedback from anyone thinking about the same problem. If you have thoughts, open an issue.

AI Chat integrates a conversational AI assistant into the TYPO3 backend. It runs on nr-llm's agent runtime and works through the tools nr-llm registers: its builtin set, plus any Model Context Protocol (MCP) server configured there. Backend users manage content through natural language.

Features

Supported file formats

The AI chat supports file uploads for use as conversation attachments. Supported formats depend on your configured LLM provider:

Format MIME type Availability
PDF application/pdf Always (text extracted server-side)
DOCX application/vnd.openxmlformats-officedocument.wordprocessingml.document Always (text extracted server-side)
TXT text/plain Always
XLSX application/vnd.openxmlformats-officedocument.spreadsheetml.sheet Requires phpoffice/phpspreadsheet (see below)
Images (JPEG, PNG, GIF, WebP; HEIC/HEIF on Gemini) various Requires a vision-capable provider; the exact set is whatever the provider advertises
Native PDF/DOCX various Requires a DocumentCapable provider (e.g. Anthropic Claude)

When a provider natively supports a format (e.g. Claude natively handles PDFs), the file is sent as-is. Otherwise, text is extracted server-side and injected into the prompt.

XLSX support (optional)

XLSX uploads require the optional phpoffice/phpspreadsheet library:

If not installed, XLSX files will be rejected at upload time with a 422 response.

Quick Start

  1. Install the extension:

    This also installs EXT:filelist (typo3/cms-filelist); the file picker opens its element browser, so it must stay active.

  2. In nr-llm, create a Task record that configures your LLM provider (e.g. OpenAI, Anthropic). Note the UID.

  3. Go to Admin Tools > Settings > Extension Configuration > nr_mcp_agent and set llmTaskUid to the Task UID from step 2.

The AI Chat module is now available under Admin Tools > AI Chat.

DDEV Development

Run quality checks:

Run JavaScript unit tests (Jest):

For Docker-based testing that mirrors CI exactly (no DDEV required):

Configuration

All settings are in Admin Tools > Settings > Extension Configuration > nr_mcp_agent:

Setting Default Description
llmTaskUid 0 UID of the nr-llm Task record (required)
processRunMaxIterations 12 Model rounds a run of a guided process may take; nr-llm caps it at 20, ordinary chat runs keep nr-llm's default
processingStrategy exec exec (fork per request) or worker (long-running)
allowedGroups (empty) Comma-separated group UIDs (empty = all)
maxMessageLength 10000 Max characters per message
maxActiveConversationsPerUser 3 Max concurrent processing conversations
maxConversationsPerUser 50 Max conversations kept per user
autoArchiveDays 30 Auto-archive after N days of inactivity
attachmentFolder ai-chat Folder for chat attachments in the default storage; a per-user subfolder is created inside it
altTextExcludedTables (empty) Tables the check for missing alt texts leaves out
altTextExcludedFields pages.og_image,pages.twitter_image,pages.nav_icon,be_users.avatar,backend_layout.icon Image fields (table.field) the check leaves out

For the full documentation, see the Documentation/ folder or the rendered docs on docs.typo3.org.

Architectural decisions are documented as ADRs in Documentation/Developer/ADR/.

Acknowledgments

Security

What the extension protects and what it does not, its trust boundaries and the checks behind them: Netresearch security policy, not in public issues.

License

GPL-2.0-or-later. See LICENSE for details.


All versions of nr-mcp-agent with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
netresearch/nr-llm Version ^0.45.0 || ^0.46.0 || ^0.47.0 || ^0.48.0 || ^0.49.0 || ^0.50.0 || ^0.51.0 || ^0.52.0
phpoffice/phpword Version ^1.0
smalot/pdfparser Version ^2.0
typo3/cms-backend Version ^13.4 || ^14.3
typo3/cms-core Version ^13.4 || ^14.3
typo3/cms-filelist Version ^13.4 || ^14.3
typo3/cms-install Version ^13.4 || ^14.3
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 netresearch/nr-mcp-agent contains the following files

Loading the files please wait ...