mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
After publishing a workflow as an MCP service, a 404 error occurs when attempting to access MCP tools via the MCP SSE / StreamableHTTP plugin. #715
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @hyxl520 on GitHub (Oct 15, 2025).
Self Checks
Dify version
1.7.1
Plugin version
0.2.3
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
After configuring MCP according to the image, the tool cannot be found when called, resulting in a 404 error.

✔️ Error log
No response
@dosubot[bot] commented on GitHub (Oct 15, 2025):
Hi @hyxl520! I'm Dosu and I’m helping the dify-official-plugins team.
A recent fix in Dify addressed incorrect API endpoint routing that could cause 404 errors when accessing workflow-related endpoints, including those used by MCP tools. The fix changed several workflow API routes, such as
/apps/<uuid:app_id>/workflows/publishedto/apps/<uuid:app_id>/workflows, and adjusted parameter types and naming for consistency. If your deployment is based on Dify v1.7.1 and plugin v0.2.3, it's possible your instance is affected by these routing issues. Double-check that your MCP tool endpoints match the updated routes and that your workflow is published and registered correctly. You can review the relevant changes here: PR #25778.Common causes for 404s in this context include endpoint mismatches, registration failures, or Docker networking/configuration issues. Make sure your MCP service is properly registered and exposed, and that your plugin configuration aligns with the expected endpoint structure.
To reply, just mention @dosu.
How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other
