@zatona/mcp-server
Official Model Context Protocol (MCP) server for Zatona (زتونة) — the modern revision notes, KaTeX formulas, Mermaid diagrams, and SM-2 spaced repetition platform.
Allows AI agents and IDEs (Claude Desktop, Cursor, Google Antigravity, VS Code) to securely inspect, create, and edit Zatona revision notes on behalf of authenticated students.
⚡ Quick Start
1. Generate Your API Token
- Sign in to your account at zatona.app.
- Go to Settings → Security → Personal Access Tokens (MCP).
- Click Generate New Token, select scopes, and copy your secret key (
zat_...).
⚙️ Client Configurations
Claude Desktop
Add to your Claude Desktop configuration (claude_desktop_config.json):
{
"mcpServers": {
"zatona": {
"command": "npx",
"args": ["-y", "@zatona/mcp-server"],
"env": {
"ZATONA_API_KEY": "YOUR_PERSONAL_ACCESS_TOKEN"
}
}
}
}
Cursor IDE
Add to .cursor/mcp.json or Cursor MCP Settings:
{
"mcpServers": {
"zatona": {
"command": "npx",
"args": ["-y", "@zatona/mcp-server"],
"env": {
"ZATONA_API_KEY": "YOUR_PERSONAL_ACCESS_TOKEN"
}
}
}
}
Google Antigravity / Gemini CLI
Add to antigravity.json:
{
"mcpServers": {
"zatona": {
"command": "npx",
"args": ["-y", "@zatona/mcp-server"],
"env": {
"ZATONA_API_KEY": "YOUR_PERSONAL_ACCESS_TOKEN"
}
}
}
}
🔧 Environment Variables
| Variable |
Required |
Default |
Description |
ZATONA_API_KEY |
Yes |
— |
Personal Access Token (zat_...) from zatona.app |
ZATONA_API_URL |
No |
https://api.zatona.app |
Custom API backend endpoint |
🛠️ Available MCP Tools
| Tool |
Scopes |
Description |
zatona_list_notes |
notes:read |
List published notes with search, tags, course filtering & cursor pagination |
zatona_get_my_notes |
notes:read |
List authenticated user's private and draft revision notes |
zatona_get_note |
notes:read |
Fetch full note content, metadata, and all 20 canonical block kinds |
zatona_create_note |
notes:write |
Create a new revision note (defaults to private draft) |
zatona_update_note |
notes:write |
Update an existing note with optimistic version concurrency checks |
zatona_search_notes |
notes:read |
Perform full-text search across all accessible notes |
📦 Supported Block Kinds
The server validates and generates all 20 canonical Zatona block kinds:
paragraph, heading, list, code, math (KaTeX), flowchart (Mermaid), gantt, pie, dfd, table, quote, callout, toggle, checklist, flashcard (SM-2), quiz, image, video, file, divider.
📄 License
MIT © Zatona Team