Skip to content

[BUG]: prompt_id not visible in UI #2656

@tedhabeck

Description

@tedhabeck

🐞 Bug Summary

The context forge prompts page does not present the prompt_id to the user in the table, view dialog, or edit dialog. This requires a developer to run an sql query against the mcp database to retrieve the prompt_id in order to specify it as a condition in plugin.conditions.prompts of resources/plugins/config.yaml


🧩 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. make dev
  2. launch the browser at http://localhost:8000
  3. Navigate to the Prompts page.
  4. Add prompt named 'test_prompt'.
  5. The prompt_id is not displayed anywhere

🤔 Expected Behavior

After a prompt is created, it's prompt_id should be surfaced in:

  • the prompts table
  • the view prompt dialog
  • the edit prompt dialog (read only field)

📓 Logs / Error Output

Paste any relevant stack traces or logs here.
⚠️ Do not paste secrets, credentials, or tokens.


🧠 Environment Info

You can retrieve most of this from the /version endpoint.

Key Value
Version or commit 1.0.0-BETA-2
Runtime Python 3.12.12
Platform / OS Darwin 25.2.0 (arm64)
Container Podman

Metadata

Metadata

Assignees

Labels

MUSTP1: Non-negotiable, critical requirements without which the product is non-functional or unsafebugSomething isn't workinguiUser Interface

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions