
tizee/mcp-unix-manual
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
유닉스 명령 문서를 LLMs 대화 내에서 직접 제공 하는 MCP 서버.
개요
Claude 대화 내에서 유닉스 명령 문서를 직접 제공하는 MCP 서버. - : 유닉스 명령에 대한 도움말 페이지, 맨 페이지 및 사용 정보 검색 - : 시스템에서 사용 가능한 명령을 발견, 기능 별 분류 - : 특정 명령이 유효하고 버전 정보를 얻을 수 있는지 확인 - Python 3.13+ - Claude 데스크탑 또는 MCP 호환 클라이언트 1. Clone 이 저장소 2. 포장을 설치하십시오: 3. Claude 데스크탑에서 서버를 설치하십시오: 설치되면 Claude에서 서버 도구를 직접 사용할 수 있습니다. Claude에서 설치하지 않고 로컬로 서버를 테스트하려면: 서버는 명령 주입을 방지하기 위해 주의를 기울여야합니다. - regex 패턴에 대한 명령명 검증 - 쉘을 사용하지 않고 명령을 실행 - 모든 명령 실행에 타임 아웃 설정 - 문서 만 확인, 임의 명령 실행
개요(AI 번역)
Claude 대화 내에서 유닉스 명령 문서를 직접 제공하는 MCP 서버.
특징
-Get 명령 문서: 도움말 페이지, 맨 페이지 및 유닉스 명령에 대한 사용 정보 검색
- 기본 명령: 시스템에서 사용 가능한 명령을 발견, 기능 별 분류 -Check 명령 존재: 특정 명령이 유효하고 버전 정보를 얻는 경우 Verify
설치
# 필수품
- 파이썬 3.13+
- Claude 데스크탑 또는 MCP 호환 클라이언트
설정
-
Clone 이 저장소
-
포장을 설치하십시오:
-
Claude 데스크탑에서 서버를 설치하십시오:
사용법
설치되면 Claude에서 서버 도구를 직접 사용할 수 있습니다.
명령어 문서 가져오기
리스트 일반적인 명령
명령어가 존재하는 경우 체크
개발
Claude에서 설치하지 않고 로컬로 서버를 테스트하려면:
보안
서버는 명령 주입을 방지하기 위해 주의를 기울여야합니다.
- regex 패턴에 대한 명령명 검증
- 쉘을 사용하지 않고 직접 명령 실행
- 모든 명령 실행에서 timeout 설정
- 문서 만 검사, arbitrary 명령 실행
로깅
로그는 `unix-manual-server에 저장됩니다.
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
Unix Manual Server (MCP)
An MCP server that provides Unix command documentation directly within Claude conversations.
Features
- Get command documentation: Retrieve help pages, man pages, and usage information for Unix commands
- List common commands: Discover available commands on your system, categorized by function
- Check command existence: Verify if a specific command is available and get its version information
Installation
Prerequisites
- Python 3.13+
- Claude Desktop or any MCP-compatible client
Setup
- Clone this repository
- Install the package:
pip install -e .
# or
uv install -e .
- Install the server in Claude Desktop:
mcp install unix_manual_server.py
# uv
uv run mcp install unix_manual_server.py
Usage
Once installed, you can use the server’s tools directly in Claude:
Get command documentation
I need help with the grep command. Can you show me the documentation?
List common commands
What Unix commands are available on my system?
Check if a command exists
Is the awk command available on my system?
Development
To test the server locally without installing it in Claude:
mcp dev unix_manual_server.py
Security
The server takes precautions to prevent command injection by:
- Validating command names against a regex pattern
- Executing commands directly without using shell
- Setting timeouts on all command executions
- Only checking for documentation, never executing arbitrary commands
Logging
Logs are saved to unix-manual-server.log in the same directory as the script, useful for debugging.
- use
@modelcontextprotocol/inspectorwithnpxunder the hood.
uv run mcp dev unix_manual_server.py
npx @modelcontextprotocol/inspector uv run unix_manual_server.py
License
MIT
Created with the MCP Python SDK. For more information about MCP, visit modelcontextprotocol.io.
설치
npx @modelcontextprotocol/inspector uv run unix_manual_server.py