React Development Workflow MCP Server

React Development Workflow MCP Server

Integrates Zoho Projects, Git, and SonarQube to automate task management, branch creation, code quality checks, and reporting for React developers.

Category
访问服务器

README

React Development Workflow MCP Server

A Model Context Protocol (MCP) server implementation in TypeScript that streamlines the React development workflow by integrating Zoho Projects, Git, and SonarQube tools.

What is MCP?

The Model Context Protocol (MCP) is a standard for connecting AI assistants with data sources and tools. This server provides an integrated workflow for React developers to manage tasks, create branches, and ensure code quality in real-time.

Features

This server provides the following tools:

Core Workflow Tools

  • fetch_zoho_task: Fetch task details from Zoho Projects by task ID
  • create_feature_branch: Create git branches (feat/ or fix/) based on task information
  • check_sonarqube_issues: Check for SonarQube code quality issues in a branch
  • auto_fix_sonarqube_issues: Automatically fix common SonarQube issues detected in code
  • update_task_status: Update task status in Zoho Projects (Open, In Progress, Completed)
  • generate_implementation_report: Generate a summary report of implementation and quality fixes

Utility Tools

  • get_time: Get the current time, optionally in a specific timezone
  • echo: Echo back a message

Workflow Overview

The typical workflow is:

  1. fetch_zoho_task - Retrieve task details from Zoho Projects
  2. create_feature_branch - Create a git branch with proper naming convention
  3. Check code during implementation - While implementing, continuously use check_sonarqube_issues
  4. auto_fix_sonarqube_issues - Fix detected quality issues in real-time
  5. update_task_status - Update Zoho with progress
  6. generate_implementation_report - Create a final report of work completed

Installation

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

Building

Build the TypeScript code:

npm run build

Setup & Configuration

Before using this MCP, you need to set up:

  1. Zoho Projects - API credentials for fetching tasks
  2. SonarQube - Project configuration and authentication token
  3. Git - User configuration for branch creation

See CONFIGURATION.md for detailed setup instructions.

⚠️ Security: Always keep credentials in .env.local (not committed). See SECURITY.md for best practices.

Usage

Quick Start

  1. Configure credentials (see CONFIGURATION.md)
  2. Start the MCP server:
    npm start
    
  3. Use with Claude Code by adding to .claude/settings.json

Running the Server

npm start

Or for development with automatic rebuilding:

npm run dev

The server will run on stdio and communicate using the MCP protocol.

Workflow Example

See WORKFLOW.md for a complete example of how to use this MCP in your React development workflow.

Using with VS Code

This project includes a .vscode/mcp.json configuration file that allows you to debug the MCP server directly in VS Code. The server will be available as "workflow-mcp" in your MCP client.

Development

Project Structure

mcp-demo/
├── src/
│   └── index.ts          # Main server implementation
├── build/                # Compiled JavaScript (generated)
├── .github/
│   └── copilot-instructions.md  # GitHub Copilot instructions
├── .vscode/
│   └── mcp.json          # VS Code MCP configuration
├── package.json
├── tsconfig.json
└── README.md

Adding New Tools

To add a new tool:

  1. Define a Zod schema for input validation
  2. Add the tool definition to the ListToolsRequestSchema handler
  3. Implement the tool logic in the CallToolRequestSchema handler

Example:

// 1. Define schema
const MyToolSchema = z.object({
  input: z.string().describe("Input parameter"),
});

// 2. Add to tools list
{
  name: "my_tool",
  description: "Description of what the tool does",
  inputSchema: {
    type: "object",
    properties: {
      input: {
        type: "string",
        description: "Input parameter",
      },
    },
    required: ["input"],
  },
}

// 3. Handle the tool call
case "my_tool": {
  const parsed = MyToolSchema.parse(args);
  return {
    content: [
      {
        type: "text",
        text: `Result: ${parsed.input}`,
      },
    ],
  };
}

Dependencies

  • @modelcontextprotocol/sdk: MCP SDK for TypeScript
  • zod: Schema validation library
  • typescript: TypeScript compiler
  • @types/node: Node.js type definitions

Scripts

  • npm run build - Compile TypeScript to JavaScript
  • npm start - Run the compiled server
  • npm run dev - Build and run the server
  • npm test - Run tests (placeholder)

License

ISC

Documentation

External Resources

About This Project

This MCP was built to solve a real React development workflow problem:

The Problem: Developers waste 2-3 hours per week context-switching between Zoho Projects, Git, and SonarQube while implementing features.

The Solution: A single integrated MCP that:

  1. Fetches tasks from Zoho
  2. Creates proper git branches
  3. Continuously checks code quality
  4. Fixes issues in real-time
  5. Updates task status automatically
  6. Generates implementation reports

Time Saved: 2-3 hours per week per developer

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选
mcp-server-qdrant

mcp-server-qdrant

这个仓库展示了如何为向量搜索引擎 Qdrant 创建一个 MCP (Managed Control Plane) 服务器的示例。

官方
精选
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选