
dylan-gluck/mcp-background-job
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
Claude와 함께 일하는 동안 배경에서 긴 실행 명령을 실행하십시오
개요
MCP (Model Context Protocol) 서버는 코딩 에이전트가 긴 실행 쉘 명령을 완전 공정 관리 기능으로 동시에 실행할 수 있도록 합니다. MCP 배경 작업 서버는 배경에서 쉘 명령을 실행하기위한 강력한 솔루션을 제공합니다. 에이전트가 프로세스를 시작하고 상태를 모니터링하고 상호 작용하며 수명주기를 관리 할 수 있습니다. 빌드 프로세스, 테스트 스위트, 서버, 또는 긴 실행 작업과 관련된 개발 워크플로우에 특히 유용합니다. - : 고유 작업 ID와 함께 배경 작업으로 쉘 명령을 실행 - : 시작, 모니터, 상호 작용, 및 종결 배경 프로세스 - : 버퍼링 및 꼬리 기능이있는 캡처 및 검색 stdout / stderr - : stdin을 통해 프로세스를 실행하는 입력을 전송 - : 완료 프로세스의 구성 가능한 작업 한계 및 자동 정리 - : 에이전트 상호 작용을위한 모델 Context 프로토콜과 전체 통합 Claude Code 구성에 서버를 추가하십시오: 1. 명세.
개요(AI 번역)
MCP (Model Context Protocol) 서버는 코딩 에이전트가 긴 실행 쉘 명령을 완전 공정 관리 기능으로 동시에 실행할 수 있도록 합니다.
개요
MCP 배경 작업 서버는 배경에서 쉘 명령을 실행하기위한 강력한 솔루션을 제공합니다. 에이전트가 프로세스를 시작하고 상태를 모니터링하고 상호 작용하며 수명주기를 관리 할 수 있습니다. 빌드 프로세스, 테스트 스위트, 서버, 또는 긴 실행 작업과 관련된 개발 워크플로우에 특히 유용합니다.
특징
- Asynchronous Process Execution: 쉘 명령을 고유 작업 ID로 배경 작업 수행
- ** 수명주기 관리**: 시작, 모니터, 상호작용 및 종결된 배경 프로세스
- ** 실시간 출력 모니터링**: 버퍼링 및 맞춤 기능으로 stdout/stderr 캡처 및 검색
- Interactive Process 지원: stdin을 통해 프로세스를 실행하는 입력을 전송
- ** 자원 관리**: Configurable job limits and automatic cleanup of 완료 프로세스
- MCP 프로토콜 통합: 에이전트 상호 작용을 위한 Model Context Protocol과의 완벽한 통합
설치
빠른 설치 (추천)
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
MCP Background Job Server
An MCP (Model Context Protocol) server that enables coding agents to execute long-running shell commands asynchronously with full process management capabilities.
Overview
The MCP Background Job Server provides a robust solution for running shell commands in the background, allowing agents to start processes, monitor their status, interact with them, and manage their lifecycle. This is particularly useful for development workflows involving build processes, test suites, servers, or any long-running operations.
Features
- Asynchronous Process Execution: Execute shell commands as background jobs with unique job IDs
- Process Lifecycle Management: Start, monitor, interact with, and terminate background processes
- Real-time Output Monitoring: Capture and retrieve stdout/stderr with buffering and tailing capabilities
- Interactive Process Support: Send input to running processes via stdin
- Resource Management: Configurable job limits and automatic cleanup of completed processes
- MCP Protocol Integration: Full integration with Model Context Protocol for agent interactions
Installation
Quick Install (Recommended)
Install directly from PyPI using uvx:
# Install and run the MCP server
uvx mcp-background-job
Claude Code Integration
Add the server to your Claude Code configuration:
-
Option A: Using Claude Code Desktop
- Open Claude Code settings/preferences
- Navigate to MCP Servers section
- Add a new server:
- Name:
background-job - Command:
uvx - Args:
["mcp-background-job"]
- Name:
-
Option B: Configuration File Add to your Claude Code configuration file:
{ "mcpServers": { "background-job": { "command": "uvx", "args": ["mcp-background-job"] } } } -
Restart Claude Code to load the new MCP server.
Development Setup
For local development or contributing:
Prerequisites
- Python 3.12 or higher
- uv package manager
Setup Steps
-
Clone and navigate to the project directory:
git clone https://github.com/dylan-gluck/mcp-background-job.git cd mcp-background-job -
Install dependencies:
uv sync -
Install in development mode:
uv add -e .
Quick Start
Using with Claude Code
Once configured, ask Claude to help you with background tasks:
You: "Start my development server in the background and monitor it"
설치
uvx mcp-background-job설정
{
"mcpServers": {
"background-job": {
"command": "uvx",
"args": ["mcp-background-job"]
}
}
}