feat: Add workflow control, task management, event handlers, resources and prompts#26
Merged
AWOrpington merged 4 commits intoconductor-oss:mainfrom Jan 8, 2026
Conversation
…s and prompts This PR adds feature parity with the opensensor MCP implementation: Workflow Control Tools: - pause_workflow: Pause a running workflow execution - resume_workflow: Resume a paused workflow execution - terminate_workflow: Terminate a workflow execution - restart_workflow: Restart a workflow from the beginning - retry_workflow: Retry a failed workflow from the last failed task Task Management Tools: - get_task_logs: Get execution logs for a specific task - update_task_status: Update the status of a task execution - create_task_definition: Create or update a task definition Event Handler Tools: - get_event_handlers: Get all event handlers with optional filtering MCP Resources: - conductor://workflows/definitions - List all workflow definitions - conductor://tasks/definitions - List all task definitions - conductor://workflows/running - List running workflow executions - conductor://workflows/failed - List failed workflow executions - conductor://workflows/paused - List paused workflow executions - conductor://tasks/queue - Get task queue status MCP Prompts: - troubleshoot_workflow: Guide for troubleshooting failed/stuck workflows - analyze_failures: Analyze recent workflow failures and patterns - create_workflow: Guide to create new workflow definitions - monitor_workflow: Monitor a running workflow execution - optimize_workflow: Analyze workflow for optimization opportunities HTTP Methods: - Added http_put and http_delete to http_proxy for workflow control operations - Added corresponding tests for new HTTP methods
AWOrpington
reviewed
Jan 6, 2026
AWOrpington
approved these changes
Jan 7, 2026
Collaborator
AWOrpington
left a comment
There was a problem hiding this comment.
Looks good, I just pinned fastmcp in another change: #25 so you can revert that versioning in yours
c5e1502 to
1ba33cd
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.
Summary
This PR adds significant feature parity with an opensensor MCP implementation, extending the conductor-mcp with additional tools, resources, and prompts to provide comprehensive workflow management capabilities.
New Features
Workflow Control Tools
Task Management Tools
Event Handler Tools
MCP Resources
New resource URIs for read-only access to Conductor data:
conductor://workflows/definitions- List all workflow definitionsconductor://tasks/definitions- List all task definitionsconductor://workflows/running- List running workflow executionsconductor://workflows/failed- List failed workflow executionsconductor://workflows/paused- List paused workflow executionsconductor://tasks/queue- Get task queue statusMCP Prompts
Reusable prompt templates for common operations:
HTTP Methods
http_putandhttp_deletetohttp_proxyfor workflow control operationsTesting
All existing tests pass, and new tests have been added for the HTTP proxy methods. The server imports successfully with all new modules.
Changes
conductor_mcp/network/http_proxy.py: Addedhttp_putandhttp_deletemethodsconductor_mcp/tools/workflow.py: Added 5 workflow control toolsconductor_mcp/tools/task.py: Added 3 task management toolsconductor_mcp/tools/event.py: New module with event handler toolconductor_mcp/resources/conductor.py: New module with 6 MCP resourcesconductor_mcp/prompts/conductor.py: New module with 5 MCP promptsconductor_mcp/server.py: Mounted new event, resource, and prompt modulesconductor_mcp/test/network/http_proxy_test.py: Added tests for http_put and http_deletePull Request opened by Augment Code with guidance from the PR author