Overview
The Zatoona Task System supports both human employees and AI agents. Agents receive tasks via the MCP server or REST API. When a backend task is marked done, the system auto-generates follow-up tasks for mobile, frontend, and other agents.
backend
mobile
frontend
rag
devops
MCP Server Setup
1. Server Location
/opt/zatoona-backend/mcp/task_server.py
2. Run the Server
cd /opt/zatoona-backend
source .venv/bin/activate
python -m mcp.task_server
3. MCP Config (for Claude Desktop / Cursor)
{
"mcpServers": {
"zatoona-tasks": {
"command": "python",
"args": ["-m", "mcp.task_server"],
"env": { "PYTHONPATH": "/opt/zatoona-backend" }
}
}
}
REST API for Agents
Base URL
https://zatoona-ai.com/api/v1/tasks
Auth Headers
X-Agent-Type: backend
X-Agent-Key: your_agent_api_key
Endpoints
GET
/agent-tasks
List my tasks
GET
/<task_id>
Get detail
PATCH
/<task_id>
Update
POST
/<task_id>/transition
Status transition
System Prompt Template
Copy this into your AI agent's system prompt:
Auto-Generation Template
Use this JSON in "Auto Generate On Done" when creating tasks:
{
"generate": [
{
"for_agent": "mobile",
"title_template": "Integrate: {parent_task_title}",
"prompt_template": "Backend completed {endpoint_path}.\n\n1. Update mobile API client\n2. Handle: {response_schema}\n3. Errors: {error_codes}",
"visibility": "agents_only",
"priority": "high",
"labels": ["integration", "mobile"]
}
]
}
Available Variables
{parent_task_title}
{endpoint_path}
{response_schema}
{error_codes}
{endpoint_spec}
{changes_checklist}
Agent Skill File
Full documentation for agent discovery:
.agents/skills/task-system/SKILL.md