Integrations

Overview

Lightcast MCP exposes labor market data through a single MCP server endpoint. Integrations describe how MCP-compatible clients, validation tools, and agent frameworks can connect to that endpoint and use Lightcast MCP tools.

Lightcast MCP uses Streamable HTTP. Client-specific adapters, SDKs, and validated setup flows are only available where explicitly documented.

In your MCP client, set the server URL to https://mcp.ai.api.lightcast.io, with no path after it.

📢

A client may be compatible with Lightcast MCP because it can connect to a generic MCP Streamable HTTP endpoint. This is different from a validated Lightcast integration with documented setup, configuration, and support behavior.

After connecting, agents should follow the standard Lightcast MCP workflow:

  1. Discover datasets using glossary
  2. Retrieve tool schemas using tool_info
  3. Resolve taxonomy values using classify
  4. Run analysis using the appropriate analysis tool

For more information, see:


Available Integrations

Lightcast MCP supports MCP-compatible clients that connect through Streamable HTTP. The authentication method depends on the capabilities of your client.

Use built-in OAuth sign-in whenever your client supports it. For software or integrations that run without user interaction, use OAuth client credentials (M2M).

🚨

MCP API keys are not recommended. Use an API key only when your client or AI gateway cannot use OAuth.

Cursor

Overview

Cursor supports remote MCP connections over Streamable HTTP. Use the built-in OAuth sign-in to connect to Lightcast MCP.

ItemValue
Expected outcomeCursor Agent lists available Lightcast tools, and glossary returns dataset metadata.

Use this integration when you want Lightcast labor-market tools available to Cursor Agent in a specific project or across all workspaces.


Prerequisites

  • Cursor IDE (latest release)
  • A Lightcast account associated with an existing organization.
  • Network access to the Lightcast MCP server.

Connect Using OAuth (Recommended)

  1. Add Lightcast MCP as a remote MCP server in Cursor.
  2. Set the server URL to https://mcp.ai.api.lightcast.io, with no path after it.
  3. Sign in using your Lightcast account when prompted.
  4. Verify that the Lightcast MCP tools appear in Cursor.

Your organization's plan determines which tools and datasets you can access.

Configuration

ScopePath
Project.cursor/mcp.json
Global~/.cursor/mcp.json

Create or update the MCP configuration file with the following content:

{
  "mcpServers": {
    "lightcast": {
      "url": "https://mcp.ai.api.lightcast.io"
    }
  }
}

Alternative Authentication

Use the following token-based setup only if your client does not support built-in OAuth sign-in. An MCP API key in the x-api-key header is a last-resort fallback and is not recommended.

Prerequisites

  1. Client credentials and organization ID provided during Lightcast onboarding.
  2. A valid OAuth access token exported as LIGHTCAST_ACCESS_TOKEN in the environment Cursor can access.
  3. Network access to the OAuth token endpoint and Lightcast MCP server.

Authentication

This alternative setup uses the OAuth 2.0 Client Credentials flow. For information about credentials, token lifecycle, and security requirements, see Machine-to-Machine Authentication.

Obtain an access token using your Lightcast client credentials and organization ID. Export the token as LIGHTCAST_ACCESS_TOKEN. Cursor resolves ${env:LIGHTCAST_ACCESS_TOKEN} and includes the token in the Authorization header of each MCP HTTP request.

Configure the MCP Server

Create or update .cursor/mcp.json with the following configuration:

{
  "mcpServers": {
    "lightcast": {
      "url": "https://mcp.ai.api.lightcast.io",
      "headers": {
        "Authorization": "Bearer ${env:LIGHTCAST_ACCESS_TOKEN}",
        "Content-Type": "application/json",
        "Accept": "application/json, text/event-stream"
      }
    }
  }
}

Important — Environment visibility

Cursor resolves ${env:...} from the environment of the process that launched the IDE. Shell variables set only in .bashrc or profile scripts may not be visible when Cursor starts from a desktop shortcut.

You can use one of the following options:

  1. Export LIGHTCAST_ACCESS_TOKEN as an environment variable accessible to Cursor.
  2. Launch Cursor from a terminal where the token is already exported using Cursor.
  3. Use a local MCP proxy that handles OAuth token renewal and configure Cursor to connect to the proxy URL.

Set up the Integration

  1. Create .cursor/mcp.json in your project root using the configuration shown above.
  2. Obtain an access token. For instructions, see Machine-to-Machine Authentication.
  3. Export the token before you launch Cursor.

Windows PowerShell (current session):

$env:LIGHTCAST_ACCESS_TOKEN = "<ACCESS_TOKEN>"
cursor .

Windows (persistent user variable):

[System.Environment]::SetEnvironmentVariable(
  "LIGHTCAST_ACCESS_TOKEN",
  "<ACCESS_TOKEN>",
  "User"
)

Restart Cursor after setting a persistent environment variable.

  1. Reload the Cursor window: open the Command Palette and select Developer: Reload Window.

Example: Full Project Setup

Project Layout

auth_mcp/
├── .cursor/
│   └── mcp.json
└── examples/
    └── python/
        └── lightcast_mcp_client.py

.cursor/mcp.json

{
  "mcpServers": {
    "lightcast": {
      "url": "https://mcp.ai.api.lightcast.io",
      "headers": {
        "Authorization": "Bearer ${env:LIGHTCAST_ACCESS_TOKEN}",
        "Content-Type": "application/json",
        "Accept": "application/json, text/event-stream"
      }
    }
  }
}

Token Refresh and Launch

# Request an access token
$body = @{
  grant_type    = "client_credentials"
  client_id     = "<CLIENT_ID>"
  client_secret = "<CLIENT_SECRET>"
  audience      = "https://mcp.ai.api.lightcast.io/"
  organization  = "<ORGANIZATION_ID>"
} | ConvertTo-Json

$response = Invoke-RestMethod `
  -Method Post `
  -Uri "https://lightcast-ai.us.auth0.com/oauth/token" `
  -ContentType "application/json" `
  -Body $body

$env:LIGHTCAST_ACCESS_TOKEN = $response.access_token

# Launch Cursor from this shell so it inherits the token
cursor.

API Key Fallback

API keys are not recommended. Use an MCP API key only if your client cannot use OAuth.

Set the server URL to https://mcp.ai.api.lightcast.io, with no path after it, and include your API key in the x-api-key header.

For information about obtaining, storing, and rotating API keys, see Machine-to-Machine Authentication.

How Token-Based Authentication Works

sequenceDiagram
    participant Dev as Developer
    participant Cursor as Cursor_Agent
    participant MCP as Lightcast_MCP

    Dev->>Cursor: Agent prompt with MCP tools
    Note over Cursor: Reads .cursor/mcp.json
    Cursor->>MCP: POST Streamable HTTP Bearer LIGHTCAST_ACCESS_TOKEN
    MCP-->>Cursor: tools/list catalog
    Cursor->>MCP: POST tools/call glossary
    MCP-->>Cursor: Dataset metadata
    Cursor-->>Dev: Answer with Lightcast data

Cursor resolves $env:{LIGHTCAST_ACCESS_TOKEN} when loading the MCP configuration and attaches the bearer token to HTTP requests sent to https://mcp.ai.api.lightcast.io.


Test with an Agent Prompt

In Cursor Agent, enter the following prompt:

Use the Lightcast MCP glossary tool and summarize the available datasets.

Cursor call glossary and return dataset metadata in the agent response.


Verification

  1. Go to Cursor Settings → MCP and confirm lightcast appears in the server list.
  2. Check that the server status shows as connected (green indicator).
  3. Run an agent prompt that invokes glossary and verify a successful response.

For the alternative token-based setup, confirm that ${env:LIGHTCAST_ACCESS_TOKEN} is resolved correctly if tool calls return HTTP 401.


Troubleshoot Common Errors

SymptomCauseFix
MCP server not listedIncorrect path or invalid JSON.Verify the MCP configuration file location and JSON structure.
401 UnauthorizedMissing, invalid, or expired credential.Sign in again when using built-in OAuth. For token-based authentication, request a new access token.
Tools grayed out or disconnectedNetwork or endpoint error.Verify the server URL and firewall settings.
Literal ${env:LIGHTCAST_ACCESS_TOKEN} in requestsToken not visible to Cursor process.Launch Cursor from terminal or set a system environment variable.
Token-based setup works only when Cursor is launched from the terminalDesktop shortcut lacks access to the environment variable.Set a persistent user or system environment variable.

For additional error-handling guidance, see Errors.


Production Recommendations

  • Commit .cursor/mcp.json with ${env:...} placeholders. Never commit tokens to source control.
  • Cache and reuse access tokens until they expire, then request a new token.
  • Document the token refresh script in your project README so team members can follow the same process.
  • For long-running sessions, consider a local OAuth proxy instead of manual token refresh.
  • For information about token caching and credential rotation, see Machine-to-Machine Authentication.

Claude Desktop

Overview

Claude Desktop supports remote MCP connections through custom connectors. Use the built-in OAuth sign-in to connect to Lightcast MCP.

ItemValue
Expected outcomeClaude Desktop lists available Lightcast tools, and glossary returns dataset metadata.

Use this integration to access Lightcast labor market tools from the Claude Desktop application on Windows, macOS, or Linux.


Prerequisites

  • Claude Desktop (latest release).
  • A Lightcast account associated with an existing organization.
  • Network access to the Lightcast MCP server.

Connect Using OAuth (Recommended)

  1. Open the connector settings in Claude Desktop.
  2. Add Lightcast MCP as a custom connector.
  3. Set the server URL to https://mcp.ai.api.lightcast.io, with no path after it.
  4. Sign in using your Lightcast account when prompted.
  5. Verify that the Lightcast MCP tools are available.

Your organization's plan determines which tools and datasets you can access.


Alternative Authentication

Use the following token-based bridge setup only if your client does not support built-in OAuth sign-in. An MCP API key in the x-api-key header is a last-resort fallback and is not recommended.

The mcp-remote bridge forwards MCP tool calls over stdio to the remote Lightcast Streamable HTTP endpoint using an OAuth access token.

Prerequisites

  1. Node.js 18 or later (required to run npx and mcp-remote).
  2. Client credentials and organization ID provided during Lightcast onboarding.
  3. A valid OAuth access token.
  4. Network access to the OAuth token endpoint and Lightcast MCP server.

Authentication

This alternative setup uses the OAuth 2.0 Client Credentials flow. For information about credentials, token lifetime, and security requirements, see Machine-to-Machine Authentication.

Exchange your Lightcast client credentials and organization ID for an access token. Set the TOKEN environment variable in claude_desktop_config.json so that mcp-remote includes the Authorization header in every MCP HTTP request.

Configuration

Config file location

PlatformPath
Windows%APPDATA%\Claude\claude_desktop_config.json
macOS~/Library/Application Support/Claude/claude_desktop_config.json
Linux~/.config/Claude/claude_desktop_config.json

On Windows, %APPDATA% typically resolves to C:\Users\<username>\AppData\Roaming.

Complete claude_desktop_config.json

Create or update your Claude Desktop configuration file with the following configuration. Replace <ACCESS_TOKEN> with an access token obtained through the OAuth Client Credentials flow.

{
  "mcpServers": {
    "lightcast": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://mcp.ai.api.lightcast.io",
        "--header",
        "Authorization: Bearer ${TOKEN}"
      ],
      "env": {
        "TOKEN": "<ACCESS_TOKEN>"
      }
    }
  }
}

Access tokens expire after one hour. Request a new access token when the current token expires and update the TOKEN value, or automate token renewal using a wrapper script.

Installation

  1. Install Node.js 18 or later from nodejs.org.
  2. Verify that npx is available:
npx --version
  1. Optionally, prefetch mcp-remote to reduce the startup time when you launch Claude Desktop for the first time:
npx -y mcp-remote --help
  1. Obtain an access token. For instructions, see Machine-to-Machine Authentication.
  2. Update claude_desktop_config.json using the configuration shown above.
  3. Quit Claude Desktop completely, and then restart it.

Complete Working Example

Step 1: Get an access token

Use PowerShell and your Lightcast credentials to get an access token:

$body = @{
  grant_type    = "client_credentials"
  client_id     = "<CLIENT_ID>"
  client_secret = "<CLIENT_SECRET>"
  audience      = "https://mcp.ai.api.lightcast.io/"
} | ConvertTo-Json

$response = Invoke-RestMethod `
  -Method Post `
  -Uri "<OAUTH_DOMAIN>/oauth/token" `
  -ContentType "application/json" `
  -Body $body

$token = $response.access_token
Write-Host "Token obtained (expires_in: $($response.expires_in)s)"

Step 2: Update the Claude Desktop configuration

Add the access token to env.TOKEN in claude_desktop_config.json

{
  "mcpServers": {
    "lightcast": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://mcp.ai.api.lightcast.io",
        "--header",
        "Authorization: Bearer ${TOKEN}"
      ],
      "env": {
        "TOKEN": "<ACCESS_TOKEN>"
      }
    }
  }
}

Step 3: Verify the integration in Claude Desktop

  1. Restart Claude Desktop.
  2. Open a new chat.
  3. Verify that the Lightcast MCP tools are available.
  4. Ask Claude: "Call the glossary tool and summarize the available datasets."

Claude calls glossary and returns dataset metadata in the response.


API Key Fallback

API keys are not recommended. Use an MCP API key only if your client cannot use OAuth.

Set the server URL to https://mcp.ai.api.lightcast.io, with no path after it, and include your API key in the x-api-key header.

For information about obtaining, storing, and rotating API keys, see Machine-to-Machine Authentication.

How Token-Based Authentication Works

sequenceDiagram
    participant User as Claude_Desktop_User
    participant CD as Claude_Desktop
    participant MR as mcp_remote_stdio
    participant MCP as Lightcast_MCP

    User->>CD: Prompt using Lightcast tools
    CD->>MR: MCP over stdio
    MR->>MCP: POST Streamable HTTP Bearer TOKEN
    MCP-->>MR: Tool results
    MR-->>CD: MCP tool response
    CD-->>User: Answer with Lightcast data

In the alternative setup, the mcp-remote process translates stdio MCP messages into authenticated HTTP requests tohttps://mcp.ai.api.lightcast.io.

Test With an Agent Prompt

In Claude Desktop, enter the following prompt:

Use the Lightcast MCP glossary tool and summarize the available datasets.

Claude calls glossary and returns dataset metadata in the response.

Verification

  • Verify that the Lightcast MCP connector or server is available in Claude Desktop.
  • Verify that the Lightcast tools appear in the available tools list.
  • Run a prompt that calls glossary and verify a successful response.

For the alternative token-based setup:

  • Verify that claude_desktop_config.json contains the complete mcpServers.lightcast configuration and that the JSON is valid.
  • Restart Claude Desktop after each configuration change.

Troubleshoot Common Errors

SymptomCauseFix
MCP server does not appear in Claude DesktopIncorrect connector configuration, invalid JSON, or incorrect configuration file location.Verify the connector settings or configuration file.
npx or mcp-remote is not foundNode.js is not installed or is not available in your system PATH.Install Node.js 18 or later, then restart Claude Desktop from a terminal where npx is available.
Connection fails or times outIncorrect server URL or restricted network access.Verify the server URL and firewall or network settings.
401 Unauthorized returned by the MCP serverMissing, invalid, or expired credential.Sign in again when using built-in OAuth. For token-based authentication, request a new access token and update env.TOKEN.
Tools appear, but tool calls failThe access token expired during the session.Request a new access token, update the configuration, and restart Claude Desktop.

For additional error-handling guidance, see Errors.


Production Recommendations

The following recommendations apply to the alternative token-based setup:

  • Do not commit claude_desktop_config.json with active access tokens to source control.
  • Cache and reuse access tokens until they expire, then request a new token.
  • Pin mcp-remote to a specific version in production if your organization requires reproducible builds.
  • Restrict access to the Claude Desktop configuration file to the current user account.
  • For information about token caching and credential rotation, see Machine-to-Machine Authentication.

ChatGPT

Troubleshooting

Existing ChatGPT connectors may not immediately reflect updates to the Lightcast MCP server, including changes to datasets and tool schemas. If your connector displays outdated dataset information, contact your Lightcast representative.

OpenAI Agents

Overview

This guide shows how to call the Lightcast MCP server through the OpenAI Responses API hosted MCP tool.
OpenAI's runtime performs tools/list and tools/call against your remote MCP endpoint; your application supplies a fresh Lightcast OAuth access token on every request via the authorization field.

ItemValue
Setup time~15 minutes
Expected outcomeResponses API lists Lightcast tools; model calls glossary

Use this integration to let OpenAI orchestrate MCP tool discovery and execution on the server without running the OpenAI Agents SDK locally.

This guide covers the Responses API (client.responses.create). If you want to use the OpenAI Agents SDK with MCPServerStreamableHttp, see Agent Builder integration.


Prerequisites

  • Python 3.10 or later.

  • pip.

  • Client credentials and organization ID provided during Lightcast onboarding. For more information, see Machine-to-Machine Authentication.

  • An OpenAI API key with access to Responses API models.

  • Network access to the OAuth token endpoint, Lightcast MCP server, and OpenAI API.


Configuration

In your MCP client, set the server URL to https://mcp.ai.api.lightcast.io, with no path after it.

Create a .env file in your project root:

LIGHTCAST_CLIENT_ID=<CLIENT_ID>
LIGHTCAST_CLIENT_SECRET=<CLIENT_SECRET>
LIGHTCAST_ORGANIZATION_ID=<ORGANIZATION_ID>
LIGHTCAST_OAUTH_DOMAIN=https://lightcast-ai.us.auth0.com
LIGHTCAST_AUDIENCE=https://mcp.ai.api.lightcast.io/
LIGHTCAST_MCP_ENDPOINT=https://mcp.ai.api.lightcast.io
OPENAI_API_KEY=<OPENAI_API_KEY>

Do not commit the .env file to source control. Add it to .gitignore.


Authentication

This integration uses the OAuth 2.0 Client Credentials flow. For information about credentials, token lifetime, and security requirements, see Machine-to-Machine Authentication.

How Authentication Works

Load the LIGHTCAST_* environment variables. TokenCache exchanges the client credentials and organization ID for an access token at the OAuth token endpoint.

Your application passes the access token to OpenAI in the MCP tool authorization field with every Responses API request. OpenAI forwards the token to Lightcast with each MCP HTTP request.

For the OAuth token request, see Machine-to-Machine Authentication.


Installation

Create requirements.txt:

openai>=1.82.0
httpx>=0.28.0
python-dotenv>=1.1.0

Install dependencies:

python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

On Windows PowerShell:

python -m venv .venv
.\.venv\Scripts\Activate.ps1
pip install -r requirements.txt

Complete Working Example

Save the following as lightcast_openai_responses.py:

"""Lightcast MCP Platform — OpenAI Responses API with remote MCP tool."""

from __future__ import annotations

import json
import os
import threading
import time
from typing import Any

import httpx
from dotenv import load_dotenv
from openai import OpenAI

TOKEN_EXPIRY_BUFFER_SECONDS = 60
DEFAULT_TIMEOUT_SECONDS = 30.0


class LightcastConfig:
    def __init__(
        self,
        client_id: str,
        client_secret: str,
        oauth_domain: str,
        audience: str,
        mcp_endpoint: str,
    ) -> None:
        self.client_id = client_id
        self.client_secret = client_secret
        self.oauth_domain = oauth_domain
        self.audience = audience
        self.mcp_endpoint = mcp_endpoint

    @classmethod
    def from_env(cls) -> LightcastConfig:
        load_dotenv()
        return cls(
            client_id=_require_env("LIGHTCAST_CLIENT_ID"),
            client_secret=_require_env("LIGHTCAST_CLIENT_SECRET"),
            oauth_domain=_require_env("LIGHTCAST_OAUTH_DOMAIN"),
            audience=_require_env("LIGHTCAST_AUDIENCE"),
            mcp_endpoint=_require_env("LIGHTCAST_MCP_ENDPOINT"),
        )


def _require_env(name: str) -> str:
    value = os.getenv(name)
    if not value:
        raise RuntimeError(f"Missing required environment variable: {name}")
    return value


class TokenCache:
    """Thread-safe OAuth access token cache with early refresh."""

    def __init__(self) -> None:
        self._lock = threading.Lock()
        self._token: str | None = None
        self._expires_at: float = 0.0

    def get_token(self, fetch_fn: Any) -> str:
        with self._lock:
            if self._token and time.time() < self._expires_at - TOKEN_EXPIRY_BUFFER_SECONDS:
                return self._token
            token, expires_in = fetch_fn()
            self._token = token
            self._expires_at = time.time() + expires_in
            return self._token


def fetch_access_token(config: LightcastConfig, client: httpx.Client) -> tuple[str, int]:
    token_url = f"{config.oauth_domain.rstrip('/')}/oauth/token"
    response = client.post(
        token_url,
        json={
            "grant_type": "client_credentials",
            "client_id": config.client_id,
            "client_secret": config.client_secret,
            "audience": config.audience,
        },
        headers={"Content-Type": "application/json"},
        timeout=DEFAULT_TIMEOUT_SECONDS,
    )
    response.raise_for_status()
    payload = response.json()
    access_token = payload.get("access_token")
    if not access_token:
        raise RuntimeError("Token response missing access_token")
    expires_in = int(payload.get("expires_in", 3600))
    return access_token, expires_in


def main() -> None:
    load_dotenv()
    _require_env("OPENAI_API_KEY")
    config = LightcastConfig.from_env()

    token_cache = TokenCache()
    http = httpx.Client(timeout=DEFAULT_TIMEOUT_SECONDS)

    def get_lightcast_token() -> str:
        return token_cache.get_token(lambda: fetch_access_token(config, http))

    client = OpenAI()

    response = client.responses.create(
        model="gpt-4.1-mini",
        input=(
            "Use the Lightcast MCP glossary tool and summarize which datasets "
            "are available in one short paragraph."
        ),
        tools=[
            {
                "type": "mcp",
                "server_label": "lightcast",
                "server_description": "Lightcast labor-market MCP platform",
                "server_url": config.mcp_endpoint,
                "authorization": get_lightcast_token(),
                "allowed_tools": ["glossary"],
                "require_approval": "never",
            }
        ],
    )

    print("Response output:")
    print(response.output_text)

    mcp_items = [
        item for item in response.output if getattr(item, "type", None) == "mcp_call"
    ]
    if mcp_items:
        print("\nMCP tool calls:")
        print(json.dumps([item.model_dump() for item in mcp_items], indent=2, default=str))


if __name__ == "__main__":
    main()

Execution

python lightcast_openai_responses.py

Expected output

Response output:
The Lightcast MCP platform exposes datasets for job postings, profiles,
and related labor-market analytics...

MCP tool calls:
[
  {
    "type": "mcp_call",
    "name": "glossary",
    ...
  }
]

The OpenAI Responses runtime calls tools/list on https://mcp.ai.api.lightcast.io using your bearer token. It then calls the glossary tool and returns the model's summary in output_text.


Verification

  1. Run python lightcast_openai_responses.py.
  2. Verify that output_text summarizes the dataset information returned by the glossary tool.
  3. Verify that the printed MCP call list includes a glossary tool invocation.
  4. Verify that the response object does not include an error field.

How it Works

sequenceDiagram
    participant App as Your_Application
    participant Auth as TokenCache
    participant Auth0 as Auth0_Token_Endpoint
    participant OAI as OpenAI_Responses_API
    participant MCP as Lightcast_MCP

    App->>Auth: get_token()
    Auth->>Auth0: POST /oauth/token
    Auth0-->>Auth: access_token JWT
    App->>OAI: responses.create mcp tool + authorization
    OAI->>MCP: tools/list Bearer token
    MCP-->>OAI: Tool catalog
    OAI->>MCP: tools/call glossary
    MCP-->>OAI: Dataset metadata
    OAI-->>App: output_text

Troubleshoot Common Errors

SymptomCauseFix
Missing authorization or 401 Unauthorized returned by the MCP serverThe access token was not included in a retry request.Pass a valid authorization value with every responses.create call.
The tool list is emptyThe server_url is incorrect, or the transport configuration does not match.Verify that the server URL is https://mcp.ai.api.lightcast.io and that the client uses Streamable HTTP.
The model does not call any toolsThe prompt is too vague.Reference the tool explicitly, such as glossary, or provide model instructions.
ModuleNotFoundError: openaiThe OpenAI SDK is not installed.Run pip install -r requirements.txt.
You are using the Agents SDK instead of the Responses APIYou are following the wrong integration guide.See Agent Builder for MCPServerStreamableHttp.

For authentication errors, see Machine-to-Machine Authentication.


Production Recommendations

  • Per-request tokens: OpenAI does not persist the authorization field. Obtain or cache a valid Lightcast access token and include it with every Responses API request.
  • Tool allowlists: Use allowed_tools to limit imported schemas and reduce latency, as shown with glossary.
  • Approvals: Set require_approval to "always" or use an allowlist until you trust automated tool execution in production.
  • Model pinning: Pin a specific model ID in your configuration instead of relying on the default model.
  • Observability: Log OpenAI response IDs and MCP call items. Never log access tokens or client secrets.
  • For information about credential rotation, see Machine-to-Machine Authentication.

AI Gateways

Overview

Many AI gateways, such as Portkey, cannot complete OAuth sign-in. If your gateway does not support OAuth, connect to Lightcast MCP using an MCP API key.

Configuration

ParameterValue
Server URLhttps://mcp.ai.api.lightcast.io
Authentication headerx-api-key
Header valueYour MCP API key

Set the server URL with no path after it and include the API key in the x-api-key header.

Every request through the gateway counts toward the usage of the client associated with the API key. Use a separate API key for each gateway.

API keys are not recommended. Use OAuth whenever your gateway supports it.

For more information, see Machine-to-Machine Authentication.

Custom Agents

Overview

Custom agents can connect to Lightcast MCP through generic MCP endpoint compatibility. Lightcast does not currently provide a dedicated custom-agent SDK or adapter.

Connection and Authentication

In your MCP client, set the server URL to https://mcp.ai.api.lightcast.io, with no path after it.

Use OAuth client credentials (M2M) for agents that run without user interaction. Use an MCP API key only if your client cannot use OAuth.

For more information, see Machine-to-Machine Authentication.

Compatibility Notes

After connecting, custom agents should follow the standard Lightcast MCP workflow:

  1. Discover datasets using glossary.
  2. Retrieve tool schemas using tool_info.
  3. Resolve taxonomy values using classify.
  4. Run analysis using the appropriate analysis tool.

Future Validation Requirements

  • Validate one or more reference custom-agent implementations.
  • Document recommended client behavior for schema discovery, taxonomy classification, and error handling.

Future Integrations

The integrations below are future placeholders. They are not currently available as validated Lightcast MCP integrations.

Status: Future

Current Availability:
- This integration is not currently available in the released version of Lightcast MCP.
- Documentation will be published once a validated integration path becomes available.
Status: Future

Current Availability:
- No client SDK package is currently implemented.
- SDK documentation will be published only after a supported SDK package or validated client library exists.

Integration Constraints

ConstraintCurrent Validated Behavior
MCP connection modelLightcast MCP exposes a single Streamable HTTP endpoint at https://mcp.ai.api.lightcast.io.
Per-client adaptersNo per-client runtime adapters are implemented.
Local endpointLocal connection guidance uses http://localhost:8080/mcp.
Downstream authenticationThe MCP server uses server-side Lightcast credentials to obtain downstream API tokens.
SDK package modelNo client SDK package is implemented.
Client-specific setup guidesNot validated for partially implemented or future integrations.

👉 The tools and datasets you can access depend on your organization's plan. For more information, see Security.


Did this page help you?