Skip to content

mcp: either register prompts or set HasPrompts to false #3734

@Vi-shub

Description

@Vi-shub

Problem

pkg/mcp/mcp.go sets HasPrompts: true on ServerOptions, but New() only registers tools and resources thus no prompts are added anywhere under pkg/mcp/.

Clients that trust capability flags may assume prompts exist when they do not.

Options

  1. Set HasPrompts: false until prompts are implemented, or
  2. Add one or more MCP prompts (e.g. guided “create / build / deploy” workflow) and tests.

References

  • pkg/mcp/mcp.go (HasPrompts: true, tools/resources registration below).

I guess this is kind of bug or area of implementing mcp. But will sure add a good solution :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions