Skip to content

[BUG][UI]: readOnlyHint annotation not displayed in tools table #2986

@alex9434

Description

@alex9434

🐞 Bug Summary

Briefly describe the issue or unexpected behavior.
readOnlyHint not displayed in GUI

🧩 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. Bulk-upload JSON that includes annotions with "readOnlyHint": true
  2. read-only Icon is not displayed. All other annotations are displayed

🤔 Expected Behavior

Read-Only icon should be displayed in the GUI for the uploaded tool.

📓 Logs / Error Output

none

🧠 Environment Info

MCP Context Forge 1.0.0-Beta 2 (docker)

🧩 Additional Context (optional)

[
  {
    "name": "get-location",
    "displayName": "User location",
    "url": "*removed*",
    "integration_type": "REST",
    "request_type": "GET",
    "description": "Get current location for the system user",
    "headers": {
      "Accept": "application/json",
      "User-Agent": "MCP-Gateway/1.0"
    },
    "input_schema": {
      "type": "object",
      "properties": {}
    },
    "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
    }
  }
]

Metadata

Metadata

Assignees

Labels

MUSTP1: Non-negotiable, critical requirements without which the product is non-functional or unsafebugSomething isn't workinggood first issueGood for newcomersuiUser Interface

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions