Runtime behavior
Understand how Infor GenAI invokes MCP tools and processes responses during agent execution.
When a user interacts with an agent, this sequence occurs:
- User sends a message, for example,
What’s the status of order 12345?. - Agent determines which MCP tool to call based on the user message and the available tool descriptions.
- Infor GenAI sends the tool call to API Gateway.
- API Gateway routes the request to the target MCP Server.
- If user-level authorization is required and no token exists, the OAuth flow described in Authorization and security model runs. Infor GenAI prompts the user to authorize the request and then retries the tool call by using the obtained access token.
- The target MCP Server processes the request and returns the response data.
- Agent incorporates the response into the reply to the user.
If user-level OAuth authorization is required, Infor GenAI displays an authorization prompt. After the user grants consent, the agent automatically retries the MCP tool request by using the obtained access token.