Add smart collection search tools and comprehensive testing#9
Open
DragosDima96 wants to merge 6 commits intohluaguo:mainfrom
Open
Add smart collection search tools and comprehensive testing#9DragosDima96 wants to merge 6 commits intohluaguo:mainfrom
DragosDima96 wants to merge 6 commits intohluaguo:mainfrom
Conversation
Features: - Add find_candidate_collections: Fast collection name/description search - Add search_cards_in_collections: Targeted card search within collections - Add collection caching with TTL for performance optimization - Add helper functions for collection indexing and card projection Testing: - Create scripts/test_collection_search.py: Focused testing for new search tools - Create scripts/test_comprehensive.py: Full test suite with safety limits - Remove outdated test files in favor of organized scripts/ directory Implementation: - Implement efficient card-first search workflow - Enable smart card discovery by finding relevant collections first - All code ready for public repo (no private/sensitive data) 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
- Add __pycache__/ to .gitignore to prevent committing Python cache files - Update README.md with comprehensive tools documentation: - Organize tools into logical categories (Database, Cards, Collections, Search) - Add new smart search tools: find_candidate_collections, search_cards_in_collections - Add missing tools: list_cards_paginated, list_cards_by_collection - Remove port positional argument references in favor of environment variables - Update server startup examples to use HOST/PORT environment variables consistently 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Clean up __pycache__ directory and compiled Python files (.pyc) that were previously tracked. These files are now properly ignored via .gitignore and should not be committed to version control. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Owner
|
Maybe not adding those test scripts? |
Author
|
I have removed them |
- Add search_metabase function using Metabase's native /search API - Supports filtering by models (card, dashboard, collection) - Includes archived items option and native query search - Proper URL encoding for multiple model parameters - Add comprehensive search metadata to response - Update README.md to include new universal search tool This provides a direct interface to Metabase's search API for broader search capabilities beyond the targeted collection search tools. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi, I have been playing with your mcp server. I had to make a few changes to accomate my request. If you think those are useful you can integrate them.
Add smart collection search tools and comprehensive testing
Features:
Testing:
Implementation: