AI Integration (MCP)

Engeene speaks the Model Context Protocol (MCP), the standard way to give an AI assistant tools. Connect an MCP-compatible assistant and it can look up your models, run queries and list rows to answer questions in plain language — and, if you allow it, load data and build dashboards.

To ask questions inside Engeene itself, use Ask AI instead.

How a question is answered

Connect an AI assistant

Open Level Up → Connect an AI assistant in Engeene and pick your assistant from the Your assistant menu: Any assistant (the default), Claude, Claude Code, ChatGPT, Grok, Cursor, VS Code (GitHub Copilot) or Access token. The dialog then shows exactly what to paste into that assistant, with a Copy button beside it — nothing to look up. In a browser it connects the assistant to your workspace in the cloud; inside the desktop app it connects it to the app on your computer.

The assistant always acts as you: it sees only what your role lets you see, and you choose what it may do when you approve it — Read your data, models and dashboards, Ask AI, Import data, change Models or Dashboards, or Schedule dashboard deliveries and alerts. Ask AI is left out when you also allow something that changes data. Scheduling is never ticked for you, even when the assistant asks for it: a delivery keeps sending your dashboards by email or Slack after the conversation ends, so you tick it yourself, and the assistant still asks before each change.

Any assistant that supports MCP

Every assistant that can connect to a remote MCP server over HTTP — some call it a connector — connects the same way:

  1. In Engeene, open Level Up → Connect an AI assistant and click Copy beside the MCP server URL — your workspace address followed by /mcp, such as https://trailspark.eu.engeene.com/mcp.
  2. In your assistant, add a remote MCP server named Engeene and paste the address. If it asks how to authenticate, choose OAuth.
  3. Sign in to Engeene when the browser asks, tick what the assistant may do and click Allow.

These are the steps the dialog shows for Any assistant. If your assistant cannot sign in, choose Access token in the menu and connect it with an access token. For the popular assistants below, pick the one you use in the menu instead.

Claude on the web and in the Claude app

  1. In Engeene, open Level Up → Connect an AI assistant and click Copy beside the MCP server URL.
  2. In Claude, open Settings → Connectors and choose Add custom connector.
  3. Name it Engeene, paste the address and click Add.
  4. Click Connect. Sign in to Engeene if you are asked, tick what Claude may do and click Allow.

A connector you add on claude.ai is also available in the Claude app on your computer and phone.

Claude Code

  1. In Engeene, open Level Up → Connect an AI assistant, pick Claude Code in the menu and copy the command:

    claude mcp add --transport http engeene https://trailspark.eu.engeene.com/mcp && claude plugin install engeene --marketplace https://api.engeene.com/claude/marketplace.json
    
  2. Run it in a terminal. It connects Engeene and installs the Engeene plugin.

  3. In Claude Code, type /mcp, pick engeene and choose Authenticate.

  4. Sign in to Engeene in the browser window that opens, tick what Claude Code may do and click Allow.

The Engeene plugin for Claude Code

The command above also installs the Engeene plugin, which teaches Claude Code how to work with Engeene:

Ask Claude to… For example
Answer a question about your data "Show revenue and costs by month."
Build a dashboard "Build a dashboard for our support lead to plan next week's staffing."
Review or fix a dashboard "Why is the Revenue by region card empty?"
Design or change a model "Add a returns dataset linked to orders."
Load data "Load orders.csv into the orders dataset."
Share and organise dashboards "Let the finance role view the Revenue dashboard."
Set up the rest of the workspace "Send this dashboard to the sales team every Monday."

Claude checks every card against your data before it saves a dashboard, asks before it changes anything in your workspace, and gives you a link to open each result in Engeene. Charts it draws appear in colour, in the same colours as the app. Claude shares dashboards, sorts them into categories and saves filters for you, after you agree to who will see what. With Schedule dashboard deliveries and alerts allowed it also schedules reports and alerts, after you agree to the dashboard, the timing and every recipient. Roles and other settings are set up in Engeene itself, and Claude walks you through them step by step.

To install the plugin on its own, for example after connecting Engeene another way, run:

claude plugin install engeene --marketplace https://api.engeene.com/claude/marketplace.json

ChatGPT

  1. In Engeene, open Level Up → Connect an AI assistant and click Copy beside the MCP server URL.
  2. In ChatGPT, open Settings → Apps & Connectors → Advanced settings and turn on Developer mode. ChatGPT offers it on paid plans, and on a work plan an administrator may have to allow it first; the menu names can differ from plan to plan.
  3. Choose Create, name it Engeene, paste the address and choose OAuth as the authentication.
  4. Sign in to Engeene when you are asked, tick what ChatGPT may do and click Allow.
  5. In a chat, turn Engeene on from the tools menu.

Grok

  1. In Engeene, open Level Up → Connect an AI assistant, pick Grok in the menu and click Copy beside the MCP server URL.
  2. Open Grok on the web and go to grok.com/connectors.
  3. Choose New Connector, then Custom, and paste the address.
  4. Sign in to Engeene when you are asked, tick what Grok may do and click Allow.

Grok then offers the Engeene tools in your conversations. On a Business or Enterprise plan, a team admin adds the connector first. Grok reaches Engeene from the public internet, which your workspace address already is.

Cursor

  1. In Engeene, open Level Up → Connect an AI assistant, pick Cursor in the menu and copy the configuration:

    {
      "mcpServers": {
        "engeene": {
          "url": "https://trailspark.eu.engeene.com/mcp"
        }
      }
    }
    
  2. In Cursor's settings, go to the MCP section, add a custom MCP server and paste the configuration into the mcp.json file that opens.

  3. Choose Connect beside engeene, sign in to Engeene in the browser and click Allow.

VS Code with GitHub Copilot

  1. In Engeene, open Level Up → Connect an AI assistant, pick VS Code (GitHub Copilot) in the menu and copy the command:

    code --add-mcp '{"name":"engeene","type":"http","url":"https://trailspark.eu.engeene.com/mcp"}'
    
  2. Run it in a terminal — or, in VS Code, run MCP: Add Server from the Command Palette, choose HTTP and paste the address.

  3. When VS Code starts the server, sign in to Engeene in the browser and click Allow.

  4. In the Chat view, switch to Agent mode: the Engeene tools are in its tools list.

Connect with an access token

On a machine where nobody can sign in through a browser — a script, a build server — or with an assistant that cannot sign in, use an access token for an AI assistant instead. In the dialog, pick Access token in the menu, tick what the assistant may do and click Create token. Engeene shows the Authorization header to give any assistant that takes one — Authorization: Bearer <token> — and the Claude Code command with the token in it:

claude mcp add --transport http engeene https://trailspark.eu.engeene.com/mcp --header "Authorization: Bearer <token>" && claude plugin install engeene --marketplace https://api.engeene.com/claude/marketplace.json

The token is shown once — copy it before you close the dialog. It works until its expiry, and it stops at once when you revoke it on Users → Tokens.

A token offers Read data, Import data, Manage & edit models and Ask, but not Build dashboards or Schedule dashboard deliveries and alerts: dashboards, saved filters and deliveries are saved under a person's name, and a token is not a person. For those, connect the assistant with your own sign-in.

How long a connection lasts

An approved connection keeps working without asking again for up to 90 days. A change to your role applies to it within the hour, and it ends at once when you are removed from the workspace or sign out of all devices. Reconnect from the assistant to approve it again.

Disconnect an assistant

Open Settings from the user menu. AI assistants lists every assistant you connected, what it may do, when you connected it and when it was last active. Click Disconnect beside one and confirm: it loses access to the workspace at once, including any request it is in the middle of, and the assistant asks you to sign in again the next time it is used. Your other assistants keep working.

The list shows only your own assistants. An administrator who needs to end someone else's access blocks or removes that person on Users.

From the desktop app

Inside the desktop app, Level Up → Connect an AI assistant walks you through connecting the assistant to the app on your computer, with your access:

  1. Open Engeene → Settings… (⌘,) → Connections. The same controls are in the Settings → MCP (AI tools) menu.
  2. Turn on Expose to AI tools. A new installation leaves it off; the app remembers your choice.
  3. Under Allow AI tools to, tick what the assistant may do — Read data, Import data, Manage & edit models, Build dashboards. An unticked kind of tool is hidden from the assistant and refused if it asks anyway.
  4. Copy the setup for your assistant:
Assistant Click Then
Claude Code Copy Setup Command (the menu's Copy 'claude mcp add' command) Paste it into a terminal and press Return
Claude Desktop Copy Claude Desktop Configuration In Claude Desktop open Settings → Developer → Edit Config, add the copied engeene entry under mcpServers (or paste the whole document into an empty file), save and restart Claude Desktop. It starts the connection with npx, so it needs Node.js
Any other MCP assistant Copy MCP URL Paste the address into the assistant's MCP settings, with the Authorization header from either copy above

For dashboards built by Claude and charts in colour in Claude Code, the dialog also gives the command that installs the Engeene plugin.

Both copies carry the same credential. It works only for the app on your computer and expires within a day — when your assistant stops connecting, copy it again. Turn off Expose to AI tools and the app stops answering at once.

If the controls are greyed out, the app shows the reason under them. The whole menu is described in The Analytics Window.

Tools

The tools an assistant sees depend on what you allowed.

Allowed Tools What they do
Read data list_models Lists your models, datasets and properties
query Aggregates — measures, filters, grouping, Top N with an exact (Other) row, an aggregation of an aggregation (the daily count averaged over the sales people) — and answers as CSV
list_rows Lists rows with filters, sorting and paging, as CSV
lookup_attributes Finds the values to filter on from the text the user typed
render_html Draws a query as a finished chart or table — an HTML page with a link that opens it in Explore (details)
render_text The same, drawn with characters for a terminal or a chat window
render_dashboard_html, render_dashboard_text Draw a whole saved dashboard — by its id or address — as an HTML page or with characters, laid out as the dashboard is (details)
Import data infer_model_from_csv Proposes a dataset from a CSV sample
upload_csv Uploads a CSV file for a dataset (asks for confirmation when it replaces a staged one)
ingest_trigger Starts loading the uploaded files — adding rows, or replacing them
ingest_status Reports the most recent failed load, if any
Build dashboards list_dashboards, create_dashboard, update_dashboard, delete_dashboard Manage dashboards (format); changing or deleting one asks for confirmation. Like deliveries, the whole group needs the assistant connected with your own sign-in, never an access token
share_dashboard Sets who may view and who may edit a dashboard — only the owner, everyone, or people with a role (sharing); asks for confirmation
list_dashboard_categories, create_dashboard_category, rename_dashboard_category, delete_dashboard_category Organise dashboards into categories; deleting one asks for confirmation and keeps its dashboards
list_saved_filters, create_saved_filter, update_saved_filter, delete_saved_filter Lists, saves, changes and deletes named filter sets for a dashboard's Filters button (only your own can be changed); sharing one with the workspace or deleting one asks for confirmation
Manage & edit models create_model, update_model, delete_model Manage model definitions
Schedule dashboard deliveries and alerts list_report_triggers, create_report_trigger, update_report_trigger, delete_report_trigger Lists, schedules, changes and deletes scheduled reports and alerts — a dashboard sent by email or Slack on a timetable or when a measure crosses a threshold. Off unless you tick it; every change, pausing included, asks for confirmation. A delivery belongs to the person the assistant acts for, so these work only when the assistant is connected with your own sign-in, never with an access token
Ask ask_explore, ask_dashboard Turn a free-text question into an Explore query or a dashboard layout

When the person should see a result, the assistant asks for a picture rather than drawing one from CSV: render_html and render_text take the same input as query plus a visualization — a word such as auto, table, Line or Pie, or a complete visualization definition — and the chart comes back drawn exactly as the app draws it, with a link to open it in Explore. In a text drawing every series has its own pattern as well as its own colour, so it reads in any terminal. The drawing comes in the app's colours unless the assistant asks for plain text (color set to none), which it should when it shows the drawing inside its own formatted reply; truecolor gives the exact colours in a terminal that supports them. The values are the same as the render endpoint's.

Query and list answers carry readable values: attribute names as text, measures as plain decimals, and an empty cell where no row had a value.

ingest_status does not say when a load has finished — only whether one failed. To confirm new rows are in, the assistant compares a Count of the dataset's Id before and after.

Answers reach the assistant exactly as stored, so a value such as =SUM(A1) stays =SUM(A1). If you have the assistant save a result as a .csv file and open it in a spreadsheet, such a value can run as a formula. For a file to open in a spreadsheet, use the CSV export in the app, which marks these values as text.

← TypeScript ClientREST API →