You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: Update URI schemes and improve filter_by_prefix signature
- Change URI schemes from tool:// and prompt:// to mcp://tools and mcp://prompts
- Add MCP_SCHEME constant and use it for URL validation
- Add model validators to ensure URIs start with correct prefixes
- Improve filter_by_prefix to accept AnyUrl | str, removing need for str() casts
- Make Prompt description field optional (matching main branch)
- Update all tests to use scheme constants instead of hardcoded values
This provides a more standard URI format where 'mcp' is the scheme and
'tools'/'prompts' are path segments, while also simplifying the API.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments