File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed
frontend/src/lib/components/settings Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change 223
223
224
224
{#if newMcpToken }
225
225
<div
226
- class =" border rounded-md mb-6 px-2 py-2 bg-green-50 dark:bg-green-200 dark:text-green-800 flex flex-row flex-wrap "
226
+ class =" border rounded-md mb-6 px-2 py-2 bg-green-50 dark:bg-green-200 dark:text-green-800 flex flex-col "
227
227
>
228
228
<p class =" text-sm mb-2" >New MCP URL:</p >
229
229
<ClipboardPanel content ={` ${mcpBaseUrl }${newMcpToken } ` } />
230
230
<p class =" pt-1 text-xs" >
231
231
Make sure to copy this URL now. You won't be able to see it again!
232
232
</p >
233
+ <div class =" flex flex-row justify-end gap-2 items-center" >
234
+ <a
235
+ href ={` https://cursor.com/install-mcp?name=windmill&config=${btoa (
236
+ JSON .stringify ({
237
+ url: ` ${mcpBaseUrl }${newMcpToken } `
238
+ })
239
+ )} ` }
240
+ class =" pt-2"
241
+ ><img
242
+ src =" https://cursor.com/deeplink/mcp-install-dark.svg"
243
+ alt =" Add windmill MCP server to Cursor"
244
+ height =" 32"
245
+ /></a
246
+ >
247
+ </div >
233
248
</div >
234
249
{/if }
235
250
You can’t perform that action at this time.
0 commit comments