File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,9 @@ func (r *RootCmd) mcpCommand() *serpent.Command {
21
21
Use : "mcp" ,
22
22
Short : "Run the Coder MCP server and configure it to work with AI tools." ,
23
23
Long : "The Coder MCP server allows you to automatically create workspaces with parameters." ,
24
+ Handler : func (i * serpent.Invocation ) error {
25
+ return i .Command .HelpHandler (i )
26
+ },
24
27
Children : []* serpent.Command {
25
28
r .mcpConfigure (),
26
29
r .mcpServer (),
@@ -33,6 +36,9 @@ func (r *RootCmd) mcpConfigure() *serpent.Command {
33
36
cmd := & serpent.Command {
34
37
Use : "configure" ,
35
38
Short : "Automatically configure the MCP server." ,
39
+ Handler : func (i * serpent.Invocation ) error {
40
+ return i .Command .HelpHandler (i )
41
+ },
36
42
Children : []* serpent.Command {
37
43
r .mcpConfigureClaudeDesktop (),
38
44
r .mcpConfigureClaudeCode (),
You can’t perform that action at this time.
0 commit comments