
Security News
Free Certified Patch for Critical Rails Active Storage Vulnerability
Socket has released a free Certified Patch for a critical Rails Active Storage vulnerability, giving developers time to upgrade to a secure Rails version.
@ai-mapping/mcp-nextjs-dev
Advanced tools
MCP server for managing Next.js development processes with AI tools
MCP server for managing Next.js development processes with Claude Code
An official Model Context Protocol (MCP) server that enables AI assistants like Claude Code to manage Next.js development servers without blocking. Start, monitor, and debug Next.js applications seamlessly through AI-powered development workflows.
🚀 Non-blocking Next.js development server management
📊 Real-time log access and filtering
🛠️ Process monitoring and control
🔧 Debug-friendly with comprehensive error handling
🤖 Optimized for AI assistant integration
Claude Code hangs when running npm run dev because the process doesn't terminate. This MCP server provides asynchronous tools to start Next.js development servers in the background and access their logs for analysis.
# Install and run
npx @ai-mapping/mcp-nextjs-dev
# Or install globally
npm install -g @ai-mapping/mcp-nextjs-dev
mcp-nextjs-dev
Add to your Claude Desktop configuration (claude_desktop_config.json):
{
"mcpServers": {
"nextjs-dev": {
"command": "npx",
"args": ["@ai-mapping/mcp-nextjs-dev"],
"cwd": "."
}
}
}
Start Development Server:
"Start the Next.js development server for this project"
Check for Errors:
"Are there any compilation errors in the Next.js logs? Show me the last 20 error messages."
Monitor Server Status:
"Is the Next.js development server still running? What's the current status?"
Debug Issues:
"The app isn't working. Can you check the Next.js logs for any warnings or errors in the last 2 minutes?"
Clean Shutdown:
"Stop the Next.js development server and clean up any processes."
nextjs_dev_start - Start Next.js development servernextjs_get_logs - Retrieve filtered development logsnextjs_get_status - Check server status and uptimenextjs_stop_server - Stop development server gracefullynpx @ai-mapping/mcp-nextjs-dev --help
npx @ai-mapping/mcp-nextjs-dev --debug
# Enable debug logging
DEBUG=1 npx @ai-mapping/mcp-nextjs-dev
This project uses:
# Clone the repository
git clone https://github.com/ai-mapping/mcp-nextjs-dev.git
cd mcp-nextjs-dev
# Install dependencies
pnpm install
# Build the project
pnpm run build
# Run tests
pnpm test
@ai-mapping/mcp-nextjs-dev/
├── src/
│ ├── server.ts # Main MCP server
│ ├── cli.ts # CLI entry point
│ ├── managers/ # Process and state management
│ └── types/ # TypeScript definitions
├── dist/ # Compiled JavaScript
└── bin/ # Executable scripts
Port Already in Use:
# Check what's using the port
lsof -i :3000
# Kill the process
kill -9 <PID>
MCP Connection Issues:
# Test MCP server directly
npx @modelcontextprotocol/inspector npx @ai-mapping/mcp-nextjs-dev
Debug Mode:
# Enable detailed logging
DEBUG=1 npx @ai-mapping/mcp-nextjs-dev --debug
We welcome contributions! Please see CONTRIBUTING.md for guidelines.
MIT License - see LICENSE file for details.
Made with ❤️ by the AI Mapping team
FAQs
MCP server for managing Next.js development processes with AI tools
We found that @ai-mapping/mcp-nextjs-dev demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.

Security News
Socket has released a free Certified Patch for a critical Rails Active Storage vulnerability, giving developers time to upgrade to a secure Rails version.

Security News
/Threat Research
A malicious Ruby gem runs a credential-stealing worm during installation, poisons AI coding tools, and can wipe files when a stolen GitHub token is revoked.

Security News
GitHub is tightening GitHub Actions security with new restrictions on privileged pull request workflows. Here's what changes and how maintainers are affected.