Studio script tools expose RFC, Fiori, or GUI HTML Studio Scripts (both .QsQ and .TxR files) from a library of type SAPAPIStore as MCP tools. When an MCP client calls a Studio script tool, the MCP Server executes the Studio Script and returns the result. Input mapped fields are exposed as input parameters and log fields or output fields are exposed as output parameters. The tool description is generated by the LLM selected during assembly.
Only users with the Solution Developer role can assemble Studio script tools.
Before you begin, configure an LLM connection. See Large language model configuration.
The Studio script tool is ready.
To execute a Studio script tool from an MCP client, the user must have access to the corresponding Automate Evolve app and at least a Studio Runner license. Policies applied on the SAP Server through Automate Evolve are also applicable. Each execution consumes one credit of the SAP Data API license.
- For Transaction Script (.TxR) tools, a
Validateparameter is exposed, provided the script supports validation. This allows data to be validated in SAP without committing, posting is a separate, explicit call from the MCP client. - For Query Script (.QsQ) tools, you can request only the record count instead of full data, or specify the number of records to retrieve. The global workflow configuration key
AIMaxRecordsCountdefines the upper limit on records returned (default: 100).
For sample interactions between an MCP client and Studio script tools, download the sample-interactions.pdf document and refer to the MCP Studio Scripts Examples section.