Nunu

v1.0.0Developer Toolsstable

A CLI tool for building Go applications.

dddgingogolanggolang-cli
Share:
2,565
Stars
0
Downloads
0
Weekly
0/5

What is Nunu?

Nunu is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to cli tool for building go applications.

A CLI tool for building Go applications.

This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • A CLI tool for building Go applications.

Use Cases

CLI tool for building Go applications with structure.
Implement domain-driven design and clean architecture in Go.
go-nunu

Maintainer

LicenseMIT
Languagego
Versionv1.0.0
UpdatedMay 19, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx nunu

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Nunu

Nunu is a Go application scaffolding CLI that generates production-ready project structures following clean layered architecture and domain-driven design principles. It integrates popular Go libraries including Gin for HTTP routing, GORM for database access, Wire for dependency injection, Viper for configuration, and Zap for structured logging. Developers use Nunu to bootstrap new Go services quickly with best-practice layouts, then generate individual handlers, services, and repositories as the project grows.

Prerequisites

  • Go 1.19 or later installed and GOPATH/bin added to PATH
  • Git installed (used internally by nunu for template fetching)
  • Docker (optional, for containerized development)
  • MySQL 5.7+ and/or Redis (optional, depending on your project template)
1

Install the Nunu CLI

Install the nunu binary globally using go install. Make sure your GOBIN directory (usually ~/go/bin) is on your system PATH.

go install github.com/go-nunu/nunu@latest
2

Verify installation

Confirm nunu is accessible from your terminal.

nunu --version
3

Create a new project

Scaffold a new Go project. Nunu will create the full directory structure including cmd, config, internal (handlers, services, repositories), pkg, and test folders.

nunu new myproject
4

Generate individual components

Inside your project, generate handlers, services, and repositories for a domain entity. The 'all' subcommand generates all three at once.

nunu create all user
# Or individually:
nunu create handler user
nunu create service user
nunu create repository user
5

Run the project with hot reload

Start the development server with automatic hot reload so changes are picked up without restarting manually.

nunu run
6

Compile Wire dependency injection

When you add or modify providers, regenerate the Wire dependency injection graph.

nunu wire

Nunu Examples

Client configuration

Claude Desktop configuration to expose Nunu as an MCP server. Note: Nunu is primarily a CLI scaffolding tool; the MCP interface wraps its CLI commands.

{
  "mcpServers": {
    "nunu": {
      "command": "npx",
      "args": ["nunu"]
    }
  }
}

Prompts to try

Example prompts for working with Go projects using Nunu's scaffolding capabilities.

- "Create a new Go project called billing-service using nunu"
- "Generate a handler, service, and repository for the order entity"
- "Start the project with hot reload so I can develop interactively"
- "Regenerate the Wire dependency injection graph after my changes"
- "What is the recommended directory structure for a nunu project?"

Troubleshooting Nunu

'nunu' command not found after installation

The nunu binary is placed in your GOBIN directory (usually ~/go/bin). Add it to PATH: export PATH=$PATH:$(go env GOPATH)/bin — and add this line to your ~/.bashrc or ~/.zshrc.

Wire compilation fails with missing provider errors

Run 'nunu wire' from the project root rather than a subdirectory. Ensure all providers referenced in wire.go files are imported and have correct function signatures.

Hot reload via 'nunu run' does not detect file changes

Verify you are running nunu run from the project root. On Linux, inotify watch limits can prevent detection — increase them with: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

Frequently Asked Questions about Nunu

What is Nunu?

Nunu is a Model Context Protocol (MCP) server that cli tool for building go applications. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Nunu?

Follow the installation instructions on the Nunu GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Nunu?

Nunu works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Nunu free to use?

Yes, Nunu is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Browse More Developer Tools MCP Servers

Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "nunu": { "command": "npx", "args": ["-y", "nunu"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Nunu?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides