Skip to main content
Glama

mcp-nutanix

main.go890 B
package main import ( "flag" "fmt" "os" "path/filepath" "github.com/thunderboltsid/mcp-nutanix/internal/codegen/templates" ) func main() { // Parse command-line arguments outputDir := flag.String("output", ".", "Output directory for generated files") flag.Parse() // Get absolute path absPath, err := filepath.Abs(*outputDir) if err != nil { fmt.Printf("Error getting absolute path: %v\n", err) os.Exit(1) } fmt.Printf("Generating resource and tool files in: %s\n", absPath) // Generate all resource files if err := templates.GenerateResourceFiles(absPath); err != nil { fmt.Printf("Error generating files: %v\n", err) os.Exit(1) } // Generate all resource files if err := templates.GenerateToolFiles(absPath); err != nil { fmt.Printf("Error generating files: %v\n", err) os.Exit(1) } fmt.Println("Resource and tool files generated successfully!") }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/thunderboltsid/mcp-nutanix'

If you have feedback or need assistance with the MCP directory API, please join our Discord server