feat: Add workflow runs query tool with time range support#176
Open
avinash-atlan wants to merge 1 commit intomainfrom
Open
feat: Add workflow runs query tool with time range support#176avinash-atlan wants to merge 1 commit intomainfrom
avinash-atlan wants to merge 1 commit intomainfrom
Conversation
Author
|
hey @ankitjaggi just extended MCP functionality, who can review and merge? not sure who'd be the reviewers. Thanks in advance! |
Collaborator
There was a problem hiding this comment.
Let's not make changes to the uv file.
Author
There was a problem hiding this comment.
I want a higher pyatlan version @abhinavmathur-atlan , hence edited it as there was a bug that I identified with SDK and had it updated. Link: https://github.com/atlanhq/atlan-python/releases/tag/8.4.2. Let me know your thoughts.
modelcontextprotocol/.gitignore
Outdated
Collaborator
There was a problem hiding this comment.
Let's remove these changes as well please.
Author
There was a problem hiding this comment.
I'll remove the changes and keep you posted
968d003 to
c1b16ca
Compare
- Add get_workflow_runs function in tools/workflow.py - Support all workflow phases (Success, Running, Failed, Pending, Error) - Support time range queries using 'now-Xh' format and epoch timestamps - Register get_workflow_runs_tool in server.py as MCP tool - Update pyatlan to 8.4.2 in uv.lock Features: - Query workflows by phase, name, run ID, or time range - Flexible time format support: 'now-Xh' (e.g., 'now-24h') or epoch milliseconds - Search all phases when time range specified without phase - Client-side filtering by workflow name when needed This enables MCP clients to query workflow execution history and monitor workflow status across different phases and time ranges.
c1b16ca to
6d3fd58
Compare
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.
Features:
This enables MCP clients to query workflow execution history and monitor workflow status across different phases and time ranges.