https://github.com/Streen9/react-mcp
The React MCP server enables Claude AI to manage React projects and development tasks:
Create new React apps: Using
create-react-appwith customizable templatesRun React apps: Start development servers with
run-react-appExecute terminal commands: Run any command with
run-commandManage processes: Track, stop, and retrieve outputs from running processes
File operations: Read, write, and edit files
Install npm packages: Add dependencies with options for dev dependencies
Enables installing and managing npm packages for React projects
Supports creating React applications with PWA templates
Allows for creating, running, and managing React applications, including editing components, installing dependencies, and executing development tasks
Supports creating React applications with TypeScript templates
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@https://github.com/Streen9/react-mcp create a new React app called 'todo-list' with TypeScript template"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
React MCP (Model Context Protocol)
A powerful server implementation that enables Claude AI to interact with React applications through the Model Context Protocol.
Sample Usage
Related MCP server: MCP-Claude Code Bridge
Overview
React MCP provides a bridge between Claude AI and the React ecosystem, allowing Claude to:
Create new React applications
Run React development servers
Manage files and directories
Install npm packages
Execute terminal commands
Track and manage long-running processes
This server implements the Model Context Protocol, providing Claude with the ability to perform real-world actions in the development environment.
Features
React Project Management
Create new React applications with optional templates
Run development servers
Manage dependencies
File Operations
Read and write files
Edit React components and configuration
Process Management
Start and monitor long-running processes
Track process output in real-time
Terminate processes when needed
Command Execution
Run arbitrary terminal commands
Install npm packages
Execute development tasks
Comprehensive Logging
Detailed JSON and text logs
Process tracking with timestamps
Execution history
Installation
Installing via Smithery
To install React MCP for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @Streen9/react-mcp --client claudeManual Installation
Clone this repository
Install dependencies:
npm installUsage
Add this in claude_desktop_config:
{
"mcpServers": {
"react-mcp": {
"command": "node",
"args": [
"C:/Users/kalip/OneDrive/Desktop/react-mcp/index.js"
]
},
}
}The server runs on the stdio transport, allowing it to be used with Desktop Claude APP as a Model Context Protocol tool.
Available Tools
create-react-app
Creates a new React application.
Parameters:
name(required): Name of the React apptemplate(optional): Template to use (e.g., typescript, cra-template-pwa)directory(optional): Base directory to create the app in (defaults to home directory)
run-react-app
Runs a React application in development mode.
Parameters:
projectPath(required): Path to the React project folder
run-command
Runs a terminal command.
Parameters:
command(required): Command to executedirectory(optional): Directory to run the command in (defaults to current directory)
get-process-output
Gets the output from a running or completed process.
Parameters:
processId(required): ID of the process to get output from
stop-process
Stops a running process.
Parameters:
processId(required): ID of the process to stop
list-processes
Lists all running processes.
edit-file
Creates or edits a file.
Parameters:
filePath(required): Path to the file to editcontent(required): Content to write to the file
read-file
Reads the contents of a file.
Parameters:
filePath(required): Path to the file to read
install-package
Installs a npm package in a project.
Parameters:
packageName(required): Name of the package to install (can include version)directory(optional): Directory of the project (defaults to current directory)dev(optional): Whether to install as a dev dependency
check-installation-status
Checks the status of a package installation process.
Parameters:
processId(required): ID of the installation process to check
Logging
The server maintains detailed logs in the logs directory:
react-mcp-logs.json: Structured JSON logsreact-mcp-logs.txt: Human-readable text logs
Architecture
The server uses the following key components:
Model Context Protocol SDK: For communication with Claude AI
StdioServerTransport: For I/O through standard input/output
Zod: For schema validation and type safety
Child Process: For spawning and managing external processes
License
MIT
Author
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Available Tools
9 toolscreate-react-appC
Create a new React application
Inputs: name (required), template, directory.
edit-fileC
Create or edit a file
Inputs: content (required), filePath (required).
get-process-outputB
Get the output from a running or completed process
Inputs: processId (required).
install-packageC
Install a npm package in a project
Inputs: packageName (required), dev, directory.
list-processesA
List all running processes
Inputs: no named parameters.
read-fileB
Read the contents of a file
Inputs: filePath (required).
run-commandC
Run a terminal command
Inputs: command (required), directory.
run-react-appC
Run a React application in development mode
Inputs: projectPath (required).
stop-processB
Stop a running process
Inputs: processId (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 9 tools
Tools are mostly distinct: process management (list, stop, get output), file operations (read/edit), and React-specific actions (create/run app) are clearly separated. However, 'run-react-app' and generic 'run-command' could be confused if an agent doesn't read descriptions, and 'run-command' overlaps slightly with the dev server startup.
All tools follow a consistent verb_noun snake_case pattern (e.g., stop-process, create-react-app, list-processes). No deviations or mixed conventions, making the naming predictable and intuitive.
With 9 tools, the server covers the core React development workflow (create, run, manage processes, edit files, install packages) without redundancy. Each tool serves a clear purpose and the count is well within the ideal 3-15 range.
The toolset covers the essential React development lifecycle: project creation, dev server management, file editing, package installation, and process monitoring. Minor gaps like build/test commands or file deletion are missing but agents can work around them using run-command or edit-file.
Maintenance
Related MCP Connectors
Connect ChatGPT and Claude to your Mac, Windows or Linux with secure MCP remote access.
An agent-first office suite Claude & ChatGPT read and write over one MCP URL.
One message in, a full agentic application out: website and MCP app, live. Built from any AI client.
One MCP endpoint for Claude, GPT & Gemini: 100+ tools + no-code connectors + agent workers.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceIntegration project for Model Context Protocol (MCP) servers with Claude Desktop App, enabling filesystem operations, development support, and file management through natural language.MIT
- FlicenseBqualityDmaintenanceBridges Claude Desktop with Claude Code CLI to delegate complex coding tasks like creating React apps, building APIs, and debugging scripts while maintaining interaction through the Desktop interface.51-
- AlicenseBqualityDmaintenanceGenerates React Native/Expo UI components using AI, integrates with Claude Desktop to create and optimize Tamagui-based components via natural language commands.62MIT
- AlicenseNot gradedqualityDmaintenanceA Todo app leveraging MCP Apps to provide interactive UI within conversations, allowing users to manage todos via Claude Desktop or Claude Code.MIT