-
Notifications
You must be signed in to change notification settings - Fork 1
Add appduct_list_events MCP tool #125
Copy link
Copy link
Open
Labels
area:mcpMCP server and built-in toolsMCP server and built-in toolsstatus:readySpec and fix direction are clear; an agent can pick it upSpec and fix direction are clear; an agent can pick it uptype:featureSomething Appduct should do that it does not todaySomething Appduct should do that it does not today
Description
Activity
Metadata
Metadata
Assignees
Labels
area:mcpMCP server and built-in toolsMCP server and built-in toolsstatus:readySpec and fix direction are clear; an agent can pick it upSpec and fix direction are clear; an agent can pick it uptype:featureSomething Appduct should do that it does not todaySomething Appduct should do that it does not today
Part of #95. Needs #124.
Why
MCP agents can list tools but not events, so they guess the name they pass to
appduct_wait_for_event. Once the daemon keeps an event registry, they need a tool to read it.Expected outcome
A new MCP tool,
appduct_list_events({ selector?, name?, limit?, offset? }), inmcp/events-tool.ts, backed byevents.list. It returns one signature line per declared event with its description, plustotal. The shipped skill (skills/appduct) tells agents to list events before waiting on one.Constraints and non-goals
namecovers it.How we know it is done
appduct_list_eventsreturns signature lines with descriptions andtotal.name: "cart.*"returns only matching events.namethat matches one declared event also returns that event'spayload_schema.total: 0, not an error.appduct events lsin its CLI reference.Alternatives considered
none