# MCP for agents

> The Learn MCP server and its tools: what an agent can do for a learner, and what only the learner can.

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

For agents: Learn MCP at https://mcp.learn.sypnia.com (Streamable HTTP; OAuth with PKCE + dynamic client registration, or a personal access token; engine: <base URL>/mcp). Tools: list_courses, get_lesson (id, level?, language?), next_lesson, get_progress, explain (kind, ref), start_exercise (lesson, project) — creates the branch, no approval needed (reversible); check_exercise (id) — runs checks; hint (exercise id). Not tools: answering questions, marking a lesson done, deleting progress, publishing courses, changing the level (person only; API 403 person_required). The agent uses the person's level to explain; every call recorded.

```bash
claude mcp add --transport http sypnia-learn https://mcp.learn.sypnia.com
```

`https://mcp.learn.sypnia.com` signs in with your Sypnia account (OAuth with PKCE and dynamic client registration) or a personal access token. Your own engine serves the same tools at `<your address>/mcp`.

| Tool             | Does                                                                         |
| ---------------- | ---------------------------------------------------------------------------- |
| `list_courses`   | courses and your progress in each                                            |
| `get_lesson`     | a lesson, rendered for your level and project                                |
| `next_lesson`    | the next lesson of your path                                                 |
| `get_progress`   | what you have done                                                           |
| `explain`        | an explanation of a case, trace, problem, table, file or diff, at your level |
| `start_exercise` | create the exercise branch in a project                                      |
| `check_exercise` | run the checks on the branch's last commit                                   |
| `hint`           | one hint for the exercise, at your level                                     |

## What only you can do

These are not tools, and the API refuses them to an agent's token with `403 person_required`:

- answering a lesson's **questions**;
- marking a lesson as **done** (only passing checks do);
- **deleting** your progress;
- changing your **level**;
- **publishing** a course.

So your agent can be your tutor (find the next lesson, explain, give a hint, run the checks) without ever doing the learning for you. Every call is recorded with the exercise.
