Skip to main content
Version: 3.2

mta_config.json

Definition​

The mta_config.json file is a configuration file that is required for AI assistants (other than Mendix Maia) to store MTA related information.

You can create and manage this file manually, or use the MTA Workspace template to create it for you.

List of properties​

PropertyTypeRequiredDescription
application_namestringYesTarget application name in MTA. Eliminates manual application selection prompts.
mta_base_urlstring (URI)YesWeb portal URL of the MTA platform (e.g. https://mta-trial.mendixcloud.com).
mcp_endpointstring (URI)YesMTA Primitive Tools MCP endpoint ([mta_base_url]/primitivetools/mcp).
execution_plans_dirstringYesFilesystem path where active Execution Plans (EP_*.md) are persisted.
mendix_project_dirstringYesAbsolute directory path to the target Mendix project folder.
mendix_mpr_pathstringNoAbsolute path to the .mpr project file used by mxcli.
plugin_mcp_urlstring (URI)NoEmbedded MTA Plugin MCP URL (http://localhost:8081/plugin/mcp).
app_instancesarrayNoArray of environment profiles containing instance names, tokens, URLs, and ports.
default_app_instancestringNoName of the primary default environment (e.g. "Local Development").
default_app_instance_tokenstring (UUID)NoMTA Application Instance Token used automatically by ExecuteTest.
model_sourcestringNoModel discovery engine: "mxcli" (offline .mpr inspection) or "studiopro" (Studio Pro live MCP).
playwright_viewer_urlstring (URI)NoBase URL for the trace viewer interface (https://trace.playwright.dev/?trace=).
tracefile_base_urlstringNoEndpoint to download trace files ([RuntimeUrl]/rest/private/tracefile?fileUUID=).

Sensitive Tokens in .env​

Sensitive authentication tokens are stored in a different file called .env rather than mta_config.json:

# MTA Primitive Tools MCP Header
MTA_MCP_AUTH_HEADER="Bearer eyJhbGciOi..."

# MTA Plugin MCP Header
PLUGIN_MCP_TOKEN="Bearer 1"

# Application Instance Token (Fallback)
MTA_APPLICATION_INSTANCE_TOKEN="f5d3f2a8-eb39-4cf5-9dfc-7fdeaf79c80d"