mirror of
https://github.com/labring/tentix.git
synced 2026-04-26 00:55:50 +03:00
[PR #55] feat(workflow): add MCP node support with api selection #54
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tentix#54
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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?
📋 Pull Request Information
Original PR: https://github.com/labring/tentix/pull/55
Author: @mafirs
Created: 1/13/2026
Status: 🔄 Open
Base:
main← Head:pr/mcp-final📝 Commits (3)
405d302feat(workflow): add MCP node support with api selection568f109refactor: remove redundant comments in workflow buildera64b871feat(mcp): enhance mcp node with websocket and cache support📊 Changes
11 files changed (+1440 additions, -105 deletions)
View changed files
➕
frontend/src/components/react-flow/nodes/mcp.tsx(+323 -0)📝
frontend/src/components/react-flow/workflow.tsx(+2 -0)📝
frontend/src/hooks/use-workflow-chat-websocket.ts(+45 -6)📝
frontend/src/routes/staff/workflow_.$id.tsx(+130 -2)📝
server/api/admin/chat.ts(+41 -4)📝
server/db/schema.ts(+2 -0)📝
server/utils/const.ts(+41 -1)📝
server/utils/kb/workflow-builder.ts(+43 -25)📝
server/utils/kb/workflow-cache.ts(+288 -67)📝
server/utils/kb/workflow-node/index.ts(+1 -0)➕
server/utils/kb/workflow-node/mcp-node.ts(+524 -0)📄 Description
新增 MCP 工作流节点,支持配置和调用外部 API。
新增 mcp-node 后端逻辑
新增前端配置面板
数据库 Schema 更新
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.