Skip to content

Conversation

@cdavernas
Copy link
Member

Please specify parts of this PR update:

  • Specification
  • Schema
  • Examples
  • Extensions
  • Use Cases
  • Community
  • CTK
  • Other

Discussion or Issue link:

What this PR does:

  • Adds a new mcp call

Additional information:

Thanks to @amin-nikanjam for his earlier PR attempt, which served as the foundation for this one.
For schema validation reasons, it turned out to be simpler to restart from scratch rather than build on top of his implementation.

@cdavernas cdavernas self-assigned this Oct 30, 2025
Copilot AI review requested due to automatic review settings October 30, 2025 10:27
Copy link
Contributor

Copilot AI left a 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 support for Model Context Protocol (MCP) calls to the workflow specification, enabling workflows to interact with MCP servers through HTTP or STDIO transports.

  • Introduces a new CallMCP task type with protocol version, method, parameters, timeout, transport, and client configuration
  • Adds comprehensive documentation for MCP calls, transports (HTTP and STDIO), and client configuration
  • Provides example implementations demonstrating MCP integration with Slack

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
schema/workflow.yaml Defines the schema for the new MCP call task type including transport options and client configuration
dsl-reference.md Documents the MCP call feature with usage examples and describes HTTP/STDIO transport configurations
Comments suppressed due to low confidence (1)

dsl-reference.md:1

  • Corrected spelling of 'sttring' to 'string'.
# Serverless Workflow DSL - Reference

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

cdavernas and others added 5 commits October 30, 2025 11:35
Signed-off-by: Charles d'Avernas <[email protected]>
Signed-off-by: Charles d'Avernas <[email protected]>
Signed-off-by: Charles d'Avernas <[email protected]>
Co-authored-by: Copilot <[email protected]>
Signed-off-by: Charles d'Avernas <[email protected]>
Co-authored-by: Copilot <[email protected]>
Signed-off-by: Charles d'Avernas <[email protected]>
@cdavernas cdavernas merged commit 893cbc0 into serverlessworkflow:main Oct 30, 2025
3 checks passed
@cdavernas cdavernas deleted the feat-add-mcp-call branch October 30, 2025 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants