# Amplitude

Let Lyna AI read and write your Amplitude charts, dashboards, experiments, cohorts, events and properties while it builds.

Connect your Amplitude account so Lyna AI can read how your product performs, then build from it: a funnel that drops, a cohort to target, an experiment to read.

## What it lets you do

- Query data: segmentation, funnels and retention.
- Find, read and render charts, dashboards and notebooks.
- Retrieve, create and sync cohorts, and export them as CSV. A sync shows a preview and asks for confirmation.
- Read and create experiments and feature flags, and read their results.
- Manage your events and properties.
- Search session replays from the last 30 days, and read customer feedback.

| Item                         | Detail                                                                                                       |
| ---------------------------- | ------------------------------------------------------------------------------------------------------------ |
| What it asks for             | A sign-in on Amplitude's page.                                                                               |
| Who pays the provider        | You, through your own Amplitude plan.                                                                        |
| Do actions change real data? | Yes. It reads and writes in Amplitude. Deleting an event or a property has its own second step at Amplitude. |
| Where it runs                | On Amplitude's servers.                                                                                      |
| Who uses it                  | Lyna AI while it builds, in Build mode. Your published app does not use it.                                  |

## What you need before you start

- An Amplitude account with access to the project. Any existing Amplitude customer can use this server.
- A role with the **Use MCP** action. Every role can read by default; Member, Manager and Admin can also write.
- On the EU region, the EU address (see Limits).
- Edit access to your Lyna project.

### Permissions in Amplitude

Amplitude checks two actions per project on each call: **Use MCP (read)** and **Use MCP (write)**. Tools stay listed either way, and a call with no permission fails when it runs, even for an org administrator. Admins can also allow or block the server for the whole organization.

| Task                                              | What you need                                                     |
| ------------------------------------------------- | ----------------------------------------------------------------- |
| Read charts, dashboards, cohorts and results      | **Use MCP (read)**, which every role grants                       |
| Create or change things, such as a taxonomy entry | **Use MCP (write)**, which Member, Manager and Admin grant        |
| Change events and properties                      | The write action, plus **Update Tracking Plan** in Amplitude Data |
| Change custom events                              | The write action, plus **Manage Data Enrichments**                |
| Use the server at all                             | Not blocked under **Settings > Content Access > MCP**             |

A person cannot override a restriction set for the organization. See [Amplitude MCP](https://amplitude.com/docs/amplitude-ai/amplitude-mcp).

## Ways to connect

**On the connector's page.** A sign-in on Amplitude's own page. Lyna stores it encrypted. Only the owner can sign in again.

**Who owns the account?** The person who signed in. Every call goes out as that person's Amplitude account, whoever typed the request.

**Who can use it?** Only you, in the projects you link it to, until you change it. On the connector's page, **Who can use it** also offers **Only this project** and **The whole workspace**. See [Who can use a connection](/integrations/connectors#who-can-use-a-connection).

**The EU region.** In **Connectors**, choose **Add custom**, then **Custom server**. Give it a name, paste `https://mcp.eu.amplitude.com/mcp` in **Server address**, keep **Sign in** under **How it signs in**, and choose **Add and test**.

## Set it up

1. ### Open the connector

   Open the **+** menu of the chat and choose **Connectors**. Find **Amplitude** with the search field or under **Analytics**, then open its page.
2. ### Connect

   Choose **Connect**. The **New connection** page opens and reads "Sign in with your Amplitude account to connect." Choose **Connect** at the bottom of the page. **Sharing**, just above, sets who can use it.
3. ### Sign in

   A new window opens on Amplitude's own page. If your browser blocks the window, the page goes to the sign-in in the same tab and brings you back after. Sign in and approve the access. Stay signed in to a single Amplitude organization: Amplitude states that being signed in to several can cause sign-in problems.
4. ### Read the result

   The page tests the connection and shows the result. **Connected** means Lyna can use it.

This connector shows no field to fill in: everything you give, you give on Amplitude's own page.

> [!WARNING]
>
> **What never to share**
>
> Lyna never asks for your Amplitude password. Type it only on Amplitude's own page, and never paste a password, a token or a key in the chat.

### Check it works

After you choose **Connect**, the page tests the connection and shows the result. Run it again at any time with **Test connection**. **Connected** proves that Amplitude's server answered, accepted your sign-in and listed its tools. A pass does not prove access to every piece of data. You get no more data than your account already has, and access is set per project by your role.

To check for real, ask for something you know exists:

- "List the Amplitude projects I can read, and the name of one dashboard in each."

## What to ask Lyna AI

Type these in the chat, in Build mode, and adjust the names to yours. Once it is connected, **Use Amplitude** on its page starts a message for you.

| What you build or do         | What to type                                                                                    | What happens                                                           |
| ---------------------------- | ----------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------- |
| Find where people leave      | "Show me the sign-up funnel for the last 30 days and tell me which step loses the most people." | Lyna AI queries the funnel and answers in the chat.                    |
| Decide on an experiment      | "Read the results of the checkout experiment and tell me which variant to keep."                | It reads the results and gives you its reading.                        |
| Fill tracking gaps           | "List the events on the pricing page, then send the missing ones from the app."                 | It reads your events, then adds the tracking to your code.             |
| Bring a chart into your work | "Find the Activation dashboard and summarize its charts."                                       | It finds the dashboard and reads each chart.                           |
| Build an audience            | "Create a cohort of people who started checkout this week."                                     | A cohort sync shows a preview and asks you to confirm.                 |
| Read what users say          | "Search the customer feedback for complaints about pricing."                                    | It reads the feedback and groups what it finds.                        |
| Tidy your events             | "Add a description to the signup\_completed event."                                             | After your approval, your taxonomy changes. It needs the write action. |

### Approvals and tool switches

Before a call, Lyna AI shows the tool and what it asks. You choose **Deny**, **Allow once**, **Always allow this tool** or **Always allow this connector**. A tool its server marks as read-only does not ask. A changed or new tool asks again, and **Ask again** on the connector's page takes a choice back.

Under **What Lyna AI can use**, each tool has a switch. Lyna AI stops using a tool you turn off, in your chats in this project.

### Stay safe

What a connector answers reaches the AI as data, never as instructions. Read each approval before you accept it.

- For a read-only connection, ask your Amplitude admin to give you a role with **Use MCP (read)** only. A role without the action fails even for an admin.
- Admins can restrict access for the whole organization under **Settings > Content Access > MCP**.
- Every delete takes two steps at Amplitude. Custom and labeled events are deleted for good.

## Limits

- It does not take in events. Send those with an Amplitude SDK or its HTTP API.
- It does not return the contents of files uploaded to AI Context.
- See [Amplitude MCP](https://amplitude.com/docs/analytics/amplitude-mcp).
- Connector tools run in Build mode. Plan and Ask do not run them.

## Troubleshooting

| What you see                                                           | What it means and what to do                                                                                                                                                               |
| ---------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **Needs sign-in**                                                      | Your sign-in ended, or you revoked it at Amplitude. Choose **Connect** and sign in again.                                                                                                  |
| The sign-in window does not open                                       | Your browser blocked it, so the page goes to the sign-in in the same tab. If nothing happens, allow pop-ups for Lyna and choose **Connect** again.                                         |
| No answer from the sign-in window yet                                  | If the window is still open, finish there. If you closed it, choose **Connect** again.                                                                                                     |
| **The sign-in was cancelled.**                                         | You closed or declined Amplitude's page. Choose **Connect** and approve the access.                                                                                                        |
| **The service refused the sign-in.**                                   | Check that you used the right account and that your organization allows this access, then choose **Connect**.                                                                              |
| **The sign-in took too long. Start it again.**                         | Choose **Connect** and sign in again.                                                                                                                                                      |
| **The sign-in worked, but the server did not answer.**                 | Choose **Test connection**.                                                                                                                                                                |
| **Not tested yet**                                                     | No test has answered. Choose **Test connection**.                                                                                                                                          |
| **Connection failed**                                                  | The page says why next to it. If the server did not answer, choose **Test connection**.                                                                                                    |
| A call fails with a permission error                                   | **Connected** does not prove access to every piece of data. Amplitude refused the call with the rights of the account you connected. Check Permissions in Amplitude above, then try again. |
| **New tools to review**                                                | The server changed its list of tools, so Lyna stops using it until you decide. Read the list, then choose **Approve new tools**.                                                           |
| **Turned off**                                                         | Lyna AI does not use it. Choose **Turn on**.                                                                                                                                               |
| It needs a new sign-in. Only the person who connected it can give one. | Someone else connected it, and that sign-in ended. Ask that person to choose **Connect**.                                                                                                  |
| The person who connected it left the workspace                         | The connection holds no key or sign-in. Choose **Connect** to use it again.                                                                                                                |
| Data is missing                                                        | Check your project access and role, and that the data shows in Amplitude itself.                                                                                                           |
| A chart looks cut short                                                | Large charts may be truncated, and a chart queried from a dashboard may ignore its saved filters. Ask for a smaller range.                                                                 |
| A request times out                                                    | Split it into smaller questions.                                                                                                                                                           |
| You see no data on the EU region                                       | Your account is on the EU region. Use the EU address above.                                                                                                                                |

### Disconnect

**Turn off** stops Lyna from using the connector and keeps your settings. **Remove from this project**, under **More options**, takes it out of this project only, and shows when another project uses it. **Delete connection**, in the same menu, removes it from every project, with what it stored, and says first how many projects lose it. Your Amplitude admin can also restrict access at the source, under **Settings > Content Access > MCP**.

## Related

- [Connectors](/integrations/connectors): What connectors are and how the chat uses them.
- [PostHog](/integrations/connectors/posthog): Query your analytics and manage flags.
- [Confidence](/integrations/connectors/confidence): Manage flags and read experiments.
- [Chat modes](/features/ai/chat-modes): Build, Plan and Ask.
