# Libraries

The Python SDK, the Katonic MCP Server and the Katonic CLI, what each is for and who it serves.

Three pieces of tooling ship with the platform today, and they serve different people.

**Who can use it:** the Python SDK and the Katonic MCP Server need an API key, like the REST API, and does what the key's scopes allow. The Katonic CLI is for the team that runs the cluster and needs access to it, not a product role.

  - [The Python SDK](https://docs.katonic.ai/developers/libraries/python-sdk): An async Python client for the public API, with the katonic command for the same calls from a terminal.
  - [Katonic MCP Server](https://docs.katonic.ai/developers/libraries/mcp-server): Expose the platform's tools to Claude Desktop, the MCP SDKs, OpenAI Agents, OpenCode or your own agent with one API key.
  - [Connect a client](https://docs.katonic.ai/developers/libraries/mcp-server/connect): Configuration for each client, then list and call the tools.
  - [Tools](https://docs.katonic.ai/developers/libraries/mcp-server/tools): Every tool, its parameters and the public API routes it calls.
  - [The Katonic CLI](https://docs.katonic.ai/developers/libraries/cli): An operator's tool for air-gap bundles and platform updates. Not a client for the public API.

## Katonic MCP Server

The Katonic MCP Server exposes platform capabilities as tools over the Model Context Protocol, so that an MCP client such as a desktop assistant, a coding agent or an agent you write can search knowledge, run agents, start evaluations and read analytics on your behalf. It runs inside your tenant and authenticates with the same `kapi_` key as the REST API; a tool may do what the key's scopes allow. Start with [Katonic MCP Server](/developers/libraries/mcp-server).

## The Katonic CLI

The `katonic-admin` command verifies and applies air-gap bundles and carries catalog, pricing and telemetry updates for a self-hosted installation. It is for the team that runs the cluster, not for calling the public API. See [The Katonic CLI](/developers/libraries/cli).

## The Python SDK

`katonic-sdk` is the platform's Python client: `KatonicClient` wraps the public API with one async method per call, and the package ships the `katonic` command. Install it with `pip install "katonic-sdk>=7"` on Python 3.11 or newer; this site documents the version published on PyPI, 7.0.18. Start with [The Python SDK](/developers/libraries/python-sdk), then [SDK methods and the katonic command](/developers/libraries/python-sdk-methods) and [Use the SDK in a workspace](/developers/libraries/python-sdk-workspace).

For the OpenAI-compatible routes you can also point an OpenAI client library at `https://<your tenant host>/public/v1`; [Use an OpenAI client library](/developers/guides/use-an-openai-client-library) shows how.

## Related

- [The Python SDK](/developers/libraries/python-sdk)
- API overview
- Authentication
- Public API reference

Source: https://docs.katonic.ai/developers/libraries/overview
