Skip to main content
Glama

Claude Parallel Tasks MCP Server

Claude Parallel Tasks MCP Server

An MCP (Model Context Protocol) server that enables running multiple Claude prompts in parallel, with optional file contexts and output redirection.

Features

  • Run multiple Claude prompts simultaneously in parallel
  • Provide file contexts to Claude prompts
  • Redirect output to individual files for each task
  • Built with TypeScript and the MCP SDK

Prerequisites

  • Node.js and pnpm
  • Claude CLI tool installed and configured
  • Anthropic API key

Setup

  1. Clone the repository:
git clone https://github.com/CaptainCrouton89/claude-code-mcp.git cd claude-code-mcp
  1. Install dependencies:
pnpm install
  1. Set up your environment variables:
cp .env.example .env.local
  1. Edit .env.local and add your Anthropic API key:
ANTHROPIC_API_KEY=your_anthropic_api_key_here
  1. Build the project:
pnpm run build

Usage

Running the Server

pnpm start

Configuring with Claude Desktop

Add the following to your claude_desktop_config.json:

{ "mcpServers": { "claude-parallel": { "command": "node", "args": ["/path/to/claude-code-mcp/dist/index.js"], "env": { "ANTHROPIC_API_KEY": "your_anthropic_api_key_here" } } } }

Available Tools

run_parallel_claude_tasks

Runs multiple Claude prompts in parallel with optional file contexts.

Parameters:

  • queries: Array of query objects, each containing:
    • queryText: The text prompt to send to Claude
    • contextFilePaths (optional): Array of file paths to provide as context

Example:

{ "queries": [ { "queryText": "Explain this code", "contextFilePaths": ["src/index.ts"] }, { "queryText": "Write a summary of this project", "contextFilePaths": ["README.md", "package.json"] } ] }

Development

# Install dependencies pnpm install # Build the project pnpm run build # Run in development mode pnpm run dev

Security

  • API keys are stored in environment variables, not in code
  • The .env.local file is gitignored to prevent accidental commits
  • Use the provided .env.example as a template

License

MIT

-
security - not tested
F
license - not found
-
quality - not tested

Enables running multiple Claude prompts simultaneously in parallel with support for file contexts and output redirection to individual files.

  1. Features
    1. Prerequisites
      1. Setup
        1. Usage
          1. Running the Server
          2. Configuring with Claude Desktop
          3. Available Tools
        2. Development
          1. Security
            1. License

              Related MCP Servers

              • A
                security
                A
                license
                A
                quality
                Enables automation of browser tasks using Playwright by interacting via Claude Desktop for executing user-defined prompts and operations.
                Last updated -
                12
                4
                TypeScript
                MIT License
              • -
                security
                A
                license
                -
                quality
                The Claude Dev Server enables direct interaction with the file system within a specified workspace, allowing users to perform file and directory operations and implement code artifacts in software development using natural language commands.
                Last updated -
                2
                Python
                MIT License
                • Apple
              • A
                security
                A
                license
                A
                quality
                Allows Claude desktop app to execute terminal commands and edit files on your computer through MCP, with features including command execution, process management, and diff-based file editing.
                Last updated -
                19
                20,782
                3,219
                JavaScript
                MIT License
                • Apple
              • -
                security
                A
                license
                -
                quality
                Allows Claude to execute terminal commands on your computer and perform file system operations including surgical code editing with diff-based replacements.
                Last updated -
                20,782
                TypeScript
                MIT License
                • Apple
                • Linux

              View all related MCP servers

              MCP directory API

              We provide all the information about MCP servers via our MCP API.

              curl -X GET 'https://glama.ai/api/mcp/v1/servers/CaptainCrouton89/claude-code-mcp'

              If you have feedback or need assistance with the MCP directory API, please join our Discord server