feat(mcp): Add list_cloud_organizations tool with name_contains filter#908
feat(mcp): Add list_cloud_organizations tool with name_contains filter#908devin-ai-integration[bot] wants to merge 1 commit intomainfrom
Conversation
- Add new list_cloud_organizations MCP tool - Supports optional name_contains parameter for case-insensitive substring filtering - Useful for finding organizations when only part of the name is known Co-Authored-By: aldo.gonzalez@airbyte.io <aldo.gonzalez@airbyte.io>
Original prompt from aldo.gonzalez@airbyte.io |
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
👋 Greetings, Airbyte Team Member!Here are some helpful tips and reminders for your convenience. Testing This PyAirbyte VersionYou can test this version of PyAirbyte using the following: # Run PyAirbyte CLI from this branch:
uvx --from 'git+https://github.com/airbytehq/PyAirbyte.git@devin/1765423690-list-cloud-organizations' pyairbyte --help
# Install PyAirbyte from this branch for development:
pip install 'git+https://github.com/airbytehq/PyAirbyte.git@devin/1765423690-list-cloud-organizations'Helpful ResourcesPR Slash CommandsAirbyte Maintainers can execute the following slash commands on your PR:
Community SupportQuestions? Join the #pyairbyte channel in our Slack workspace. |
|
aside - Aldo Gonzalez (@aldogonzalez8) - FYI, If you want to find an organization name or ID and you already have a workspace within it, you can use the updated "check workspace" MCP tool. I recently extended that tool so I could more easily discover our own org ID and name. Even looking up the org ID and name did require additional permissions, so I suggest with this tool you may similarly need to think about how to fail gracefully if caller doesn't have sufficient permissions. |
|
Closing. Resolved in airbyte-ops-mcp. |
Summary
Adds a new MCP tool
list_cloud_organizationsthat lists all organizations accessible to the current user, with optional case-insensitive substring filtering by name.This is useful for system admins with access to multiple organizations who need to find an org when they only know part of its name (e.g., searching "marathon" to find "Marathon Org").
Review & Testing Checklist for Human
list_cloud_organizationsand verify it returns your accessible organizationsname_containsfilter - Verify case-insensitive matching works (e.g.,name_contains="marathon"matches "Marathon Org")Recommended Test Plan
list_cloud_organizationswith no parameters - should return all accessible orgsname_containsset to a partial org name (lowercase) - should match case-insensitivelyNotes
Link to Devin run: https://app.devin.ai/sessions/d8212a7bceaf4995a63369460134dc03
Requested by: aldo.gonzalez@airbyte.io