KG

kalivaraprasad-gonapa/react-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

76 stars 12 forks 品質 60 トレンド 0MIT

kalivaraprasad-gonapa/react-mcp は [https://github.com/kalivaraprasad-gonapa/react-mcp. からインポートされた MCP サーバーの候補です

概要

kalivaraprasad-gonapa/react-mcp は [https://github.com/kalivaraprasad-gonapa/react-mcp. からインポートされた MCP サーバーの候補です

概要(AI 翻訳)

Claude AI がモデルコンテキストプロトコルを介して React アプリケーションとやり取りできる強力なサーバーの実装。

サンプル使用法

  • ClaudeによるMarkdownエディタ/ビューア

  • ClaudeによるAPIテスター

概要

React MCP は、Claude AI と React のエコシステム間でブリッジを提供し、Claude を次のようにします。

  • 新しい React アプリケーションを作成する
  • React 開発サーバーを実行
  • ファイルとディレクトリの管理
  • npmパッケージをインストール
  • ターミナルコマンドを実行する
  • 長期プロセスの追跡と管理

このサーバーは、Claude に開発環境で現実的なアクションを実行する機能を提供する、モデルコンテキストプロトコルを実行します。

##特徴

  • React プロジェクト管理

  • オプションのテンプレートで新しい React アプリケーションを作成する

  • 開発サーバーの実行

  • 依存関係の管理

  • ファイル操作

  • ファイルを読み書きする

  • React コンポーネントと構成の編集

  • プロセス管理

  • 長期プロセスの開始および監視

  • リアルタイムでプロセス出力を追跡

  • 必要な場合のプロセスの終了

  • コマンド実行

  • 任意の端末コマンドを実行する

  • npmパッケージをインストール

  • 開発タスクの実行

  • 包括的なログ

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

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

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 claude

Manual Installation

  1. Clone this repository
  2. Install dependencies:
npm install

Usage

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 app
  • template (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.

GitHub で README 全文を見る

インストール

npx -y @smithery/cli install @Streen9/react-mcp --client claude
MCP 初心者?mcpskill.org のガイドから始めましょう →