---
title: Connect your app
description: Connect Claude, ChatGPT or another AI app to Lightyear in a couple of minutes.
---

You need a [Lightyear account](https://lightyear.com).

## Let your agent do it

Send your AI app this message, then sign in to Lightyear when it asks.

> Help me set up the Lightyear MCP at https://mcp.lightyear.com

## Or do it yourself

Choose your app, add Lightyear, then sign in.

**Claude**

1. **Add Lightyear**

    [Add to Claude](https://claude.ai/customize/connectors?modal=add-custom-connector&connectorName=Lightyear&connectorUrl=https%3A%2F%2Fmcp.lightyear.com)

    Claude opens with Lightyear’s name and server URL filled in. Select **Continue**.

    Claude says Anthropic hasn’t verified this connector. You can continue.

2. **Sign in**

    Keep **Sign in now** selected and select **Add**, then sign in to Lightyear.

3. **Check that it works**

    Ask Claude: “Which of my Lightyear accounts can you see?”

**Add it manually instead**

Open [Claude’s connectors](https://claude.ai/customize/connectors), then select **Add connector › Add custom connector**. Name it **Lightyear**, paste the server URL and select **Continue**. Then carry on from **Sign in**.

```text
https://mcp.lightyear.com
```

On Team or Enterprise, an owner adds Lightyear first, under **Organization settings › Connectors**, and members then select **Connect**.

**ChatGPT**

1. **Open plugins**

    Open [ChatGPT’s plugins](https://chatgpt.com/plugins), select **Add**, then **Add custom MCP server**.

2. **Add Lightyear**

    Name it **Lightyear**, paste the server URL and set authentication to **OAuth**.

    ```text
    https://mcp.lightyear.com
    ```

3. **Sign in**

    Review the warning, select **Create as a plugin**, then **Connect**, and sign in to Lightyear.

4. **Check that it works**

    Ask ChatGPT: “Which of my Lightyear accounts can you see?”

On Business, Enterprise and Edu, an admin may need to allow custom servers first. If **Add custom MCP server** is missing, turn on developer mode in ChatGPT’s settings. See [OpenAI’s guide](https://help.openai.com/en/articles/12584461).

**Claude Code**

Add Lightyear to Claude Code from your terminal so every project can use it. On Windows, run the command on one line, without the `\`.

1. **Add Lightyear**

    ```console
    $ claude mcp add \
      --transport http \
      --scope user \
      lightyear \
      https://mcp.lightyear.com
    ```

2. **Sign in**

    In Claude Code, run `/mcp`, choose **lightyear** and select **Authenticate**, then sign in to Lightyear.

3. **Check that it works**

    Ask Claude Code: “Which of my Lightyear accounts can you see?”

For more options, see [Claude Code’s MCP guide](https://code.claude.com/docs/en/mcp).

**Codex**

Add Lightyear to Codex from your terminal. The Codex app and IDE extension use the same setup. On Windows, run each command on one line, without the `\`.

1. **Add Lightyear**

    ```console
    $ codex mcp add \
      lightyear \
      --url \
      https://mcp.lightyear.com
    ```

2. **Sign in**

    ```console
    $ codex mcp login \
      lightyear
    ```

    Then sign in to Lightyear.

3. **Check that it works**

    Ask Codex: “Which of my Lightyear accounts can you see?”

For more options, see [OpenAI’s guide to MCP in Codex](https://developers.openai.com/codex/mcp).

**Antigravity**

Add Lightyear to Antigravity from your terminal. The Antigravity app and IDE use the same setup.

1. **Add Lightyear**

    ```console
    $ agy mcp add lightyear https://mcp.lightyear.com
    ```

2. **Sign in**

    In the Antigravity app, open **Customizations › Installed** and select **Authenticate** next to **lightyear**, then sign in to Lightyear. Paste the code you’re shown into **Enter authorization code** and select **Submit**.

3. **Check that it works**

    Ask Antigravity: “Which of my Lightyear accounts can you see?”

For more options, see [Antigravity’s MCP guide](https://antigravity.google/docs/mcp).

**Grok Bot**

1. **Send Grok Bot this message**

    ```text
    Help me set up the Lightyear MCP at https://mcp.lightyear.com
    ```

2. **Sign in**

    Open the sign-in link Grok Bot shows and sign in to Lightyear.

3. **Check that it works**

    Ask Grok Bot: “Which of my Lightyear accounts can you see?”

### Another app

In your app’s settings, add a custom connector or MCP server named **Lightyear** with this server URL, then sign in to Lightyear.

```text Server URL
https://mcp.lightyear.com
```

If your app asks for sign-in settings, see the [Technical reference](/docs/mcp/reference). If it can’t connect, it may not support Lightyear’s sign-in yet.

## After you connect

- Try asking: “How has my portfolio changed since January?” See [Tools](/docs/mcp/tools) for what your app can do.
- In Lightyear, approve or decline what your app drafts. See [Approvals and security](/docs/mcp/security).
- Change the app’s access or disconnect it at any time in [Connected apps](https://lightyear.com/settings/connected-apps).

App not using Lightyear? See [Troubleshooting](/docs/mcp/faq#troubleshooting).
