Commit 38614fa
authored
fix(mcp): resolve variables & block references in mcp subblocks (#1735)
* fix(mcp): resolve variables & block references in mcp subblocks
* cleanup
* ack PR comment
* added variables access to mcp tools when added in agent block
* fix sequential migrations issues1 parent 6f32aea commit 38614fa
10 files changed
Lines changed: 482 additions & 162 deletions
File tree
- apps/sim
- app
- api/mcp/tools/execute
- workspace/[workspaceId]/w/[workflowId]/components/workflow-block
- components/sub-block
- components
- mcp-dynamic-args
- mcp-server-modal
- tool-input
- components
- executor/handlers/agent
- providers
- packages/db/migrations
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
97 | 104 | | |
98 | | - | |
99 | | - | |
100 | | - | |
| 105 | + | |
| 106 | + | |
101 | 107 | | |
102 | | - | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
103 | 125 | | |
104 | 126 | | |
105 | 127 | | |
| |||
0 commit comments