Skip to content
MCP server

MERN MCP

Scaffolds MERN CRUD resources into existing Express and React codebases.

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.1.0
Listing updated
5 days ago

About MERN MCP

MERN MCP is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add mern-mcp --env MERN_MCP_PROJECT_ROOT='<MERN_MCP_PROJECT_ROOT>' -- npx -y mern-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "mern-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mern-mcp"
      ],
      "env": {
        "MERN_MCP_PROJECT_ROOT": "<MERN_MCP_PROJECT_ROOT>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mern-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mern-mcp"
      ],
      "env": {
        "MERN_MCP_PROJECT_ROOT": "<MERN_MCP_PROJECT_ROOT>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "mern-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mern-mcp"
      ],
      "env": {
        "MERN_MCP_PROJECT_ROOT": "<MERN_MCP_PROJECT_ROOT>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mern-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mern-mcp"
      ],
      "env": {
        "MERN_MCP_PROJECT_ROOT": "<MERN_MCP_PROJECT_ROOT>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mern-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mern-mcp"
      ],
      "env": {
        "MERN_MCP_PROJECT_ROOT": "<MERN_MCP_PROJECT_ROOT>"
      }
    }
  }
}

Configuration

  • MERN_MCP_PROJECT_ROOTAbsolute path to the target MERN project root.Required

Pricing

Open source

MERN MCP FAQ

Is MERN MCP free?

Yes. MERN MCP is open source, so you can use and self-host it for free.

How do I add MERN MCP to Claude Code?

Run this command in your terminal: claude mcp add mern-mcp --env MERN_MCP_PROJECT_ROOT='<MERN_MCP_PROJECT_ROOT>' -- npx -y mern-mcp