Next.js Local Workspace MCP Configuration | Promptexify
MCP
MCP
Next.js Local Workspace MCP Configuration
An MCP configuration template using the filesystem server to expose a Next.js App Router workspace to the LLM.
471 characters
Give your LLM direct access to your Next.js project files. This filesystem MCP configuration allows the model to read and write code across your app, components, and lib directories for faster development.
{
"mcpServers": {
"nextjs-workspace": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"./app",
"./components",
"./lib",
"./public"
],
"env": {}
}
}
}