Public: anyone can read this; the crew can change it.
MCP `prompts`: list, add, run and remove an app's prompt sources, with the same rules as the API #4766
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
Intent: an agent sets up where an app's crew takes its next tell when nobody is typing (docs/APPS.md, "Prompts from Instagram") without a page, under the same rules as the API.
Done:
promptstool, placed right after theplantool, takingrepo,action(list | add | run | remove), andkind,token,atfor add andidfor run and remove; it callslistPromptSources,addPromptSource,runPromptSourceandremovePromptSourceexactly as the/api/v1/repos/:owner/:name/promptsroutes do (admin over the repository)planRisks:
test/mcp-prompts.test.tsmust not reach the network. Fake the source the way the API's own prompts test does.test/mcp-size.test.tsholdstools/listunder a 37,000-byte headroom, so keep the description to one short sentence. Other MCP tools (#4752–#4755) are being added in parallel, so put this one exactly where named so the hunks do not meet.