# SDK, CLI and MCP

> The @sypnia/learn package, the learn command and the MCP tools for agents.

Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service).  
Source: https://learn.docs.sypnia.com/tools/

Three ways to use Learn outside App: the `@sypnia/learn` package in your own code, the `learn` command in a terminal, and the MCP server for agents. All three speak to the same [API](https://learn.docs.sypnia.com/api).

- [The @sypnia/learn package](/tools/sdk/): Read and validate lesson files, render a lesson for a level, run checks, and read progress from your code.
- [The learn command](/tools/cli/): Courses, lessons, exercises, checks and progress from your terminal, and the tools for authors.
- [MCP for agents](/tools/mcp/): The Learn MCP server and its tools: what an agent can do for a learner, and what only the learner can.
