Skip to main content
The Python SDK, TypeScript SDK, CLI, and local MCP server are separate packages, each with its own version. Upgrade the ones you use to get new methods, tools, and fixes. The hosted MCP server is always current. Commands work the same in a terminal on macOS or Linux and in PowerShell on Windows, except where a section shows a Windows tab.

Check your version


Python SDK

On Windows, py is the Python launcher. If you work in a virtual environment, activate it and run pip directly instead. In a uv project:
If your project pins ndi-sdk to a range, raise the range first, then run the command.

TypeScript SDK

Keep using ndi-sdk; the npm name and imports remain unchanged. If you installed @nace-ai/ndi-sdk@0.42.0, keep that dependency until ndi-sdk@0.43.0 is published. Then install ndi-sdk@^0.43.0 before removing the scoped dependency and changing scoped imports (including type-only imports and require) back to "ndi-sdk". The version bound prevents an accidental downgrade to older unscoped releases. The Python package remains ndi-sdk as well.
npm install ndi-sdk saves a caret range such as ^0.43.0. For a 0.x package that range stays within 0.43.x, so npm update installs fixes but not the next minor release. Use @latest to move to it.

CLI

Upgrade with the tool you installed it with:
On Windows, stop any running ndi command before upgrading. Windows locks a running ndi.exe, and the upgrade fails with “The process cannot access the file because it is being used by another process”.
Upgrade ndi-cli itself, not only ndi-sdk. Releases of ndi-cli from 0.4.0 through 0.16.0 import classes that ndi-sdk 0.39.0 and later no longer have. With that pair, ndi fails with an ImportError from ndi_sdk.models.tools, for example cannot import name 'FileMetadataRequest' (0.4.0 to 0.9.0) or cannot import name 'GraphEdge' (0.10.0 to 0.16.0). Run the upgrade command shown above for your system, and the install brings a matching ndi-sdk with it. From 0.21.0 on, ndi-cli no longer imports those classes from ndi-sdk and works with current ndi-sdk. Because the error happens at start, ndi version fails too. Check with pip show ndi-cli instead (on Windows, py -m pip show ndi-cli, or uv tool list or pipx list if you installed it that way).
Run ndi version afterwards to confirm. Your saved key in ~/.ndi/config.toml (%USERPROFILE%\.ndi\config.toml on Windows) is kept, so there’s no need to run ndi login again.

MCP server

Hosted

Nothing to do. https://ndi-api.nace.ai/v1/mcp always serves the current tool catalog. Restart or reconnect your agent to pick up new tools.

Local with uvx

uvx ndi-mcp reuses the version it cached the first time it ran. To always start the latest release, ask for @latest in your agent’s MCP config:
Cursor (.cursor/mcp.json):
With @latest, uvx checks PyPI each time the agent starts the server, which adds a moment to startup and needs network access. To stay on one version instead, name it, for example ndi-mcp@0.28.0. Restart your agent after changing the config. The key saved by ndi-mcp login is kept.

Local with pip

Quit your agent first: it keeps the server running, and on Windows a running ndi-mcp.exe blocks the upgrade.
If you installed it through the older ndi-sdk[mcp] extra, upgrade ndi-mcp directly with the same command. Then start your agent again.

Version numbers

All four packages are at 0.x and follow these rules: Because a minor release can break existing code, pin a range that accepts patches only, and move it deliberately:

Next steps