MCP Batch Operations Server

by ahmedibrahim085

263 downloads
Not rated
GitHub

About

Efficient MCP server for batch operations with parallel processing, smart grouping, and comprehensive error handling

Details

Author
ahmedibrahim085
Downloads
263
Categories
Other

- Parallel processing with configurable concurrency limits
- Smart grouping of operations by type for optimal performance
- Error resilience: continue or stop on failure
- Built-in retry mechanism for failed operations
- Comprehensive logging for debugging and monitoring
- Multiple operation types: file, code analysis, transformations

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name MCP Batch Operations Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Clone the repository, install dependencies with npm install, and build with npm run build. Configure by adding the server to your Claude Desktop configuration pointing to the built dist/index.js. Then invoke tools such as batch_file_operations and batch_code_analysis with appropriate parameters.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "mcp batch operations server": {
            "batch-operations": {
                "command": "node",
                "args": [
                    "/path/to/mcp-batch-server/dist/index.js"
                ]
            }
        }
    }
}

McpServers

{
    "batch-operations": {
        "command": "node",
        "args": [
            "/path/to/mcp-batch-server/dist/index.js"
        ]
    }
}

MCP Batch Operations Server

An efficient Model Context Protocol (MCP) server for executing batch operations with parallel processing, smart grouping, and comprehensive error handling.

Features

- Parallel Processing: Execute multiple operations concurrently with configurable limits
- Smart Grouping: Automatically group operations by type for optimal performance
- Error Resilience: Continue processing on errors or stop immediately based on configuration
- Retry Logic: Built-in retry mechanism for failed operations
- Comprehensive Logging: Detailed operation logs for debugging and monitoring
- Multiple Operation Types: File operations, code analysis, and transformations

Installation

1. Clone this repository:

git clone https://github.com/ahmedibrahim085/mcp-batch-server.git
cd mcp-batch-server

2. Install dependencies:

npm install

3. Build the server:

npm run build

Configuration for Claude Desktop

Add to your Claude Desktop configuration (~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "batch-operations": {
      "command": "node",
      "args": [
        "/path/to/mcp-batch-server/dist/index.js"
      ]
    }
  }
}

Usage Examples

Basic File Operations

await batch_file_operations({
  operations: [
    { type: "create", path: "/tmp/file1.txt", content: "Hello" },
    { type: "create", path: "/tmp/file2.txt", content: "World" }
  ],
  options: { maxConcurrent: 10 }
});

Batch Code Analysis

await batch_code_analysis({
  files: ["/src/app.js", "/src/utils.js"],
  analyses: ["complexity", "dependencies"]
});

Development

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.