Skip to content

Commit 721005c

Browse files
authored
feat: Add MCP serve subcommand for ToolHive server management (#1373)
Signed-off-by: Juan Antonio Osorio <[email protected]>
1 parent 0361ffb commit 721005c

File tree

6 files changed

+665
-0
lines changed

6 files changed

+665
-0
lines changed

cmd/thv/app/mcp.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ func newMCPCommand() *cobra.Command {
3535
Long: `The mcp command provides subcommands to interact with MCP (Model Context Protocol) servers for debugging purposes.`,
3636
}
3737

38+
// Add serve subcommand
39+
cmd.AddCommand(newMCPServeCommand())
40+
3841
// Create list command
3942
listCmd := &cobra.Command{
4043
Use: "list [tools|resources|prompts]",

0 commit comments

Comments
 (0)