paca icon indicating copy to clipboard operation
paca copied to clipboard

[Feature] MCP: expose the project activity log (list_project_activities) and show updated_at in list_tasks

Open daw1lli opened this issue 1 week ago • 3 comments

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

  1. Add a list_project_activities tool 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.
  2. Add Updated: (and maybe Created:) to formatTaskSummary in apps/mcp/src/tools/task-tools.ts, used by list_tasks. The server already returns updated_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.

daw1lli avatar Nov 22 '26 05:11 daw1lli

Pullfrog  | Build this ➔ | Make a plan ➔

pullfrog[bot] avatar Nov 22 '26 05:11 pullfrog[bot]

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?

phootako630 avatar Nov 23 '26 14:11 phootako630

Assigned! Looking forward to the PR

pikann avatar Nov 23 '26 14:11 pikann