N

Next.js API Scanner

The Next.js MCP Server is a tool for analyzing and extracting API route information from Next.js applications.
3 points
117

What is the Next.js MCP Server?

The Next.js MCP Server is a tool designed specifically for Next.js applications. It scans the project's directory structure and extracts information about API routes, including paths, HTTP methods, request parameters, status codes, and request and response schemas. It helps developers quickly understand and manage API routes.

How to use the Next.js MCP Server?

Through simple installation and running steps, you can quickly start the MCP Server and obtain detailed API route information. It supports both command - line and Docker methods.

Applicable Scenarios

Suitable for development teams that need to efficiently manage and maintain API routes in Next.js applications, especially in large - scale projects where unified interface documentation is required.

Main Features

Get Route InformationAutomatically scan the project directory and extract relevant information about all API routes, including paths, HTTP methods, parameters, status codes, and request/response schemas.

Advantages and Limitations

Advantages
Automatically generate API route documentation, reducing the cost of manual maintenance.
Support multiple output formats for easy integration into existing systems.
Update in real - time to ensure the documentation is always accurate.
Limitations
Only support Next.js App Router projects.
Cannot run in a cross - network environment (requires local access to the file system).

How to Use

Install Dependencies
Install the Next.js MCP Server using npm or pnpm.
Build the Project
Execute the build command in the project root directory.
Start the MCP Server
Run the MCP Server to start scanning the project.

Usage Examples

Generate API Route InformationScan the project through the MCP Server and generate detailed API route information.
Integrate into the CI/CD ProcessIntegrate the MCP Server into the CI/CD pipeline to regularly generate the latest API documentation.

Frequently Asked Questions

Does the MCP Server support other frameworks?
How to solve the problem in a cross - network environment?
What is the format of the output JSON file?

Related Resources

Official Documentation
Provides detailed information on the functions and usage of the MCP Server.
GitHub Code Repository
View the source code and contribute your improvements.
Community Forum
Exchange experiences with other users.
Installation
Copy the following command to your Client for configuration
Note: Your key is sensitive information, do not share it with anyone.
Featured MCP Services
G
Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
109
4.3 points
M
Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
1.7K
5 points
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
846
4.3 points
N
Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
162
4.5 points
F
Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
6.7K
4.5 points
U
Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
582
5 points
G
Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
298
4.5 points
M
Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
769
4.8 points
AIbase
Zhiqi Future, Your AI Solution Think Tank
© 2025AIbase