Skip to content

MCP: Start Instances#709

Open
jjoderis wants to merge 4 commits intomainfrom
mcp-process-execution
Open

MCP: Start Instances#709
jjoderis wants to merge 4 commits intomainfrom
mcp-process-execution

Conversation

@jjoderis
Copy link
Contributor

@jjoderis jjoderis commented Mar 6, 2026

Summary

Added a new MCP tool that allows a user to start instances of processes through a chat with an LLM.

Details

  • changed the get-processes tool to only return processes that have at least one version and to only show the information about the most recent version
  • changed the get-process-info tool to return the bpmn of the most recent version instead of the one of the latest/editable version
  • added a new tool named start-process that allows an LLM to start an instance of the most recent version of a process
    • checks that the version is marked as executable and returns an error if it is not
    • takes start variables as one of its parameters to allow a user to supply required variables through the chat with the LLM (if they are missing an error is returned to tell the LLM to ask the user for values for the variables)
  • adjusted some backend function that are necessary for deploying processes and starting instances to take the users ability as a parameter to allow the authorization to work when used through MCP
    • without this change the functions would implicitly try to access the users session from next-auth which is not available since the MCP flow does not authorize through next-auth leading to errors

…ses tool; Added more information to the description of the start-process tool
…ave a version and for get-process-info and start-process to always use the most recently created version
@github-actions
Copy link

github-actions bot commented Mar 6, 2026

CLOUDRUN ACTIONS

✅ Successfully created Preview Deployment.

https://pr-709---ms-server-staging-c4f6qdpj7q-ew.a.run.app

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.

1 participant