Nunu
A CLI tool for building Go applications.
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
Maintainer
Works with
Installation
Manual Installation
npx nunuConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
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)
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@latestVerify installation
Confirm nunu is accessible from your terminal.
nunu --versionCreate 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 myprojectGenerate 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 userRun the project with hot reload
Start the development server with automatic hot reload so changes are picked up without restarting manually.
nunu runCompile Wire dependency injection
When you add or modify providers, regenerate the Wire dependency injection graph.
nunu wireNunu 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.
Nunu Alternatives — Similar Developer Tools Servers
Looking for alternatives to Nunu? Here are other popular developer tools servers you can use with Claude, Cursor, and VS Code.
Ecc
★ 188.2kThe agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Javaguide
★ 155.8kJava 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发
Gemini CLI
★ 104.5kA secure MCP server that wraps the Google Gemini CLI, allowing clients to query Gemini models using local OAuth sessions without requiring an API key. It provides tools for model interaction and diagnostics with built-in protection against command in
Awesome MCP Servers
★ 87.3k⭐ Curated list of Model Context Protocol (MCP) servers - tools that extend Claude Desktop, Cursor, Windsurf, and other MCP clients with custom capabilities.
MCP Servers
★ 86.0kModel Context Protocol Servers
CC Switch
★ 77.5kA cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Gemini CLI & Hermes Agent. Only official website: ccswitch.io
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.
Set Up Nunu in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
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.