# Nextjs MCP

> Next.js framework integration utilities and server components

- Skill: `majiayu000/nextjs-mcp` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds add majiayu000/nextjs-mcp`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/nextjs-mcp/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Web & Frontend
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/nextjs-mcp

---


# Next.js MCP Skill

## Overview

Next.js framework integration with App Router, Server Components, and API routes. 90%+ context savings.

## Tools (Progressive Disclosure)

### Route Analysis

| Tool             | Description           |
| ---------------- | --------------------- |
| list-routes      | List all app routes   |
| analyze-route    | Analyze route handler |
| check-middleware | Analyze middleware    |

### Component Analysis

| Tool              | Description                     |
| ----------------- | ------------------------------- |
| list-components   | List server/client components   |
| detect-use-client | Find 'use client' directives    |
| analyze-rsc       | Analyze React Server Components |

### Build & Deploy

| Tool  | Description          | Confirmation |
| ----- | -------------------- | ------------ |
| build | Run production build | Yes          |
| dev   | Start dev server     | No           |
| lint  | Run Next.js linting  | No           |

## Agent Integration

- **developer** (primary): Next.js development
- **react-component-developer** (secondary): Component work

