Skip to content

Commit 40422c1

Browse files
committed
add missing handlers
1 parent efedab0 commit 40422c1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

cli/exp_mcp.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ func (r *RootCmd) mcpCommand() *serpent.Command {
2121
Use: "mcp",
2222
Short: "Run the Coder MCP server and configure it to work with AI tools.",
2323
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+
},
2427
Children: []*serpent.Command{
2528
r.mcpConfigure(),
2629
r.mcpServer(),
@@ -33,6 +36,9 @@ func (r *RootCmd) mcpConfigure() *serpent.Command {
3336
cmd := &serpent.Command{
3437
Use: "configure",
3538
Short: "Automatically configure the MCP server.",
39+
Handler: func(i *serpent.Invocation) error {
40+
return i.Command.HelpHandler(i)
41+
},
3642
Children: []*serpent.Command{
3743
r.mcpConfigureClaudeDesktop(),
3844
r.mcpConfigureClaudeCode(),

0 commit comments

Comments
 (0)