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.
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:
- fetch_zoho_task - Retrieve task details from Zoho Projects
- create_feature_branch - Create a git branch with proper naming convention
- Check code during implementation - While implementing, continuously use check_sonarqube_issues
- auto_fix_sonarqube_issues - Fix detected quality issues in real-time
- update_task_status - Update Zoho with progress
- generate_implementation_report - Create a final report of work completed
Installation
- Clone this repository
- Install dependencies:
npm install
Building
Build the TypeScript code:
npm run build
Setup & Configuration
Before using this MCP, you need to set up:
- Zoho Projects - API credentials for fetching tasks
- SonarQube - Project configuration and authentication token
- 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
- Configure credentials (see CONFIGURATION.md)
- Start the MCP server:
npm start - 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:
- Define a Zod schema for input validation
- Add the tool definition to the
ListToolsRequestSchemahandler - Implement the tool logic in the
CallToolRequestSchemahandler
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 JavaScriptnpm start- Run the compiled servernpm run dev- Build and run the servernpm test- Run tests (placeholder)
License
ISC
Documentation
- CONFIGURATION.md - Setup and configuration guide
- WORKFLOW.md - Complete workflow examples
- TOOLS.md - Detailed tool reference
External Resources
- Model Context Protocol Documentation
- MCP SDK Repository
- MCP Examples
- Zoho Projects API
- SonarQube Documentation
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:
- Fetches tasks from Zoho
- Creates proper git branches
- Continuously checks code quality
- Fixes issues in real-time
- Updates task status automatically
- Generates implementation reports
Time Saved: 2-3 hours per week per developer
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。
mcp-server-qdrant
这个仓库展示了如何为向量搜索引擎 Qdrant 创建一个 MCP (Managed Control Plane) 服务器的示例。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。