---
name: iblai-connect-infor
description: "Read and write Infor CloudSuite data through the Infor API Gateway (ION API) and application REST APIs and expose it to an ibl.ai agent as an MCP tool. Use when the user asks an agent to work with Infor CloudSuite data, or to set up an Infor CloudSuite MCP connection on ibl.ai."
metadata:
  kind: guide
---

# Infor CloudSuite connector for AI agents

> A starting point maintained on ibl.ai at https://ibl.ai/developer/connectors/infor — not part of the iblai/base repository. Checked against Infor's documentation on October 20, 2026; test it against your own Infor CloudSuite setup before you rely on it.

Infor CloudSuite is a family of industry ERP suites, such as Infor LN, that run on the Infor OS platform. Application data such as Infor LN purchase orders is exposed through REST APIs, and every call passes through Infor API Gateway.

## Auth & conventions

- **API:** Infor API Gateway (ION API) and application REST APIs (REST). API Gateway authenticates each consumer and forwards calls to the application's APIs. Infor LN, for example, publishes OData REST services such as tdapi.purPurchaseOrder, with Swagger documentation viewable in API Gateway.
- **Access:** Issued by your administrator. An Infor OS administrator registers the consumer as an Authorized App in API Gateway, then downloads its credentials as a .ionapi file (parameters such as ci, cs, pu, ot). For LN, each REST service is activated per company first.
- **Auth:** OAuth 2.0 client credentials; OAuth 2.0 password credentials (service account). Authorized Apps of type Backend Service use the Client Credentials grant for machine-to-machine calls, or the Password Credentials grant with a service account. The token comes from the authorization server named in the .ionapi file.
- Keep Infor CloudSuite credentials in environment variables or the ibl.ai credential store. Never print a token in chat and never commit one to a file.
- Destructive or outward-facing calls are marked **Confirm with the user first** — do.

## Reads

- **Purchase orders** — LN tdapi.purPurchaseOrder OData service: orders, lines and receipt data, filterable with OData query options.
- **Application OData services** — Other public LN REST APIs listed with Swagger documentation in API Gateway; partner APIs only with the matching partner product.
- **Company context** — The X-Infor-LnCompany header selects the LN company a request runs in; otherwise the service user's default company applies.

## Writes

- **Update purchase order lines** — PATCH a purchase order line with new values such as OrderedQuantity, ConfirmedReceiptDate or Price.
- **Create or replace entities** — POST and PUT requests on OData entity sets the service exposes.
- **Delete entities** — DELETE requests on OData entities the service exposes. **Confirm with the user first.**

## Expose it to an ibl.ai agent (MCP)

Infor publishes an official MCP server, Infor MCP server (Infor in Claude connector) (https://www.infor.com/platform/enterprise-ai/claude-connector). Register it below as-is, or host your own server that wraps the calls in this skill.

First install the ibl.ai platform skills and connect your organization (writes `IBLAI_ORG`, `IBLAI_USERNAME` and `IBLAI_API_KEY` to `.env`):

```bash
npx skills add iblai/base --all
# then, in your coding agent:
/iblai-api-login
```

Every call below sends `Authorization: Api-Token $IBLAI_API_KEY`.

1. **Register the server** — `POST https://api.iblai.app/dm/api/ai-mentor/orgs/$IBLAI_ORG/users/$IBLAI_USERNAME/mcp-servers/` with `name`, `url`, `transport` (`sse` | `websocket` | `streamable_http`) and `auth_type` (`none` | `token` | `oauth2`). Capture the returned `id`.
   - For an API key or service credential use `auth_type=token` with `auth_scope=platform` for one key across the organization, or scope it to a single agent for one key per agent.
2. **Create the connection** — `POST https://api.iblai.app/dm/api/ai-mentor/orgs/$IBLAI_ORG/users/$IBLAI_USERNAME/mcp-server-connections/` with `server`, `scope` (`platform` | `mentor` | `user`), `auth_type`, and either `credentials` + `authorization_scheme` or a `connected_service` id for OAuth. Credentials are masked on read; never send a masked value back.
3. **Enable it on the agent** — `GET https://api.iblai.app/dm/api/ai-mentor/orgs/$IBLAI_ORG/users/$IBLAI_USERNAME/mentors/{agent_id}/settings/`, add `mcp-tool` to `tool_slugs` and the server id to `mcp_servers`, then `PATCH` the full lists back. They are replaced, not merged.

Full reference: https://ibl.ai/developer/platform/mcp/mcp-connections and the `/iblai-api-agent-mcp` skill.

## Example prompts

- "List open purchase orders for supplier 400123 with receipt dates this week"
- "What is the confirmed receipt date on line 10 of purchase order PO0004567?"
- "Change the ordered quantity on line 20 of purchase order PO0004567 to 250"
- "Which purchase order lines for item 10045 are past their planned receipt date?"

## Guardrails

- ERP data covers supplier pricing, customer orders, costs and production plans; defense suppliers may also hold CUI subject to NIST SP 800-171 and CMMC.
- Request the narrowest Infor CloudSuite scopes or role the task needs, and prefer a read-only credential for agents that only answer questions.
- Return the fields the user asked for, not whole records; do not paste personal data into chat that the user did not request.
- Before any write, show the user exactly what will change and wait for a yes.
- Page through large result sets and back off on rate-limit responses instead of retrying in a loop.

## References

- LN REST API: authentication and identification overview: https://docs.infor.com/ln/2026.x/en-us/lnesolh/lnrestapiag/yqw1698244624331.html
- Registering an authorized app with the Client Credentials grant: https://docs.infor.com/ln/2026.x/en-us/lnesolh/lnrestapiag/rzp3783087522217.html
- Infor connector for Claude (MCP): https://www.infor.com/platform/enterprise-ai/claude-connector
- Infor MCP server (Infor in Claude connector): https://www.infor.com/platform/enterprise-ai/claude-connector
- This connector on ibl.ai: https://ibl.ai/developer/connectors/infor
- ibl.ai MCP server connections: https://ibl.ai/developer/platform/mcp/mcp-connections
