Problem
The outbound MCP connector currently implements only:
tools/list via mcp_list_tools
tools/call via mcp_call_tool
For app-operating agents, that is incomplete. MCP servers can expose resources and prompts that provide context, files, design metadata, workflows, and reusable interaction templates. A PAGS MCP-client agent that only sees tools will be less capable and more likely to guess.
Expected behavior
PAGS outbound MCP should support the read-side MCP surfaces needed for useful agents:
resources/list
resources/read
prompts/list
prompts/get
These should use the same endpoint/auth/version-negotiation path as tools.
Acceptance criteria
- A connected MCP endpoint can list available resources.
- A connected MCP endpoint can read selected resources and inject/summarize them into agent context safely.
- A connected MCP endpoint can list and fetch prompts.
- Settings UI shows resources/prompts availability for the connection.
- Access respects endpoint auth and instance grants/consent.
- Large resource reads have size limits, pagination/continuation where applicable, and clear truncation behavior.
- Tests cover JSON and SSE responses for resources/prompts, plus auth failure and unsupported-method responses.
Related
Code pointers
workers/api/src/lib/connectors/mcp.ts
workers/api/src/agent-think.ts
store/console/src/tabs/SettingsTab.tsx
Problem
The outbound MCP connector currently implements only:
tools/listviamcp_list_toolstools/callviamcp_call_toolFor app-operating agents, that is incomplete. MCP servers can expose resources and prompts that provide context, files, design metadata, workflows, and reusable interaction templates. A PAGS MCP-client agent that only sees tools will be less capable and more likely to guess.
Expected behavior
PAGS outbound MCP should support the read-side MCP surfaces needed for useful agents:
resources/listresources/readprompts/listprompts/getThese should use the same endpoint/auth/version-negotiation path as tools.
Acceptance criteria
Related
Code pointers
workers/api/src/lib/connectors/mcp.tsworkers/api/src/agent-think.tsstore/console/src/tabs/SettingsTab.tsx