
mikechambers/media-utils-mcp
Deployment & DevOps이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
MCP는 비디오 및 이미지 작업을위한 유틸리티를 제공합니다.
개요
사이트맵 오디오 / 비디오 파일 처리 및 분석을 제공하는 서버. FFMPEG를 다운로드하고 시스템 경로에 있는지 확인합니다. Claude 데스크톱에 설치하려면 다음 파일을 추가하십시오. --permitted flag는 MCP가 보안상의 이유로 접근할 수 있는 디렉토리를 지정하는 데 사용됩니다. 당신은 MCP 검사기를 사용하여 개발에서 실행할 수 있습니다: 이 MCP는 미디어 파일을 분석하기위한 도구를 제공합니다 : - : 파일이 이미지 또는 동영상인지 자동 감지하고 적절한 메타데이터를 반환합니다. - : MCP 디렉토리 목록은 (config에 지정)
개요(AI 번역)
사이트맵 오디오 / 비디오 파일 처리 및 분석을 제공하는 서버.
요구 사항
FFMPEG를 위해
FFMPEG를 다운로드하고 시스템 경로에 있는지 확인합니다.
MacOS에서 실행할 수 있습니다:
Ubuntu/Debian에서:
Windows에서, 사용 Chocolatey:
설치
필요한 의존도를 설치하십시오:
Claude 데스크톱에 설치하려면, claude desktop config.json 파일에 다음을 추가하십시오.
사용법
서버를 실행하려면:
--permitted] 플래그는 MCP가 보안상의 이유로 접근할 수 있는 디렉토리를 지정하는 데 사용됩니다.
개발
당신은 MCP 검사기를 사용하여 개발에서 실행할 수 있습니다:
특징
이 MCP는 미디어 파일을 분석하기위한 도구를 제공합니다 :
- getMediaInfo: 파일이 이미지 또는 동영상인지 자동 감지하고 적절한 metadata를 반환합니다.
-getAllowedDirectories: MCP 디렉토리 목록 (config 지정)
- generateImagesFromVideos : 각 비디오에서 이미지를 생성하고, 비디오의 내용의 프레임이 가장 대표적입니다.
질문, 기능 요청, 피드백
질문이 있으시면, 기능 요청, 도움이 필요하거나 채팅을 원하거나 Discord에 가입하십시오.
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
Media Utils MCP
MCP Server that provides audio / video file processing and analysis.
Requirements
FFMPEG
Download FFMPEG and make sure that it’s in your system path.
On MacOS you can run:
brew install ffmpeg
On Ubuntu/Debian:
sudo apt install ffmpeg
On Windows, use Chocolatey:
choco install ffmpeg
Installation
Install the required dependencies:
npm install @modelcontextprotocol/sdk sharp fluent-ffmpeg zod
To install into Claude desktop, add the following to the claude_desktop_config.json file.
"media-utils": {
"command": "npx",
"args": [
"-y",
"node",
"/Users/FOO/src/media-utils-mcp/src/media-utils-mcp.js",
"--permitted",
"/Users/FOO/Desktop/mcp"
]
}
Usage
To run the server:
node src/media-utils-mcp.js --permitted /path/to/dir1 /path/to/dir2
The --permitted flag is used to specify which directories roots the MCP is allowed to access for security reasons.
Development
You can run in development using the MCP inspector:
npx @modelcontextprotocol/inspector node src/media-utils-mcp.js --permitted /Users/FOO/Desktop/mcp/
Features
This MCP provides tools for analyzing media files:
-
getMediaInfo: Automatically detects whether files are images or videos and returns appropriate metadata
-
getAllowedDirectories : List the directories the MCP has access to (specified in config)
-
generateImagesFromVideos : Generates an image from each video, which is from a frame most representative of the content in the video.
Questions, Feature Requests, Feedback
If you have any questions, feature requests, need help, or just want to chat, join the discord.
You can also log bugs and feature requests on the issues page.
License
Project released under a MIT License.
설치
npx -y node /Users/FOO/src/media-utils-mcp/src/media-utils-mcp.js --permitted /Users/FOO/Desktop/mcp