[Feature]: Expose upstream resources to the client
Problem / motivation
mcpproxy only offers tools and prompts to clients (mcp.go#L871-L878). Upstream resources and resource templates aren't listed or readable, and notifications/resources/* are dropped (connection_lifecycle.go#L261).
Proposed solution
Aggregate upstream resources and templates (prefixed by server, like tools), proxy resources/read, and forward resources/list_changed, subscriptions and resources/updated.
Alternatives considered
Upstream-provided tools that return the same data, which not every server has.
Which edition?
Personal
Pre-submission checklist
- [x] I searched existing issues and discussions for a similar request
Progress: PR-2 is up as #2124. It adds resources.listChanged, forwards upstream notifications/resources/list_changed to each listening client, but only when that client's view changed and its credential is still valid, and serves plain resources on /mcp/s/<server>.
Remaining: PR-3, which adds resources/subscribe and notifications/resources/updated and closes this issue.
Reopening: #2124 (PR-2) closed this by accident through a line in its description. PR-3 (resources/subscribe and notifications/resources/updated) is still to come and will close it.