Skip to content

[BUG] HTTP mode screenshot/resource links fall back to local path after first session #31

@aakashH242

Description

@aakashH242

Env: HTTP mode, Streamable HTTP transport

Version: v0.1.0

Steps to Reproduce:

  • Start server in HTTP mode.
  • Initialize a session, take a screenshot (resource link works).
  • Start a new HTTP session (new mcp-session-id) and take another screenshot.
    • Expected: Tool response contains resourceLinks and Screenshot saved to: http(s)://{host}:{port}{path}/resources/{session}/{id}/{filename} and listResources shows the file.
    • Actual: Response showed a local relative path (e.g., ../root/Downloads/...png); listResources was empty for the new session.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions