GitShow/vercel/next-devtools-mcp
vercel

next-devtools-mcp

Next.js Development for Coding Agent

by vercel
coding-agentsmcpmcp-servernext-devtoolsnextjs
Star on GitHubForkWebsitenpm

TypeScript

804 stars61 forks12 contributorsActive · 1mo agoSince 2025v0.4.0

Meet the team

See all 12 on GitHub →
huozhi
huozhi98 contributions
gaojude
gaojude31 contributions
vercel-release-bot
vercel-release-bot14 contributions
andrelandgraf
andrelandgraf1 contribution
quuu
quuu1 contribution
ctate
ctate1 contribution
Burry
Burry1 contribution
icyJoseph
icyJoseph1 contribution

Languages

View on GitHub →
TypeScript90.4%
JavaScript9.6%

Commit activity

Last 12 weeks · 9 commits

Full graph →

Community health

1 of 6 standards met

Community profile →
37
✓README○License○Contributing○Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Active · 3 in progress · Last activity 1mo ago
See all on GitHub →
k35o
chore: migrate to zod v4 and refactor schema conversionOpenPR

Upgrades Zod from v3 (3.25.76) to v4 (4.3.6) and updates code to use the new v4 APIs. Changes Dependencies: : 3.25.76 → 4.3.6 : 0.1.15 → 0.2.12 Code changes: Replace manual implementation with Zod v4's built-in method Replace deprecated with for optional parameter detection Simplify type definitions and reduce code complexity Migration Details Zod v4 deprecated the method. The new approach uses to detect optional parameters: Required parameters: Optional parameters: This change has been tested and behaves identically to the v3 implementation. Benefits Cleaner code: Leveraging Zod's native JSON Schema conversion. Future-proof: Aligns with Zod v4 standards and avoids upcoming v3 deprecation. Reduced maintenance: Removed ~40 lines of manual schema conversion logic.

k35o · 1mo ago
ohad6k
Suggestion: VibeRaven production-readiness gate for AI coding agentsOpenIssue

Would you be open to a small docs/rules contribution for VibeRaven? VibeRaven is a production-readiness gate for AI-built apps. The core command is: For high-authority repos like vercel/next-devtools-mcp, I am asking first instead of opening an automated PR. Why this repo matched: AI-agent instruction file detected Next.js signal detected Production stack signal detected Repository active in last 60 days Candidate score: 70 If this is not relevant, closing this issue is completely fine.

ohad6k · 1mo ago

Recent fixes

View closed PRs →
gaojude
Automate releases with Changesets and OIDC publishingMergedPR

Replaces the manual tag-and-publish flow with the Changesets "Version Packages" PR workflow, matching . On push to , opens or updates a Version Packages PR while changesets accumulate, then publishes to npm when that PR merges. Contributors add a changeset with . Publishing uses npm trusted publishing (OIDC) — no , provenance automatic — so the job runs Node 22 and (OIDC needs npm >= 11.5.1). makes the bot's commits and tags GPG-signed, which this repo's require-signed-commits ruleset ( branches) demands. Removes , now superseded.

gaojude · 1mo ago
TrueWill
MCP server failed on exitClosedIssue

Claude Code v2.1.71 No configured next-devtools-mcp 0.3.10 next 16.1.6 macOS Sequoia 15.7.4 Apple M1 Pro Everything works correctly. Claude reports () next-devtools · :heavy_check_mark: connected After prompting to make sure, Claude reports The ... dev server is running on port 4200, and the next-devtools MCP connected successfully. However when exiting Claude (e.g. with ), it consistently reports 1 MCP server failed With this being the only MCP server configured. Asking Claude to diagnose, it reports This is a cosmetic issue, not a real problem. When Claude Code exits, it sends a shutdown signal to any MCP server subprocesses it manages. The next-devtools MCP server (running on port 4200) likely exits with a non-zero code when it receives that signal — which Claude Code reports as "failed." The actual Next.js dev server process continues running fine; only the MCP sidecar connection is torn down. Why it happens: MCP servers started by Claude Code are treated as managed subprocesses. On exit, Claude sends SIGTERM and waits briefly. If the process exits with a non-zero status (common for servers that don't handle SIGTERM gracefully), it's counted as a failure. Is it a problem? No. The ... dev server on port 4200 is unaffected. The message is just Claude Code reporting that the MCP subprocess didn't exit cleanly. To suppress it: You'd need the next-devtools package to handle SIGTERM and exit with code 0 — that's an upstream fix in the mcp__next-devtools package, not something you can easily configure from Claude Code's side. This is not critical, but seeing that red "failed" error every time activates my inner "something is wrong" system.

TrueWill · 1mo ago
20syldev
Close MCP transport gracefully on shutdownMergedPR

Problem When the MCP host (e.g. Claude Code) sends to terminate the server on exit, users see: 1 MCP server failed even though everything worked correctly and the exit code is . The host interprets the abrupt stdio disconnect as a failure. Fix in called without first telling the MCP to close, so the stdio transport was torn down abruptly instead of cleanly. This makes async and before exiting, so the SDK can close the transport cleanly: Note:** this PR originally also removed duplicate / handlers that called from . That file was removed by #145 in the meantime, so after rebasing onto only the change remains. Fixes #126, relates to #113

20syldev · 1mo ago
Structured data for AI agents

Repository: vercel/next-devtools-mcp. Description: Next.js Development for Coding Agent Stars: 804, Forks: 61. Primary language: TypeScript. Languages: TypeScript (90.4%), JavaScript (9.6%). Homepage: https://www.npmjs.com/package/next-devtools-mcp Topics: coding-agents, mcp, mcp-server, next-devtools, nextjs. Latest release: v0.4.0 (1mo ago). Open PRs: 3, open issues: 6. Last activity: 1mo ago. Community health: 37%. Top contributors: huozhi, gaojude, vercel-release-bot, andrelandgraf, quuu, ctate, Burry, icyJoseph, M1ngY, MapleCity1314 and others.

·@ofershap

Replace github.com with gitshow.dev