← All integrations

Developer Tools · Integration

Embed an OpenLegacy integration in your product

Add OpenLegacy to your product for your customers, and give your AI agents governed access to it.

Embed an OpenLegacy integration so your product can reach the business logic and data still running on a customer's mainframe without anyone writing mainframe code. OpenLegacy generates APIs over legacy assets such as CICS and COBOL programs and IBM i (AS/400) programs, and its Hub is where those generated services, their extracted metadata and their deployments are managed. Each customer supplies their own Hub URL, API key and profile, so calls run against their environment under their credentials and never cross customers. fastn owns the credential storage, retries and rate limits, and watches the connector, proposing a tested fix whenever OpenLegacy changes its API, and the same governed connection is what your AI agents use.

In your product

Embedded for your customers. Per-tenant auth, customized per customer, monitored by fastn.

  • Let each customer connect their own OpenLegacy Hub so your product can call the services generated over their legacy systems with no per-customer code.
  • Read the metadata OpenLegacy extracted from a program so your product knows the fields an operation actually takes.
  • Invoke a legacy transaction from your product with the customer's own credentials rather than a shared service account.
  • Support customers whose legacy estates differ, program by program, as per-customer configuration.

For your AI agents

Governed, audited access for the agents you build, through the MCP server.

  • An agent calls a read-only legacy service to ground an answer in the customer's own system of record, with each call logged.
  • An agent inspects the metadata for a program before deciding which operation to invoke.
  • An agent runs an approved legacy transaction within scoped permissions, with the action attributed to the customer that authorized it.

Example prompt

Look up this account in the mainframe service and tell me the balance and status it returns.

Set up OpenLegacy in 4 steps

  1. 01Enable the OpenLegacy connector in your fastn dashboard.
  2. 02Have each customer supply their own OpenLegacy Hub URL, API key and profile.
  3. 03Choose which generated services your product calls and map their input and output fields, per customer.
  4. 04Call them from your product and expose the same connection to your agents through the MCP gateway.

Why teams use the OpenLegacy integration

  • Ship an OpenLegacy integration without building it. Your customers connect their own OpenLegacy account inside your product and work their services, builds and deployments there, and nothing lands on your team.
  • Handle the part that actually costs time: these apps emit a lot of webhooks, and replay after downtime has to be handled. fastn handles the auth, token refresh, rate limits and pagination, and when OpenLegacy changes, its maintainer agent proposes a tested fix, so an OpenLegacy update does not start in your backlog.

Used by these teams

OpenLegacy integration FAQ

Can AI agents use this OpenLegacy integration?

Yes, through the fastn MCP gateway, scoped per customer and audited. An agent calls a read-only legacy service to ground an answer in the customer's own system of record, with each call logged. For example: "Look up this account in the mainframe service and tell me the balance and status it returns."

Can I react to OpenLegacy events in real time?

Yes, through event triggers. Events are delivered per tenant and can be replayed after an outage, so a webhook missed during downtime is not silently lost.

Can an agent open or update items in OpenLegacy?

Yes, within scoped permissions, and every action is audited so an agent's changes are attributable.

What can I build with the OpenLegacy integration?

A common starting point: let each customer connect their own OpenLegacy Hub so your product can call the services generated over their legacy systems with no per-customer code. The use cases above list the rest.

Add OpenLegacy to your product

Start free with 3 customer connections. No sales call required, and no per-customer integration code.