Supports containerized deployment of the MCP server through Docker, allowing for isolated and portable execution of the route analysis functionality.
Analyzes Next.js application routes and provides detailed information about API endpoints, including paths, HTTP methods, parameters, status codes, and request/response schemas. Useful for documentation, testing, and API management.
Next.js MCP Server
A utility tool that analyzes your Next.js application routes and provides detailed information about them.
Demo
Overview
get-routers-info
The Router Analyzer scans your Next.js app directory structure and extracts information about all API routes, including:- API paths
- HTTP methods (GET, POST, PUT, DELETE, etc.)
- Request parameters
- Status codes
- Request and response schemas
This is particularly useful for documentation, testing, or integrating with API management tools.
Installation
Or if you're using pnpm:
Usage
Command Line
You can run the mcp server directly:
Docker
Output
The tool generates detailed information about each route:
Development
To run tests:
How It Works
The tool:
- Scans your Next.js app directory structure for route files
- Analyzes each route file to extract HTTP methods, paths, parameters, etc.
- Extracts documentation from comments
- Returns a structured representation of all your API routes
License
MIT
This server cannot be installed
A utility tool that analyzes Next.js application routes and provides detailed information about API paths, HTTP methods, parameters, status codes, and request/response schemas.
Related MCP Servers
- -securityAlicense-qualityProvides application insights for Vue apps by exposing component trees, state, routes, and Pinia data through a Model Context Protocol server.Last updated -1,739485MIT License
- -securityFlicense-qualityA Model Context Protocol server designed to facilitate Nextflow development and testing, providing tools for building from source, running tests, and managing the Nextflow development environment.Last updated -1Python
- -securityFlicense-qualityEnables real-time communication between applications and AI models using the Model Context Protocol, supporting features like custom tools and multiple transport options for Next.js applications.Last updated -23,015TypeScript
- -securityFlicense-qualityRoutes requests to multiple downstream Model Context Protocol servers and provides a LangGraph.js-based agent with RAG capabilities for development assistance.Last updated -TypeScript