Skip to content

Conversation

@davidfirst
Copy link
Member

Summary

  • Enhance bit_component_details tool to support multiple component IDs in parallel
  • Limit to 5 components max to prevent context overload
  • Strict validation with clear error messages when limits exceeded
  • Individual component failures don't block entire requests

Changes

  • Change parameter from componentName (string) to componentIds (array)
  • Add parallel processing using Promise.all() similar to remote search
  • Enhanced error handling with per-component failure tracking
  • Updated examples to use full component IDs (e.g., acme.design/ui/button)
- Change from single componentName to array of componentIds
- Support parallel processing up to 5 components max
- Add strict validation to prevent context overload
- Improve error handling with per-component failure tracking
- Update parameter names and examples to use full component IDs
- Update README.docs.mdx with new batch processing capabilities
- Add comprehensive documentation for componentIds parameter and examples
- Update all tests to use new componentIds array parameter
- Add new tests for batch processing limits and validation
- Fix error handling tests for non-existent components

All 33 tests now passing
@davidfirst davidfirst enabled auto-merge (squash) August 27, 2025 15:58
@davidfirst davidfirst merged commit d0f7bb8 into master Aug 27, 2025
11 checks passed
@davidfirst davidfirst deleted the mcp-component-details-batch-support branch August 27, 2025 16:19
davidfirst added a commit that referenced this pull request Aug 28, 2025
- Enhance bit_component_details tool to support multiple component IDs
in parallel
- Limit to 5 components max to prevent context overload  
- Strict validation with clear error messages when limits exceeded
- Individual component failures don't block entire requests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants