|
2 | 2 |
|
3 | 3 | Optional MCP (Model Context Protocol) servers that enhance the study mentor experience. |
4 | 4 |
|
| 5 | +## Study-Speak TTS |
| 6 | + |
| 7 | +Speak agent responses aloud using local TTS. Wraps the `study-speak` CLI as an MCP tool. |
| 8 | + |
| 9 | +**Install the TTS package:** |
| 10 | +```bash |
| 11 | +uv tool install "./packages/agent-session-tools[tts]" --force |
| 12 | +``` |
| 13 | + |
| 14 | +**Agent configs** — each agent's `mcp.json` already references the speaker server. To use it manually: |
| 15 | + |
| 16 | +=== "Kiro CLI" |
| 17 | + |
| 18 | + The Kiro agent config (`agents/kiro/study-mentor.json`) includes the MCP server automatically. It runs: |
| 19 | + ```bash |
| 20 | + uvx --from "mcp[cli]" mcp run agents/mcp/study-speak-server.py |
| 21 | + ``` |
| 22 | + |
| 23 | +=== "Claude Code / Gemini / OpenCode / Amp" |
| 24 | + |
| 25 | + Add to your MCP config (see agent-specific paths below): |
| 26 | + ```json |
| 27 | + { |
| 28 | + "mcpServers": { |
| 29 | + "speaker": { |
| 30 | + "command": "uvx", |
| 31 | + "args": ["--from", "mcp[cli]", "mcp", "run", "/path/to/socratic-study-mentor/agents/mcp/study-speak-server.py"] |
| 32 | + } |
| 33 | + } |
| 34 | + } |
| 35 | + ``` |
| 36 | + |
| 37 | +**Configuration** — `~/.config/studyctl/config.yaml`: |
| 38 | + |
| 39 | +```yaml |
| 40 | +tts: |
| 41 | + backend: kokoro # kokoro | qwen3 | macos |
| 42 | + voice: am_michael # kokoro voices: am_michael, af_heart, bf_emma, etc. |
| 43 | + speed: 1.0 # 0.5 = slow, 1.0 = normal, 1.5 = fast, 2.0 = very fast |
| 44 | + macos_voice: Samantha # fallback voice for macOS say |
| 45 | +``` |
| 46 | +
|
| 47 | +**Toggle during a session:** |
| 48 | +
|
| 49 | +- Kiro: `@speak-start` / `@speak-stop` |
| 50 | +- Claude Code: `/speak-start` / `/speak-stop` |
| 51 | +- Others: `@speak-start` / `@speak-stop` |
| 52 | + |
| 53 | +See [Voice Output Guide](../voice-output.md) for full details, backend comparison, and troubleshooting. |
| 54 | + |
5 | 55 | ## Apple Calendar & Reminders (macOS only) |
6 | 56 |
|
7 | 57 | Native calendar time-blocking and reminder notifications. |
|
0 commit comments