---
title: Setup
url: https://docs.kaltura.com/docs/tools-skills-mcp/events-mcp/events-mcp-setup
---

## Setup

The server runs on your machine and talks to your MCP client over stdio. You can run it with Docker or from source.

### Before You Start

* **Docker**, or **Node 22** if you run it from source.
* **A KS for the partner whose events you want to manage.** What each tool can do is decided by the Events Platform API, based on the KS. Read-only calls may work with less, but creating events or managing team members needs an Events Platform admin or organizer. See [Events Platform prerequisites](/docs/events-collaboration/events-platform-api/events-platform-prerequisites) and the [Session Guide](/docs/getting-started/authentication/ks-overview).

### Claude Code

```bash
claude mcp add kaltura-events -s user -- docker run -i --rm -e KALTURA_KS ghcr.io/kaltura/mcp-events:latest
```

Docker passes `KALTURA_KS` through from your shell, so export it before starting Claude Code:

```bash
export KALTURA_KS="<your KS>"
claude
```

Run `/mcp` to confirm `kaltura-events` shows as connected.

### Claude Desktop, Cursor and Other stdio Clients

For Claude Desktop, add this to `claude_desktop_config.json` and restart it. The file is in `~/Library/Application Support/Claude/` on macOS and `%APPDATA%\Claude\` on Windows.

```json
{
  "mcpServers": {
    "kaltura-events": {
      "command": "docker",
      "args": ["run", "-i", "--rm", "-e", "KALTURA_KS", "-e", "KALTURA_ENV", "ghcr.io/kaltura/mcp-events:latest"],
      "env": { "KALTURA_KS": "<your KS>", "KALTURA_ENV": "NVP" }
    }
  }
}
```

Desktop apps don't inherit your shell's variables, so the KS goes in `env`. This stores it in plain text in the config file; see [Security](/docs/tools-skills-mcp/events-mcp/events-mcp-security).

### Choose a Region

The server calls the US region unless you set `KALTURA_ENV`. Add `-e KALTURA_ENV` to the `docker run` arguments so the variable reaches the container.

| `KALTURA_ENV` | Region | Events Platform API |
|---|---|---|
| `NVP` (default) | US | `https://events-api.nvp1.ovp.kaltura.com/api/v1` |
| `EU` | Europe (IRP2) | `https://events-api.irp2.ovp.kaltura.com/api/v1` |
| `DE` | Germany (FRP2) | `https://events-api.frp2.ovp.kaltura.com/api/v1` |

To use any other Events Platform API host, set `KALTURA_PUBLIC_API` to its base URL. It overrides `KALTURA_ENV`.

### Run from Source Instead of Docker

```bash
git clone https://github.com/kaltura/mcp-events && cd mcp-events
cp .env.template .env   # set KALTURA_KS and KALTURA_ENV
npm install && npm run build
claude mcp add kaltura-events -s user -- node --env-file=$PWD/.env $PWD/dist/mcp-server/src/stdio.js
```

To try the tools without an AI client, run `npm run inspect:stdio`, which opens the MCP Inspector.

### When the KS Expires

The KS is read once, when the server starts. When it expires, tool calls return an error such as `INVALID_KS`. Generate a new KS, update the variable, and restart the MCP server (or your client).
