# Next.js Architecture MCP

> Next.js Architecture MCP is an MCP server. Indexes your Next.js project so an agent finds the file that owns a task in one call. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Website:** https://nextjs-mcp.com
- **MCP Registry name:** io.github.hasimkilic/nextjs-mcp-architecture
- **Listing updated:** 2026-11-13

## About

Indexes your Next.js project so an agent finds the file that owns a task in one call.

## Install

### Claude Code (Terminal)

```sh
claude mcp add nextjs-mcp-architecture -- npx -y nextjs-mcp-architecture
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "nextjs-mcp-architecture": {
      "command": "npx",
      "args": [
        "-y",
        "nextjs-mcp-architecture"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "nextjs-mcp-architecture": {
      "command": "npx",
      "args": [
        "-y",
        "nextjs-mcp-architecture"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "nextjs-mcp-architecture": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "nextjs-mcp-architecture"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "nextjs-mcp-architecture": {
      "command": "npx",
      "args": [
        "-y",
        "nextjs-mcp-architecture"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "nextjs-mcp-architecture": {
      "command": "npx",
      "args": [
        "-y",
        "nextjs-mcp-architecture"
      ]
    }
  }
}
```

## FAQ

### How do I add Next.js Architecture MCP to Claude Code?

Run this command in your terminal: claude mcp add nextjs-mcp-architecture -- npx -y nextjs-mcp-architecture

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/next-js-architecture-mcp
