Tutorials
Integrate an Autorun MCP Agent
Integrate an Autorun MCP Agent

Integrate an Autorun MCP Agent

Copy as markdown

|

View as Markdown

This tutorial will show you how to create an app analytics dashboard using Autorun (opens in a new tab) and how to create an MCP agent that will send out order updates using the Infobip SMS MCP server.

Prerequisites

  1. Infobip account (opens in a new tab). If you do not have one, you can create a free trial account (opens in a new tab).
  2. Infobip API key with the sms:message:send scope. Find out more about API keys and scopes.
  3. Autorun (opens in a new tab) account.
  4. SMS Sender. If in free trial, use the Infobip test sender, ServiceSMS. If you want to configure your custom sender, request a new number or an alphanumeric sender through the Infobip account (opens in a new tab) or using Infobip Numbers API (opens in a new tab).
  5. SMS Destination - a phone number to which the message will be sent. If in free trial, you can only send messages to a verified phone number.

Create an app

Log in to your Autorun (opens in a new tab) account to create an app. You'd need to describe your use case to the AI Agent, Mileva that will then create an app based on your conversation.

Create Autorun app
 
I want to sell Infobip developer merchandise that we use in our booth at different developer conferences. I need to track orders and stock. It should be a simple app that will be able to send me information when the stock is low. Low stock equals less than 5 items.

Once you are happy with the outcome of your conversation, trigger the AI Build process. You'll end up with a dashboard and some sample data so that you can go ahead and test the solution straight away.

Autorun App Dashboard

Create an MCP Agent for SMS communication

Once you have your app, you can create an AI Agent for SMS messaging that will be connected to your app.

  1. Navigate to Agents (opens in a new tab) to create a new agent.

  2. Fill in the required details. Key points:

    • The What does this agent help with? field's content will show as an agent description in your app.
    • Under Application select your app from the list to link the agent to the correct app.
    • Use Data Access (Entities) to add as many data categories as needed. Since we want our Agent to send SMS messages, we need the agent to access all data related to orders and products, e.g. ProductStatus, Order, OrderStatus, etc. The categories from the list match data available in your app.
  3. Navigate to the MCP Servers section to add an Infobip SMS MCP Server. Key points:

NOTE

For the full list of available endpoints, see: the Infobip MCP servers documentation.

Once you create an Agent, you'll see data entities and messaging capabilities you've mapped to your agent listed under Tools.

Autorun Agent Setup

Use the Agent to send SMS

Once you create an Agent, you can access it from your app's dashboard. Use the agent messaging interface to tell it to send an SMS message.

NOTE

If you have more than one sender, you'd need to specify which sender to use in your prompt.

Prompt example
Send me the list of total orders with their current status. Use this sender: 447491163443 and this destination: 447415774332.

The Agents will access data and craft a message to send to the number provided.

Useful links

Need assistance

Explore Infobip Tutorials

Encountering issues

Contact our support

What's new? Check out

Release Notes

Unsure about a term? See

Glossary
Service status

Copyright @ 2006-2026 Infobip ltd.

Service Terms & ConditionsPrivacy policyTerms of use