Repository navigation
Execution Authorization-gate component for Dify workflows exposed as MCP servers (uses aiyoplane-mcp-authz) #43960
Replies: 1 comment
|
One distinction that might help with the distribution question: for some consequential actions the gate can be structural rather than a decision point, and it's worth separating the two before choosing plugin vs node vs custom tool. Two kinds of "payment" node
Dify-specific details that matter either way (from building the second kind):
On shape: for the first kind, a tool-plugin wrapper seems natural, because the policy travels with the tool. The second kind needs nothing Dify-specific, since Dify already connects HTTP MCP servers with a custom Disclosure: we run a non-custodial payment-draft / pay-link API whose remote MCP server uses keys that can't move funds (https://send21.io/docs/mcp). There is no Dify plugin; the above is the generic MCP-tool path. - send21 |
Uh oh!
There was an error while loading. Please reload this page.
Self Checks
1. Is this request related to a challenge you're experiencing? Tell me about your story.
Hello!
So there’s work that's happening (like in #39240) showing that Dify workflows can be exposed as MCP servers, turning every workflow into a tool that an MCP client can call autonomously ....which is awesome, but when one of those workflow nodes performs a data write, deploy, payment, outbound API or any Consequential Action, the per-invocation authorization decision isn’t addressed inside the workflow itself.
That being said, my team over at Aiyoplane shipped a Python middleware, aiyoplane-mcp-authz (source, Apache 2.0, zero credentials to run locally), that attaches a Runtime Decision Point above the tool-invocation point. ALLOW / ESCALATE / BLOCK, with a cryptographically-signed Execution Receipt attached to flow context on ALLOW. The spec is at github.com/aiyoplane/aeap.
Rough shape of what a Dify execution authorization-gate wrapping it would look like, and we intentionally kept it thin:
So now we just have a question for the maintainers: what distribution shape would fit Dify best? A plugin in the Dify Marketplace (like #39210), a custom tool, or a workflow-node extension?
AEAP is an open protocol, so we're happy to build to whichever shape makes sense!
Repo: github.com/aiyoplane/mcp-authz-python · Spec: github.com/aiyoplane/aeap · Trust: aiyoplane.com/trust
Thanks a lot!
2. Additional context or comments
No response
3. Can you help us with this feature?
All reactions