Getting started

Connect your data with your AI assistant

Your own AI assistant connects your systems to Kymoscope, tests the connection and keeps it running. You need no programming.

Tell your assistant where your data is. It finds the right connector, or writes one when nothing fits, tests it against your system, sends a first sample and installs the collector so it keeps running. Later, the same assistant answers questions about Kymoscope and finds out why data stopped. You approve each change. This page is for whoever sets it up; the last sections are for your IT and security team.

Set it up

You need a Windows, Linux or macOS machine, an assistant that runs local MCP servers (below), and a Kymoscope account; a free one is enough to start.

The shortest way: if your assistant can run commands, as Claude Code, Cursor and VS Code with Copilot can, say "Install the Kymoscope MCP following https://kymoscope.com/docs/mcp". It follows the next section and asks before it installs anything. On Claude Desktop, use the extension, under Add it to your assistant. To do it yourself:

  1. Install uv, the small program that fetches and starts the server (Claude Desktop's extension doesn't need it). In a terminal:
    Windows (PowerShell)
    powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
    Linux and macOS
    curl -LsSf https://astral.sh/uv/install.sh | sh
  2. Add the server to your assistant, as the next section shows.
  3. Quit your assistant completely and start it again. It only reads this setting when it starts.
  4. Say: "Connect my data to Kymoscope." Your assistant leads from there, one step at a time.

If nothing happens, or your assistant says the server failed, see If the server won't start.

For AI assistants: install it for the person

For an AI assistant that a person asked to install this server. Work in their terminal, as their own account, show each command before you run it, and add the server only to the client you are running in. Claude Desktop can't run these commands: tell the person to install the extension, under Add it to your assistant.

  1. Check the system: Windows, Linux or macOS.
  2. Find uvx: run uvx --version. If that fails but ~/.local/bin/uvx exists (Windows: %USERPROFILE%\.local\bin\uvx.exe), uv is installed and this terminal started before it: use that full path in place of uvx below, in Windows form on Windows (C:\Users\<name>\.local\bin\uvx.exe).
  3. If there is no uv, ask the person first, then run the official installer. It installs for this account only, needs no administrator, and puts uvx in that same folder, so use the full path as above:
    Windows
    powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
    Linux and macOS
    curl -LsSf https://astral.sh/uv/install.sh | sh
  4. Add the server to your own client:
    • Claude Code: it prints Added .... Then claude mcp get kymoscope shows whether it connects.
      Shell
      claude mcp add --transport stdio --scope user kymoscope -- uvx --no-config --python 3.12 kymoscope-mcp
    • Cursor: add the kymoscope entry to mcpServers in ~/.cursor/mcp.json (Windows: %USERPROFILE%\.cursor\mcp.json). Create the file if it's missing; keep every other server in it.
      JSON
      {
        "mcpServers": {
          "kymoscope": {
            "type": "stdio",
            "command": "uvx",
            "args": ["--no-config", "--python", "3.12", "kymoscope-mcp"]
          }
        }
      }
    • VS Code with Copilot: it prints Added MCP servers: kymoscope and writes the user mcp.json (%APPDATA%\Code\User\mcp.json, ~/.config/Code/User/mcp.json on Linux, or ~/Library/Application Support/Code/User/mcp.json on macOS). From bash:
      Shell
      code --add-mcp '{"name":"kymoscope","type":"stdio","command":"uvx","args":["--no-config","--python","3.12","kymoscope-mcp"]}'
      From Windows PowerShell 5.1, which drops plain quotes (if it answers Invalid JSON, use the other form):
      Shell
      code --add-mcp '{\"name\":\"kymoscope\",\"type\":\"stdio\",\"command\":\"uvx\",\"args\":[\"--no-config\",\"--python\",\"3.12\",\"kymoscope-mcp\"]}'
    With a full path to uvx, put it in place of uvx; in JSON, write each backslash twice.
  5. Ask the person to quit the client completely and start it again (Claude Code: a new session). The first start downloads the server, which can take a minute.
  6. Check: the Kymoscope tools are listed, get_started among them. Call get_started; it leads from there. With no tools after a minute, see If the server won't start.

Don't:

  • use an administrator or sudo terminal, or install uv any other way (pip, a package manager);
  • drop --no-config or --python 3.12, or add an env or --env the person's IT didn't ask for;
  • ask for an API key or let the person paste one in the chat: get_started says where it goes.

Add it to your assistant

Claude Code

Run this once in a terminal. --scope user makes it available in all your projects:

Shell
claude mcp add --transport stdio --scope user kymoscope -- uvx --no-config --python 3.12 kymoscope-mcp

Claude Desktop

The Kymoscope extension installs it with a click and needs no uv: Claude Desktop fetches what it needs. Download kymoscope-mcp.mcpb, then open it by double-clicking it, dragging it onto the Claude window, or in Settings, Extensions, Advanced settings, Install Extension, then choose Install. Claude Desktop says it isn't signed. The first install can take a few minutes.

Without the extension, open Settings, then Developer, then Edit Config. That opens %APPDATA%\Claude\claude_desktop_config.json on Windows, ~/Library/Application Support/Claude/claude_desktop_config.json on macOS, or ~/.config/Claude/claude_desktop_config.json on Linux, where Claude Desktop is in beta. Installed from the Microsoft Store, current versions keep it at %LOCALAPPDATA%\Claude-Data\claude_<id>\claude_desktop_config.jsoninstead. Edit Config opens the right file, whichever it is. If the file already has an mcpServers section, add only the kymoscope entry to it. Quit from the system tray too: closing the window doesn't restart it.

claude_desktop_config.json
{
  "mcpServers": {
    "kymoscope": {
      "command": "uvx",
      "args": ["--no-config", "--python", "3.12", "kymoscope-mcp"]
    }
  }
}

Cursor

Create ~/.cursor/mcp.json (on Windows, %USERPROFILE%\.cursor\mcp.json) to have it everywhere, or .cursor/mcp.json in one project:

mcp.json
{
  "mcpServers": {
    "kymoscope": {
      "type": "stdio",
      "command": "uvx",
      "args": ["--no-config", "--python", "3.12", "kymoscope-mcp"]
    }
  }
}

VS Code with GitHub Copilot

VS Code's format differs: the top key is servers, and type is required. Open the Command Palette (Ctrl+Shift+P), run MCP: Open User Configuration, and save this. VS Code asks you to trust the server when it first starts it. Use Copilot Chat in agent mode.

mcp.json
{
  "servers": {
    "kymoscope": {
      "type": "stdio",
      "command": "uvx",
      "args": ["--no-config", "--python", "3.12", "kymoscope-mcp"]
    }
  }
}

If it says it has no Kymoscope tools

The server downloads what it needs the first time it starts, which can take a minute, and an assistant may answer before that ends. Ask it again: from then on the server starts in seconds.

If it says it can't find uvx

A desktop app doesn't always see the programs a terminal sees. Find the full path with where.exe uvx on Windows or which uvx on Linux and macOS. If it finds nothing, close the terminal, open a new one and try again. Put the path in command. In JSON, each backslash is written twice. Then restart the assistant.

JSON
{
  "mcpServers": {
    "kymoscope": {
      "command": "C:\\Users\\you\\.local\\bin\\uvx.exe",
      "args": ["--no-config", "--python", "3.12", "kymoscope-mcp"]
    }
  }
}

What your assistant will walk you through

  1. On Windows, an administrator lock of the folder, once (next section).
  2. Your API key. Create one at app.kymoscope.com/account under API & Real-time streaming, or in a project's API keys tab. Save the whole key, alone, in api_key.txt in the folder your assistant names. Your assistant gives you the command that opens it: on Windows, press Windows+R and run notepad C:\ProgramData\Kymoscope\api_key.txt, answer Yes to create the file, paste the key, save and close. C:\ProgramData is hidden in File Explorer; the command opens the file directly. Never paste it in the chat: what's in the chat reaches your AI provider.
  3. Where your data is. It checks this machine reaches the system, picks a source type, and names the stream after the source. If it would connect to your system unencrypted, the preview says so, and why. Ask the system's owner for a read-only user; a password goes in a file too, never in the chat.
  4. Your tags. It asks your system which tags it offers and writes them to tags.csv in the folder, after your yes. For OPC UA it proposes the strongest security the server offers.
  5. A test that reads for a few seconds and sends nothing, then a short real send to your account. The stream leaves LIVE within about a minute of the send ending: nothing is wrong, and you see it live once the service runs.
  6. The service, so the collector keeps running after a restart. You or IT run the administrator commands it hands you; nothing else needs an administrator console.
  7. Your own eyes. Open Kymoscope, click LIVE on the left and Connect beside the stream's name (on a new account, skip the tutorial and its demo first). To see values: Charts, Multi-Series, right-click the new chart, Multiband settings, Add signal. Check that the channels look right. That's the final proof.

Workbooks from your assistant

Your assistant can build a workbook for you, or change one you have: worksheets, charts and their settings, math channels and the cycles library. Describe what you want to see, for example "a worksheet per line, with temperature and pressure over time and a histogram of the temperature", or "add the power in kW to Line 2 overview, and a batch cycle while the speed is above 100 rpm". It shows the outline first and saves it after your yes.

  • Where it goes: where your API key belongs. A personal key puts it in your Workbooks; a project's key, in that project. It opens from the link your assistant gives you, or from Workspace, Open, Workbook, Cloud.
  • What it holds: the layout and settings only, never data. Charts on live channels fill once you connect the stream (LIVE, Connect); charts on a dataset's columns, once you open it.
  • Scales: each signal of a time chart gets the range your assistant measured when it tested the source, so the lines start in view.
  • Changes: your assistant reads the workbook, changes what you asked and keeps the rest. The version before stays in the workbook's history, to go back to in the app. If someone has the workbook open for editing, it waits for them to close it rather than overwrite their work.
  • Math channels: a formula over your channels, such as voltage * current / 1000. A channel whose name has a slash or a dot (line1/temperature) can't be used in a formula yet. The app keeps a math channel while a chart shows it.
  • Plans: cloud workbooks come with Pro and above. A project with end-to-end encryption or two-factor sign-in takes its workbooks from the app only: an API key can't open its key or sign in.

Alerts from your assistant

Describe the alert, for example "warn me when the current stays above 16 A for 10 seconds". Your assistant shows the rule in words and saves it after your yes, where your API key belongs.

  • Where it fires: on screen while Kymoscope is open: a toast, marks on the charts and a sound. It doesn't send email.
  • What it watches: every stream and dataset with that channel name.
  • Changing it: under Alerts (the bell on the left), where you can edit it, switch it off or delete it. Your assistant can also list the rules you have.
  • Projects: a project with end-to-end encryption or two-factor sign-in takes its rules from the app only.

Later: update, remove a source, uninstall

Ask your assistant in your own words. Each change shows a preview first and waits for your yes.

  • Live or record: every stream your assistant writes says its mode, and it asks you which: live (watched as it comes, nothing kept) or record (also kept in the cloud, within your plan's storage). Ask it to switch a stream later. See Limits and usage.
  • What is left on your plan: ask "how much of my plan is in use?". The usage tool answers with live bandwidth, data and video storage and this month's video hours, each of what your plan allows.
  • Move to collector 1.0: a configuration from an earlier collector lists its sources at the top, which 1.0 refuses. Your assistant says so, shows the new shape and, after your yes, converts the file: each source becomes a stream of its own, named after it, so it keeps its stream in Kymoscope and its buffer. It asks you live or record for any source whose old settings don't say.
  • Move to collector 2.0: a configuration with history, recording, segments or sinks no longer starts. Your assistant shows what goes and, after your yes, removes those keys: a stream they recorded gets mode: record, and your cycles stay as they are.
  • Update the collector to its newest release, keeping every source's libraries. The service keeps the old version until it restarts, which your assistant offers next. On Windows the service is stopped first: Windows won't replace the files of a running program.
  • Remove a source from the configuration, with a copy of the previous file kept. Its stream in Kymoscope stays, with its recordings and rules, until you delete it in the app.
  • Uninstall the service, so nothing more is sent from this machine. The folder stays, with the configuration and the API key: if the machine won't send again, delete the folder and revoke the key at app.kymoscope.com/account.

On Windows: lock the folder, then save the key

The first thing your assistant gives you is a set of commands for an administrator Command Prompt (cmd, not PowerShell). To open it: press Start, type cmd, right-click Command Prompt, and choose Run as administrator. Run the commands exactly, once, and tell your assistant. If you have no administrator account, forward them to IT.

The lock keeps other accounts from writing to C:\ProgramData\Kymoscope, where the collector's service runs from (see Security). It comes first because it moves aside whatever was in the folder, your key included. If you installed the collector earlier, your assistant first says what it found and what replacing it means: the service stops and is removed, live data stops until the new install is done, data not yet sent from the old folder isn't sent, and your account, streams and recordings online stay as they are.

  • A key saved before the lock could have been read by other accounts. Replace it: Reissue in the project's API keys tab, or for a personal key revoke it and create a new one. Save the new one in the locked folder.
  • What was there moves to a folder named C:\ProgramData\Kymoscope.untrusted-…. Don't reuse anything from it. Delete it with the rmdir /S /Q line your assistant gave you. If nothing was there, there's nothing to delete.

Linux and macOS have no lock step. You get two sudo commands that create /opt/kymoscope for your account. On macOS the service is a launchd daemon (/Library/LaunchDaemons/com.kymoscope.collector.plist) that runs as a hidden kymoscope account with no login, which the commands create; a files source there can't watch a folder under /Users, which macOS keeps private to its person.

What approving looks like

Before any change, your assistant shows a plain sentence saying what will happen, with the details under it, and asks you. Only your yes lets it go on, and that yes covers exactly what was shown: if anything differs, you get a new preview. Reading and checking need no yes.

Your assistant also has its own prompts, asking to allow a tool. Expect one for test_source: it sends nothing, but it runs the connector's code and reads from your system, so it isn't a read-only tool.

What you seeWhat it means
Commands to run, and no questionThis step needs administrator rights, which the server never takes (no_admin). Nothing ran. Run them, or forward them to IT, then ask your assistant to check again.
Your assistant gives up on a long installNormal: the install can take many minutes and goes on regardless. Say "continue". It calls again with the same yes, and doesn't install twice.
That confirm code was mistypedYour assistant copied the code wrong. Nothing changed: it calls again with the code the message gives. No file needs editing by hand.
still_workingAnother change is still running. Wait a minute and ask again.
repeatedThis is what that yes already did. It didn’t run again. If it failed, trying again needs a new preview and a new yes.
token_usedThat yes was already spent, and the server has restarted since. Your assistant checks where things stand; doing it again needs a new preview and a new yes.
delivered: null, healthy: nullCan’t tell, which is neither good nor bad. It’s a normal answer for a source that sends hourly or only on a change, and while nobody has the stream open (live data goes only while someone watches or a cloud recording is on). It can also mean the log holds warnings the tool can’t name, which may be routine. If yours should be sending now, ask your assistant to diagnose.

When something fails, your assistant tells you what happened, the next step and who does it: you, IT, a project lead, a project member, the account owner or the source system's owner.

When the data is on another server

If this machine can't reach your system, your assistant prepares a zip. Copy it to a server that can, save the API key next to the install script, and run the script as its INSTALL.md says. It tests each source first and starts nothing if a test fails. That server needs Python 3.10 to 3.14 and access to a package index. From this machine, your assistant can then see the collector is alive, not that data flows: you confirm the channels in Kymoscope.

  • In the zip: the configuration without its comments, connector code, files the sources need such as tag lists and certificates, the install scripts, and each file's hash.
  • Never in the zip: the API key, secret files and private keys, state, backups, logs and anything hidden. You bring those to the server. Secrets are recognised by name and shape, so read the preview's configuration and any connector code before sending it anywhere.

Connectors your assistant writes, and who supports what

When no built-in source fits, your assistant writes a connector: a readable folder under connectors/, with a README saying what it reads. It's yours, so keep it in your own version control. Kymoscope supports the collector, the connector contract and this server, not the generated code. Your assistant can diagnose and fix it with the same tools.

If the collector was updated by hand or by IT, ask your assistant to test the source again. If a connector that passed on an earlier version now fails, it says so (adapter_failed_after_update); earlier versions of the connector stay in backups.

Members and account deletion are yours, at your account. To change plan, the account owner uses Talk to us on the pricing page.

If the server won't start

For your IT team. The assistant can only report that the server failed. To see why, run uvx --no-config --python 3.12 kymoscope-mcp in a terminal as the same user: a server that started says nothing and waits, so stop it with Ctrl+C. Claude Desktop keeps the same output in %APPDATA%\Claude\logs\mcp-server-kymoscope.log; Cursor shows it in the Output panel under MCP Logs.

What it saysCause and fix
os error 4551, 1260, or a program blocked by policyApplication control (below).
invalid peer certificate: UnknownIssuerTLS inspection stops uvx, which by default trusts only its own certificates. With the inspection root in the Windows certificate store, or the Linux system bundle, set UV_SYSTEM_CERTS as below. Very old uv (before 0.11) reads UV_NATIVE_TLS instead.
A failure fetching pypi.org, or kymoscope-mcp not foundThe machine can't reach the package index. Allow outbound HTTPS to pypi.org and files.pythonhosted.org, name a proxy with HTTPS_PROXY, or use a company mirror with UV_DEFAULT_INDEX. It must offer kymoscope-mcp, kymoscope, kymoscope-collector and their dependencies.
Microsoft Visual C++ 14.0 or greater is requiredThe entry lacks --python 3.12, so uv took its newest Python, for which some parts aren't ready yet. Add --python 3.12 after --no-config, as under Add it to your assistant.
The assistant says uvx isn't found, or ENOENTThe assistant doesn’t see uvx: use the full path, as under Add it to your assistant.

Settings go in the assistant's env

A desktop app doesn't read what you set in a terminal, so settings go in the env of the server's entry. Keep only the lines you need. VS Code takes the same env under servers; Claude Code takes --env NAME=value before --transport.

JSON
{
  "mcpServers": {
    "kymoscope": {
      "command": "uvx",
      "args": ["--no-config", "--python", "3.12", "kymoscope-mcp"],
      "env": {
        "UV_SYSTEM_CERTS": "true",
        "UV_DEFAULT_INDEX": "https://mirror.customer.local/simple",
        "HTTPS_PROXY": "http://proxy.customer.local:8080"
      }
    }
  }
}
  • A company mirror works only through UV_DEFAULT_INDEX. --no-config makes uvx ignore every uv.toml, since any Windows user can write the system-level one and it would choose where this server is installed from. The collector's install follows the same rule.
  • --python 3.12 keeps uv off a Python newer than the server's parts support. uv uses a 3.12 already on the machine, or downloads its own.
  • A password in a mirror or proxy URL stays in plain text in this file. Prefer a mirror and proxy that need none here.
  • HTTPS_PROXY covers the server and its installs. The running collector has its own proxy setting; see Proxy.

Application control

WDAC and AppLocker can block what the server needs. uv's own programs and the Python from python.org are signed. The programs uv creates to start the server and collector aren't, and the packages from PyPI hold native files, so expect to allow them: pydantic_core, rpds, yaml, charset_normalizer, _cffi_backend, cryptography, pywin32 (the collector's service host too), and each source type's own libraries. A Python that uv downloads is another program to allow, so install Python 3.12 from python.org for all users instead.

FolderWhat runs from it
%LOCALAPPDATA%\uv\cacheThe server, in the temporary environment uvx makes. Each user can write this folder.
%APPDATA%\uv\pythonA Python uv downloaded for the server, if there was no other.
C:\ProgramData\KymoscopeThe collector and its service. Locked: only LocalSystem, Administrators and the setup account can write it.
C:\ProgramData\KymoscopeServiceThe service's own state: buffers, keys, logs and status. Only LocalSystem, Administrators and the service's account can write it; the setup account reads it.

Allow these by path, or by hash for files that change with each release. A path rule on a folder its user can write also lets anything that user puts there run, so your security team decides on the first two; UV_CACHE_DIR in env moves the cache elsewhere if that helps. Smart App Control takes no rules at all. Where no rule is acceptable, use one of these:

  • WSL: install uv inside it, then point the assistant there, as below. It works as on Linux: /opt/kymoscope, and the service needs systemd in WSL.
  • Docker: this server has no image, but the collector does: follow the collector guide. Prepare its configuration with this server on a machine allowed to run it, or by hand.
The server in WSL
{
  "mcpServers": {
    "kymoscope": {
      "command": "wsl",
      "args": ["-d", "Ubuntu", "--", "bash", "-lc", "uvx --no-config --python 3.12 kymoscope-mcp"]
    }
  }
}

Security: what runs, and what your AI provider sees

For your IT security team.

What runs where

  • The server runs on this machine, started by the assistant as the signed-in user. It has no cloud side. It calls Kymoscope only to check the API key and a stream's last-seen time.
  • Data goes from the collector to Kymoscope end-to-end encrypted, as in the collector guide. It doesn't pass through the server.
  • Administrator rights are never taken. Without them, the server returns the exact commands. An assistant already started as administrator can apply them itself, after a yes.
  • The server's version: uvx takes what the index offers. To pin it, write kymoscope-mcp==<version> in the entry.

What your AI provider sees

Whatever a tool returns goes to your AI provider, as does the chat. Choose your provider with that in mind.

  • Normally: tag names, source addresses, counts and time ranges, this machine's name, your account name, folders, stream names, what your plan includes, connector code, the configuration with secrets masked, a failed install's output, and log lines reduced to their time, level, logger and a code or exception type (or a fixed sentence for routine start-up warnings and how the collector last stopped). A refusal from Kymoscope itself comes back whole.
  • Real readings, normally: each tag's lowest and highest value in a test, with its first and last time and count. For a steady signal, these are the value itself.
  • More only with the samples option: a few values per tag and every exception's message. Your assistant is told to ask you first, but the server can't check that it did. Messages about the system, such as a failed connection to an address or a missing file, come back without it.
  • The server can't limit an assistant's other tools. One that can read files, as Claude Code and Cursor can, can open collector.log, the configuration or a key file like any program of that user. Set its permissions accordingly.

Secrets, previews and logs

  • The API key and passwords live in files or environment variables. Tools never return them, and they refuse a plain password in the configuration or in connector code. They recognise secrets by name and shape, so one with neither can get through.
  • A configuration preview shows only what changes, with secrets masked. Its confirm code covers the file as it was and as it would be, so any other edit to the file asks for a new yes.
  • diagnose holds codes, exception types and those fixed sentences, with the full text only in collector.log on this machine. It doesn't load the configuration, as that runs connector code; test_source(offline=True) does.
  • The previous configuration and connector files stay in backups, and every change goes to mcp-actions.log.

The yes is a safeguard, not a boundary

A server can't tell a person's yes from an assistant answering itself or a client set to auto-approve, so tools are also marked as writes for the client's own prompts. Setting KYMOSCOPE_MCP_CONFIRM=off in env skips the question: changes apply at once with no preview, and results and the log say confirmation: off.

Code and permissions

  • Generated connectors run with the collector's permissions, at every configuration load and test: the permissions of whoever starts it, and in the service, its account. The test is a review aid, not isolation. Read adapter.py if your policy requires it. The preview gives your assistant the whole file, so ask to see it.
  • On Windows, whoever can write the folder acts as the collector's service, as the service runs its code. The service runs as its own account, NT SERVICE\KymoscopeCollector, not SYSTEM: it reads the folder and writes only its own state folder, C:\ProgramData\KymoscopeService, which the install makes in one step outside the folder you write (state_dir counts only for tests run as you; what they left there is copied in at the service's first start). The administrator commands never change the permissions of a folder you write: a lock made before this asks to be made again. The lock leaves LocalSystem, Administrators and the account that set it up, so that account and any assistant it runs can do what the service does, read the API key included, and no more. It has no right to act as another account, and the administrator commands run only Windows' own programs (sc, reg, PowerShell), never the collector in the folder. Anything outside the folder needs rights for that account: a watched drop folder and its done and failed folders (modify), a vendor's DLL or SDK folder (read), and an OPC DA server (DCOM launch and access). To let it use an own relay without TLS, set KYMOSCOPE_ALLOW_INSECURE_RELAY=1 in this server's env, restart the assistant, then have it run uninstall_service and install_service: the service gets it too. On Linux the service runs as the unprivileged kymoscope user.
  • Use a read-only user on your system. The connector contract tells code never to write to the source; only the source's own permissions can ensure it.