mirror of
https://github.com/safedep/vet.git
synced 2025-12-10 00:22:08 -06:00
* fix: MCP server with update mcp-go * docs: Update MCP usage docs * docs: Update MCP usage docs * chore: Update DRY for Go adapter * test: Add mcp driver test cases * test: Simplify test cases * docs: Update README * docs: Update README * test: Add test case for mcp tool * test: Refactor for common concerns * test: Add tool tests * docs: Update MCP server docs --------- Co-authored-by: Kunal Singh <kunalsin9h@gmail.com>
18 lines
309 B
Go
18 lines
309 B
Go
package server
|
|
|
|
import "github.com/spf13/cobra"
|
|
|
|
func NewServerCommand() *cobra.Command {
|
|
cmd := cobra.Command{
|
|
Use: "server",
|
|
Short: "Start available servers",
|
|
RunE: func(cmd *cobra.Command, args []string) error {
|
|
return cmd.Help()
|
|
},
|
|
}
|
|
|
|
cmd.AddCommand(newMcpServerCommand())
|
|
|
|
return &cmd
|
|
}
|