Skip to content

Task: Add Title Field for Human-Friendly Display Names #418

@ezynda3

Description

@ezynda3

Priority: Medium
Breaking Change: No

Description: Objects now have a title field for human-readable display names, while name remains for programmatic use.

Implementation Tasks:

  • Create BaseMetadata interface with name and title
  • Update Tool, Resource, Prompt, etc. to inherit from BaseMetadata
  • Implement display name precedence: titleannotations.titlename
  • Update all examples to include title fields
  • Add helper functions for getting display names

Files to Update:

  • mcp/types.go
  • All types that have name fields
  • Display logic throughout the codebase

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: mcp specIssues related to MCP specification compliancepriority: mediumMedium priority, should be addressed soon

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions