mcpproxy-go icon indicating copy to clipboard operation
mcpproxy-go copied to clipboard

[Feature]: Expose upstream resources to the client

Open felipecrs opened this issue 2 weeks ago • 2 comments

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

felipecrs avatar Nov 20 '26 22:11 felipecrs

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.

Dumbris avatar Dec 02 '26 07:12 Dumbris

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.

Dumbris avatar Dec 02 '26 10:12 Dumbris