@ld338/nextjs-mcp-server
@ld338
关于 @ld338/nextjs-mcp-server
暂无概览
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"nextjs-mcp-server": {
"command": "npx",
"args": [
"next",
"--version"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is @ld338/nextjs-mcp-server?
A Model Context Protocol (MCP) server for managing Next.js development servers with comprehensive error monitoring. It allows you to start, stop, restart, and monitor multiple Next.js dev servers programmatically or via MCP-compatible clients like Claude, Copilot, or custom tools.
How to use @ld338/nextjs-mcp-server?
Install globally via npm, yarn, or pnpm, then configure your MCP client (e.g., Claude Desktop or GitHub Copilot) to use the nextjs-mcp-server command. Once configured, issue natural-language commands (like “start a Next.js server in the current directory”) or send MCP tool requests directly. The server communicates over stdio.
Key features of @ld338/nextjs-mcp-server
- Start, stop, restart Next.js dev servers in any directory
- List all running servers with status, uptime, and performance
- Automatic port detection and conflict resolution
- Real-time logs and error tracking for managed servers
- Full support for Next.js Turbo mode
- Cross-platform on Windows, macOS, and Linux
Use cases of @ld338/nextjs-mcp-server
- Manage multiple Next.js dev servers simultaneously from an AI assistant
- Automate server lifecycle during CI/CD or local development workflows
- Remotely inspect server logs and errors using MCP‑compatible tools
- Integrate Next.js server control into custom developer tooling or editors
FAQ from @ld338/nextjs-mcp-server
What are the system requirements?
Node.js 18.0.0 or higher, Next.js 12.0.0 or higher in managed projects, and Windows 10+, macOS 10.15+, or Linux (Ubuntu 18.04+).
How do I configure it for Claude Desktop?
Add a "nextjs-manager" entry under "mcpServers" in your Claude Desktop config file (~/Library/Application Support/Claude/claude_desktop_config.json on macOS) with "command": "nextjs-mcp-server".
What if a server won’t start?
Check if the port is already in use (e.g., netstat -an | grep :3000) and verify the Next.js installation (npx next --version). The server provides detailed error messages for invalid projects or port conflicts.
Where are running servers tracked?
In ~/.nextjs-mcp-servers.json. This file is updated on start and stop, and stale processes are automatically removed. Only servers started via this tool are logged.
Can I use the server with GitHub Copilot?
Yes. Add a "nextjs-manager" entry under "mcp.servers" in your Copilot configuration with "command": "nextjs-mcp-server".
其他 分类下的更多 MCP 服务器

Sequential Thinking
modelcontextprotocolModel Context Protocol Servers
Awesome-MCP-ZH
yzflyMCP 资源精选, MCP指南,Claude MCP,MCP Servers, MCP Clients
AutoBrowser MCP
autobrowser-aiBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
🚀 Model Context Protocol (MCP) Curriculum for Beginners
microsoftThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
Awesome Mlops
visengerA curated list of references for MLOps
评论