tron is open source: the MCP server layer of Exponential
tron, the MCP server layer of Exponential, is now public and open source. It lets an AI assistant work with an Exponential site through tools, skills and programs, as one of the site's real users, under that user's roles and policies, with its own token and every call recorded. Install it with Composer:
composer require se7enxweb/tron
What tron is
The Model Context Protocol (MCP) is how AI assistants such as Claude, Cursor or other MCP clients call tools. tron is an Exponential extension that serves those tools from your own installation. An agent connected through tron does not get a shared service account: it signs in as an Exponential user of its own, and the installation's own policies decide what it may read and change.
What it gives you
- Real users, real policies. Every tool names an Exponential policy, and the kernel decides on every call. An agent sees only the tools its user may call.
- Tokens per agent. Hashed, expiring, limited to the programs you choose, rotated and revoked in one step.
- An audit log and an activity journal. Every call is recorded with user, token, outcome and time; writes are logged before they run. The activity journal turns each session into a readable story: what the agent said it was doing, each step, the diff of every write, chained by a hash so a changed step is detected.
- Programs, tools and skills. Programs are found in your extensions by convention, and each program or tool can be switched on or off per installation. Skill packs teach an agent how to do a task well on your site.
- Two ways in. stdio, locally or over SSH, and streamable HTTP, side by side.
- Managed like the rest of the site. Setup > tron in the administration, settings in the INI system.
Quick start
From the root of an Exponential 6.0.15 installation:
composer require se7enxweb/tron
Activate the extension in settings/override/site.ini.append.php:
[ExtensionSettings] ActiveExtensions[]=tron
Then regenerate the autoloads, clear the INI cache, create the tables and check:
php bin/php/ezpgenerateautoloads.php -e php bin/php/ezcache.php --clear-tag=ini php extension/tron/bin/php/tron.php install --siteaccess=<admin siteaccess> php extension/tron/bin/php/tron.php status --siteaccess=<admin siteaccess>
Create a user for the agent with the tron policies, make a token for it with tron.php token:create, and register the server with your MCP client. The five-minute walk-through is in doc/quickstart.md.
Requirements and license
- Exponential 6.0.15, PHP 7.4 to 8.5, no other dependencies.
- Runs under PHP-FPM, Exponential Velocity and behind a load balancer.
- GNU General Public License v2.0 (or any later version).
- Current release: 0.0.0.13, a public preview. Interfaces may still change between preview releases.
Links
- Source: github.com/se7enxweb/tron
- Package: packagist.org/packages/se7enxweb/tron
- Documentation: the tron documentation, with the security model and the activity journal
- Release notes: tron releases
- Product page: se7enx.com/products/tron
Questions and issues are welcome on GitHub.