[Feature] MCP: expose the project activity log (list_project_activities) and show updated_at in list_tasks
Agents can't answer "what changed in this project since X" without calling list_task_activities on every task (and list_doc_activities on every doc). The API already has GET /api/v1/projects/{id}/activities (the web Activity page) with created_after, created_before, entity_type, actor_id, origin, search and cursor paging, but the MCP server doesn't wrap it.
Proposal
- Add a
list_project_activitiestool that passes those filters through. Each entry shows the entity type and title, the actor name, the origin, the activity type, a short content summary and the timestamp. - Add
Updated:(and maybeCreated:) toformatTaskSummaryinapps/mcp/src/tools/task-tools.ts, used bylist_tasks. The server already returnsupdated_at; the formatter drops it.
Use case
A catch-up summary across several projects ("what happened since my last session") becomes one call per project instead of one call per task.
Hi, I'd like to work on this one. I'm planning to add a list_project_activities tool in apps/mcp that wraps GET /projects/{id}/activities and passes through the filters and cursor pagination, and to add an Updated field to formatTaskSummary. Could you assign it to me?
Assigned! Looking forward to the PR
