-
Notifications
You must be signed in to change notification settings - Fork 23
Defang Agent #1687
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Defang Agent #1687
Changes from all commits
e47ca3e
206d1d4
e2c1608
366f4e1
1b8c091
b169034
d50bdc1
3cd4650
e7c969e
8ca53cf
efb2105
8dcc0c7
ebbcee8
f8fbc28
842665e
3531791
7dee286
d46a302
ae65eb0
51db9cd
62eeffb
2c8fa24
86344d3
5d816a1
97f396e
3d18b14
cc125ba
e2cfa54
7c5cb80
a2403c8
5159131
cb334b6
527008c
ee3a1a1
bb335ec
87a52e4
ec2b6cf
4f72db8
a966467
4165002
55c5873
f11256e
ebf7f52
ad26d72
f964644
37567ac
93667ad
dd08100
5f584d2
9cb4629
bfc0136
672d2d2
5b77675
5b80db6
85a5198
088f0f6
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -48,7 +48,11 @@ var mcpServerCmd = &cobra.Command{ | |
|
|
||
| // Create a new MCP server | ||
| term.Debug("Creating MCP server") | ||
| s, err := mcp.NewDefangMCPServer(RootCmd.Version, getCluster(), &global.ProviderID, mcpClient, tools.DefaultToolCLI{}) | ||
| s, err := mcp.NewDefangMCPServer(RootCmd.Version, mcpClient, tools.DefaultToolCLI{}, mcp.StackConfig{ | ||
| Cluster: getCluster(), | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @lionello base on your comment on my PR the other day should this be
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @raphaeltm is deleting |
||
| ProviderID: &global.ProviderID, | ||
| Stack: &global.Stack, | ||
| }) | ||
| if err != nil { | ||
| return fmt.Errorf("failed to create MCP server: %w", err) | ||
| } | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.