Skip to content

Conversation

@zoedsoupe
Copy link
Owner

@zoedsoupe zoedsoupe commented Aug 7, 2025

Problem

title property for server components (tools, prompts, resources) were being used as draft feature, so users weren't capable for defining it.

Solution

defined optional title/0 callbacks for prompts, tools and resources, and handled the customization via use Anubis.Server.Component and also for runtime sever components, folowing the MCP spec priority order for defining the title:

  1. for tools: annotations.title -> title -> name
  2. for other components, title -> name

Rationale

Follow cloudwalk/hermes-mcp#211

@zoedsoupe zoedsoupe self-assigned this Aug 7, 2025
@zoedsoupe zoedsoupe merged commit 1adfed2 into main Aug 7, 2025
9 checks passed
@zoedsoupe zoedsoupe deleted the fix/title-callback-components branch August 7, 2025 16:26
@zoedsoupe zoedsoupe mentioned this pull request Aug 4, 2025
@zoedsoupe
Copy link
Owner Author

also closes cloudwalk/hermes-mcp#210

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants