Skip to content

[Bug]: Resource mime-type is always stored as text/plain #520

@madhav165

Description

@madhav165

🐞 Bug Summary

Resource mime-type always stored as text/plain


🧩 Affected Component

Select the area of the project impacted:

  • mcpgateway - API
  • mcpgateway - UI (admin panel)
  • mcpgateway.wrapper - stdio wrapper
  • Federation or Transports
  • CLI, Makefiles, or shell scripts
  • Container setup (Docker/Podman/Compose)
  • Other (explain below)

🔁 Steps to Reproduce

  1. Store resource with mime type application/json
  2. It would be stored as text/plain

🤔 Expected Behavior

Resource should be stored with mime type given by user


Metadata

Metadata

Labels

bugSomething isn't workingtriageIssues / Features awaiting triage

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions