Back-Agent MCP Server
An MCP (Model Context Protocol) server that executes development tasks using Claude Code CLI.
Features
Execute tasks through Claude Code CLI via MCP protocol
Non-interactive mode by default (
-pflag auto-applied)Specify custom working directories
Configurable timeout settings
Comprehensive error handling and logging
Prerequisites
Node.js >= 18
Claude Code CLI installed and available in PATH
Installation
Usage
Running the Server
Installation
Configuration with Claude Desktop
Add the following to your Claude Desktop configuration file:
Windows: %APPDATA%\Claude\claude_desktop_config.json
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
Or using npx:
Available Tools
execute-task
Executes a development task using Claude Code CLI.
Parameters:
Name | Type | Required | Description |
| string | Yes | The task description to execute |
| string | No | Working directory for execution |
| number | No | Timeout in seconds (max 3600, default 300) |
| string[] | No | Additional CLI arguments (excluding |
Example:
Development
Project Structure
Environment Variables
Variable | Description | Values |
| Set logging verbosity |
|
License
MIT