Automate

Welcome to the Automate community!  Please feel free to start a discussion in the discussion tab or join in a conversation.

Here are some useful links where you can find more information:

Product Announcements

 View Only

Tip of the Week – Calling a Studio Script from Claude with the Evolve MCP Server

  • 1.  Tip of the Week – Calling a Studio Script from Claude with the Evolve MCP Server

    Employee
    Posted 10-13-2026 12:20

    Many teams already have Automate Studio scripts that create or update SAP data, such as materials, vendors, cost centers and pricing. With the Evolve MCP Server (Automate 26.1), you can expose those scripts as tools and run them from an AI assistant such as Claude, using plain-language prompts. Every call still runs through Evolve, so roles, SAP credentials and audit trail stay in place. This tip shows how we exposed an MM02 script (update a material description) and ran it from Claude.

    Step-by-step instructions

    1.     Build and test the script in Automate Studio. Record the transaction (here MM02), map the fields (Material Number, Material Description), and test with sample data. Note: scripts with Upload type Bulk cannot be exposed as MCP tools. Use Single.

    2.     Create an SAPAPIStore library in Evolve. In the Evolve app, go to Solutions and click Add. Select SAPAPIStore as the library type, enter a Name and Description, and click Save. Prerequisites: a valid SAP Data API license, the system variable SapIntegrationAPIEnable set to True, and an App or Global Administrator to create the library.

    3.     Publish the script and get it approved. Publish the script from Studio to the library. It starts in Review status. Complete the review task so the script reaches Production. The Assemble Tool option only appears for approved scripts.

    4.     Assemble the tool. Select the script and click Assemble Tool. Choose an LLM Connection (used to generate the tool description and input schema) and a SAP Connection. Evolve creates one tool per SAP connection, for example Update_MAKT_Description.Txr_UK2 and Update_MAKT_Description.Txr_HF7.

    5.     Verify in Operations → AI Tools. The tool should show a green status and type Studio Data API. Confirm Allow Write Operations is correct for the script. Use Edit Description to make the description specific so the AI picks the right tool.

    6.     Connect Claude to the Evolve MCP Server. Add the MCP Server URL and authenticate with either OAuth 2.1 or an evolve-mcp-key API key. Restart Claude. MCP clients load tools only at launch, so restart after assembling or changing any tool.

    7.     Run the script from Claude. Example prompt: "Using the UK2 tool, update the English description of material 100-100 to 'Test Pump'." Claude first runs the tool in validate-only mode, then commits. SAP returned: "Material 100-100 changed". If several SAP systems have tools, name the system in your prompt (UK2 or HF7), or Claude will ask.

    Customer Checklist

    •      The script is Single upload type, approved and in Production status.

    •      An SAPAPIStore library exists, and the SAP Data API license is active.

    •      The tool is assembled for the right SAP connection, with a green status in AI Tools.

    •      The MCP client was restarted after assembly.

    •      The user behind the MCP key has Process Permission (Originator role by default) on the library and valid SAP credentials.

    •      Test on a non-production SAP system first, and validate before committing.

    Troubleshooting

    •      No Assemble Tool button: the script is still in Review or is not approved. Complete the review task and refresh.

    •      Tool does not appear in AI Tools: assembly runs in the background, so wait a minute and refresh. Then check the script status and upload type, the LLM connection, and the Evolve and MCP Server logs.

    •      Tool missing in Claude: restart Claude and start a new chat.

    •      "User is not authorised to perform run": this is an Evolve permission issue. Grant the user or System Account the Process Permission on the library (Configuration → Manage Libraries → Manage Library Permissions) and Originator in the app.

    •      Wrong SAP system used: include the system name or ID in the prompt.

    •      Description lands in an unexpected language: the tool has no language field, so SAP uses the logon language of the connection user. Check in MM03.

    •      Reviewing calls: use Operations → MCP Trace to see what was sent and returned.



    ------------------------------
    jagat kaushal
    *Precisely Software Inc.
    ------------------------------