---
title: "Next.js Articles: Next.js 16, Middleware and MCP"
description: "Next.js articles: what changed in Next.js 16, the CVE-2025-29927 middleware bypass, BotID on auth routes, and building an MCP server with mcp-handler."
canonical: "https://www.trevorlasn.com/topics/next-js"
author: "Trevor I. Lasn"
last-updated: "2026-11-08"
---

# Next.js Articles: Next.js 16, Middleware and MCP

Next.js articles: what changed in Next.js 16, the CVE-2025-29927 middleware bypass, BotID on auth routes, and building an MCP server with mcp-handler.

6 current articles on Next.js, newest first. See [every topic](https://www.trevorlasn.com/topics.md).

## 2026

- [How I Use Vercel BotID to Stop Bots on Auth Endpoints](https://www.trevorlasn.com/blog/vercel-botid-bot-protection-nextjs.md): BotID verifies browser challenges before proxying to the backend. Here's how I set it up in Next.js 16. (2026-02-16)
- [Building Custom MCP Servers with Next.js and mcp-handler](https://www.trevorlasn.com/blog/building-custom-mcp-servers-with-nextjs-and-mcp-handler.md): Build an MCP server in a Next.js route with mcp-handler and createMcpHandler, then connect it to Claude Code, Gemini CLI, Cursor and other MCP clients. (2026-01-28)

## 2025

- [Next.js DevTools MCP: Connect Agents to Your Dev Server](https://www.trevorlasn.com/blog/next-js-devtools-mcp.md): The Next.js DevTools MCP connects Claude and Cursor to your running dev server. I use it every day. (2025-11-02)
- [What's New in Next.js 16: Every Change Explained](https://www.trevorlasn.com/blog/whats-new-in-nextjs-16.md): Next.js 16 makes params async, Turbopack the default bundler and proxy the new middleware, and removes AMP. Every change with code, updated for 16.4. (2025-10-25)
- [Data Fetching Architecture for Complex React/Next.js Apps](https://www.trevorlasn.com/blog/fetching-data-for-complex-next-and-react-apps.md): How I use the 'Three Layers of Data' architecture pattern for React and Next.js apps to avoid common pitfalls, tech debt, and improve performance (2025-05-04)
- [CVE-2025-29927: The Next.js Middleware Bypass Explained](https://www.trevorlasn.com/blog/cve-2025-29927-nextjs-middleware.md): The vulnerability skips Next.js middleware security checks by adding a single HTTP header (2025-04-06)
