-
Notifications
You must be signed in to change notification settings - Fork 2
feat: add get_connector_manifest command to retrieve connector metadata #15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- Add get_connector_manifest function that fetches connector metadata YAML from connectors.airbyte.com - Accepts connector_name (required) and version (optional, defaults to 'latest') parameters - Uses correct URL pattern: https://connectors.airbyte.com/metadata/airbyte/{connector_name}/{version}/metadata.yaml - Includes proper error handling for HTTP errors and invalid connectors - Supports version cleaning (removes 'v' prefix if present) - Registered with FastMCP app alongside existing tools - Follows existing code patterns for HTTP requests and tool registration Co-Authored-By: AJ Steers <[email protected]>
Original prompt from AJ Steers
|
🤖 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 Branch via MCPTo test the changes in this specific branch with an MCP client like Claude Desktop, use the following configuration: {
"mcpServers": {
"connector-builder-mcp-dev": {
"command": "uvx",
"args": ["--from", "git+https://github.com/airbytehq/connector-builder-mcp.git@devin/1754439247-add-get-connector-manifest", "connector-builder-mcp"]
}
}
} Testing This Branch via CLIYou can test this version of the MCP Server using the following CLI snippet: # Run the CLI from this branch:
uvx 'git+https://github.com/airbytehq/connector-builder-mcp.git@devin/1754439247-add-get-connector-manifest#egg=airbyte-connector-builder-mcp' --help PR Slash CommandsAirbyte Maintainers can execute the following slash commands on your PR:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds a new MCP tool get_connector_manifest
that retrieves connector metadata YAML files from the Airbyte connector registry. The tool enables users to fetch metadata information for any connector by name and optionally by version.
Key changes:
- New function to fetch connector metadata from
connectors.airbyte.com
endpoint - Support for version handling with automatic prefix cleaning
- Integration with existing FastMCP tool registration system
Comments suppressed due to low confidence (1)
connector_builder_mcp/_connector_builder.py:455
- The function name 'get_connector_manifest' is misleading since it fetches metadata.yaml files, not manifest files. Consider renaming to 'get_connector_metadata' to better reflect its actual behavior.
def get_connector_manifest(
- Add registry detection to identify manifest-only connectors - Use manifest.yaml for manifest-only connectors, metadata.yaml for others - Add proper error handling with fallback behavior - Addresses feedback from @aaronsteers on PR #15 Co-Authored-By: AJ Steers <[email protected]>
feat: add get_connector_manifest command to retrieve connector metadata
Summary
This PR adds a new MCP tool
get_connector_manifest
to the connector-builder-mcp project that allows retrieval of connector metadata YAML files from theconnectors.airbyte.com
endpoint. The function accepts a connector name (required) and version (optional, defaults to 'latest') and returns the raw metadata content as a string.Key implementation details:
https://connectors.airbyte.com/metadata/airbyte/{connector_name}/{version}/metadata.yaml
Note: The function name suggests it returns "manifest" files, but it actually fetches "metadata.yaml" files from the connectors.airbyte.com endpoint structure.
Review & Testing Checklist for Human
source-github
,destination-postgres
)get_connector_manifest
is the appropriate name given it returns metadata.yaml files, not traditional manifest.yaml filesRecommended test plan:
source-faker
,destination-postgres
Diagram
Notes
files/metadata/airbyte/...
) and had to correct it tometadata/airbyte/...
after investigating the actual connectors.airbyte.com bucket structuredestination-amazon-sqs
during development - broader testing across connector types is neededget_connector_manifest
but fetchesmetadata.yaml
files rather than traditionalmanifest.yaml
filesLink to Devin run: https://app.devin.ai/sessions/050f37720b8f485a86ad1fbe51d5e013
Requested by: AJ Steers (@aaronsteers)