선적 서류 비치
- 중국어 문서
- MiniMax-MCP-JS - MiniMax MCP의 공식 JavaScript 구현
MCP 클라이언트를 사용한 빠른 시작
- MiniMax 에서 API 키를 받으세요.
uv
(Python 패키지 관리자)를 설치하고curl -LsSf https://astral.sh/uv/install.sh | sh
로 설치하거나, 추가 설치 방법은uv
저장소를 참조하세요.- 중요 : API 호스트와 키는 지역마다 다르므로 일치해야 합니다. 그렇지 않으면
Invalid API key
오류가 발생합니다.
지역 | 글로벌 | 본토 |
---|---|---|
최소 API 키 | MiniMax Global 에서 받으세요 | 미니맥스 에서 가다 |
최소 API 호스트 | https://api.minimaxi.chat (추가 "i" 에 주의하세요) | https://api.minimax.chat |
클로드 데스크탑
Claude > Settings > Developer > Edit Config > claude_desktop_config.json
으로 이동하여 다음을 포함합니다.
지엑스피1
⚠️ 경고: API 키는 호스트와 일치해야 합니다. "API 오류: 잘못된 API 키" 오류가 발생하면 API 호스트를 확인하세요.
- 글로벌 호스트:
https://api.minimaxi.chat
(추가 "i"에 주의하세요) - 중국 본토 호스트:
https://api.minimax.chat
Windows를 사용하는 경우, MCP 서버를 사용하려면 Claude Desktop에서 "개발자 모드"를 활성화해야 합니다. 왼쪽 상단의 햄버거 메뉴에서 "도움말"을 클릭하고 "개발자 모드 활성화"를 선택하세요.
커서
Cursor -> Preferences -> Cursor Settings -> MCP -> Add new global MCP Server
로 이동하여 위의 구성을 추가합니다.
이제 MCP 클라이언트가 다음 도구를 통해 MiniMax와 상호 작용할 수 있습니다.
수송
우리는 stdio와 sse라는 두 가지 전송 유형을 지원합니다.
stdio | 남남동 |
---|---|
지역적으로 실행 | 로컬 또는 클라우드에 배포 가능 |
stdout 통한 통신 | network 통한 통신 |
입력: local files 또는 유효한 URL 리소스 처리를 지원합니다. | 입력: 클라우드에 배포하는 경우 입력을 위해 URL 사용하는 것이 좋습니다. |
사용 가능한 도구
도구 | 설명 |
---|---|
text_to_audio | 주어진 음성으로 텍스트를 오디오로 변환 |
list_voices | 사용 가능한 모든 음성 나열 |
voice_clone | 제공된 오디오 파일을 사용하여 음성 복제 |
generate_video | 프롬프트에서 비디오 생성 |
text_to_image | 프롬프트에서 이미지 생성 |
query_video_generation | 비디오 생성 작업의 결과 쿼리 |
자주 묻는 질문
1. 잘못된 API 키
API 키와 API 호스트가 지역적으로 정렬되어 있는지 확인하세요.
지역 | 글로벌 | 본토 |
---|---|---|
최소 API 키 | MiniMax Global 에서 받으세요 | 미니맥스 에서 가다 |
최소 API 호스트 | https://api.minimaxi.chat (추가 "i" 에 주의하세요) | https://api.minimax.chat |
2. uvx ENOENT 생성
터미널에서 다음 명령을 실행하여 절대 경로를 확인하세요.
절대 경로(예: /usr/local/bin/uvx)를 얻은 후 해당 경로를 사용하도록 구성을 업데이트합니다(예: "command": "/usr/local/bin/uvx").
3. 비동기 모드에서 generate_video
사용하는 방법
시작하기 전에 완료 규칙을 정의하세요. 또는 IDE 설정(예: 커서)에서 이러한 규칙을 구성할 수 있습니다.
사용 예
⚠️ 경고: 이 도구를 사용하면 비용이 발생할 수 있습니다.
1. 저녁 뉴스의 일부를 방송하다
2. 음성 복제
3. 비디오 생성
4. 이미지 생성
You must be authenticated.
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Claude Desktop 및 Cursor와 같은 MCP 클라이언트가 MiniMax API와 상호 작용하여 음성 생성, 음성 복제, 비디오 생성 및 이미지 생성을 수행할 수 있도록 합니다.
Related MCP Servers
- -securityAlicense-qualityAn MCP server that generates 2D and 3D game assets from text prompts using AI models from Hugging Face Spaces, allowing developers to easily create game art through Claude Desktop or other MCP clients.Last updated -34JavaScriptMIT License
- AsecurityAlicenseAqualityAn MCP server integration that enables Cursor AI to communicate with Figma, allowing users to read designs and modify them programmatically through natural language commands.Last updated -192,5143,528JavaScriptMIT License
- AsecurityAlicenseAqualityAn MCP server implementation that integrates with Minimax API to provide AI-powered image generation and text-to-speech functionality in editors like Windsurf and Cursor.Last updated -21921JavaScriptMIT License
ElevenLabs MCP Serverofficial
AsecurityAlicenseAqualityAn official Model Context Protocol (MCP) server that enables AI clients to interact with ElevenLabs' Text to Speech and audio processing APIs, allowing for speech generation, voice cloning, audio transcription, and other audio-related tasks.Last updated -19700PythonMIT License