Skip to main content

Using the MCP Server in Leon

What is Model Context Protocol (MCP)?

The Model Context Protocol (MCP) is an open standard that allows AI agents and tools to communicate with applications in a structured and secure way. MCP servers expose data and functionality that can be accessed by clients (such as AI agents), enabling automation of workflows and seamless integration between systems.
You can read more about the standard here: Model Context Protocol.


Accessing Leon's MCP Server

Each operator account has its own dedicated MCP server, available under the following URL:

https://{oprId}.mcpserver.leon.aero/

Where:

  • {oprId} is the operator account identifier in Leon.

Authentication

All requests to the MCP server require an Access Token.
You must include the token in the Authorization header of every HTTP request:

Authorization: Bearer {access_token}

Obtaining Access Tokens

Access tokens can be created in two ways:

  1. Using the manually created API key
  2. Using OAuth code grant

Example Request

GET https://{oprId}.mcpserver.leon.aero/mcp
Authorization: Bearer {access_token}