feat(mcp): add pipeline code generation tool to MCP#701
Closed
devin-ai-integration[bot] wants to merge 2 commits into
Closed
feat(mcp): add pipeline code generation tool to MCP#701devin-ai-integration[bot] wants to merge 2 commits into
devin-ai-integration[bot] wants to merge 2 commits into
Conversation
- Create new _local_dev.py module for development tools - Add template-based pipeline generation without OpenAI dependency - Generate complete PyAirbyte pipeline scripts with setup instructions - Register new development tools in MCP server Co-Authored-By: AJ Steers <aj@airbyte.io>
Contributor
Author
|
Original prompt from AJ Steers: |
Contributor
Author
🤖 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:
|
- Fix line length violations by using shorter variable names - Fix quote style issues (single to double quotes) - Fix whitespace on blank line - All local linting checks now pass Co-Authored-By: AJ Steers <aj@airbyte.io>
Contributor
Author
|
Closing due to inactivity for more than 7 days. Configure here. |
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.
feat(mcp): add pipeline generation tool to dev operations
This PR targets the following PR:
Summary
Adds a new MCP tool
generate_pyairbyte_pipelinethat generates complete PyAirbyte pipeline scripts with setup instructions. The implementation uses a template-based approach (no external AI dependencies) and integrates with the existing MCP server architecture.Key Changes:
_local_dev.pymodule for development-focused MCP toolsgenerate_pyairbyte_pipelinefunction that generates pipeline code and setup instructionsReview & Testing Checklist for Human
get_available_connectors()works correctly in the MCP server context and validates input connectors{{}}) render correctly without escaping issuesRecommended Test Plan:
generate_pyairbyte_pipelinetool with valid connectors (e.g., 'source-faker', 'destination-duckdb')Diagram
graph TD A[airbyte/mcp/server.py]:::minor-edit --> B[register_local_dev_tools] B --> C[airbyte/mcp/_local_dev.py]:::major-edit C --> D[generate_pyairbyte_pipeline] D --> E[get_available_connectors]:::context D --> F[Template Generation] F --> G[Pipeline Code] F --> H[Setup Instructions] I[airbyte/mcp/_local_ops.py]:::context J[airbyte/mcp/_connector_registry.py]:::context K[airbyte/mcp/_cloud_ops.py]:::context A --> I A --> J A --> K subgraph Legend L1[Major Edit]:::major-edit L2[Minor Edit]:::minor-edit L3[Context/No Edit]:::context end classDef major-edit fill:#90EE90 classDef minor-edit fill:#87CEEB classDef context fill:#FFFFFFNotes
Link to Devin run: https://app.devin.ai/sessions/eb48d57494b64683b1f0ad9fb940746f
Requested by: Aaron ("AJ") Steers (@aaronsteers)