Book a demo

← Documentation

OpenLegacy MCP Endpoint

Starting from OpenLegacy version 3.0.23, you can expose an MCP endpoint for your low-code and no-code APIs.

What is MCP?

MCP (Model Context Protocol) is an open protocol that lets AI applications and agents (MCP clients) discover and call tools provided by a server. When the MCP endpoint is enabled, MCP clients can call your OpenLegacy API through it.

Overview

Once enabled, the MCP endpoint is automatically available under the /mcp path of your API service, providing a dedicated channel for standardized API interactions.

Enabling the MCP Endpoint

To enable the MCP endpoint, set the following environment variable before starting your API:

OL_FLOW_MCP_ENABLED=true

No further configuration is required - OpenLegacy will expose the endpoint automatically when the API starts.

Accessing the Endpoint

After your API starts successfully, the MCP endpoint can be accessed at:

https://<your-api-domain>/mcp

Example Configuration

You can enable the endpoint in your runtime environment, such as in a Docker container or Kubernetes deployment:

env:
  - name: OL_FLOW_MCP_ENABLED
    value: "true"

Security

Until this is documented, do not expose the /mcp endpoint on a public network. Restrict network access to it and serve it only over HTTPS.

Requirements

  • OpenLegacy version 3.0.23 or later
  • Compatible low-code or no-code API project

Notes

  • If the environment variable is not set (or set to any value other than true), the /mcp endpoint will not be exposed.
  • No source code changes are required to enable this feature - only the environment variable configuration is needed.

Read more

Tell us about yourself

You've been browsing the catalog. Leave your details to keep exploring.

Privacy policy