ã€ã³ã¹ããŒã«äžèŠã2å以å ã«åããŸãã
cloud.anythingmcp.com ã§ç¡æãã©ã€ã¢ã«ãéå§ããGroq ãã¯ã³ã¯ãªãã¯ã§è¿œå ããŠãAI ã¯ã©ã€ã¢ã³ãïŒClaudeãChatGPTãCopilotãCursorïŒãçæããã MCP ãšã³ããã€ã³ãã«åããã ããDocker ã git clone ããéçºçµéšãäžèŠã§ãã
æŠèŠ
èªåã® API ããŒã§äœ¿ã GroqCloudïŒLlamaãGPT-OSSãQwen ãªã©ã®ãªãŒãã³ã¢ãã«ã«ããé«éãªãã£ããè£å®ãå ¬éãªã³ã¯ã®é³å£°ãã¡ã€ã«ã Whisper ã§æåèµ·ããã»è±èªãžç¿»èš³ãçµç¹ã®ã¢ãã«ãããããžã§ãããã¡ã€ã«ã®ç¢ºèªã
ããèããŠã¿ãã
Groq ã®ãµã³ãã«ããã³ãã
ããã³ãããã¯ãªãã¯ã§ã³ããŒãClaude / ChatGPT / Cursor / Gemini / Copilot / OpenClaw ã«è²Œãä»ããŠããã®ã³ãã¯ã¿ãŒã§å®è¡ã§ããŸãã
Claude 㯠AI ã®ãã誀ãããšããããŸããåçãã確èªãã ããã
ð¡ ã€ã³ã¹ããŒã«äžèŠ? cloud.anythingmcp.com ãçŽæ¥å©çšããŠãã ããã ãµã€ã³ã€ã³ããConnectors â Groq ãã¯ãªãã¯ãèªèšŒæ å ±ã貌ãä»ããMCP API ããŒãçºè¡ããã°å®äºã§ããDocker ã
git cloneãããŒã«ã«ãµãŒããŒãäžèŠã
Groq
èªåã® API ããŒã§äœ¿ã GroqCloudïŒLlamaãGPT-OSSãQwen ãªã©ã®ãªãŒãã³ã¢ãã«ã«ããé«éãªãã£ããè£å®ãå ¬éãªã³ã¯ã®é³å£°ãã¡ã€ã«ã Whisper ã§æåèµ·ããã»è±èªãžç¿»èš³ãçµç¹ã®ã¢ãã«ãããããžã§ãããã¡ã€ã«ã®ç¢ºèªã
ã»ããã¢ãã
ã»ããã¢ããã¯çŽ 2 åã§ããGroqCloud ã®ã¢ã«ãŠã³ããå¿ èŠã§ããç¡æãã©ã³ãã¬ãŒãå¶éã®ç¯å²å ã§äœ¿ããŸãã
- https://console.groq.com ã«ãµã€ã³ã€ã³ããAPI KeysïŒhttps://console.groq.com/keysïŒãéããŸãã
- Create API Key ãã¯ãªãã¯ããååãä»ããŠããŒãã³ããŒããŸããããŒã¯
gsk_ã§å§ãŸããäžåºŠãã衚瀺ãããŸããã - ããŒã
Bearerãšããèªãä»ããã«GROQ_API_KEYã«è²Œãä»ããŸããã³ãã¯ã¿ã¯ããŒãAuthorization: Bearerãšã㊠Groq ã«ã ãéããŸãã - ã³ãã¯ã¿ãã€ã³ã¹ããŒã«ãã
groq_list_modelsãå®è¡ããŸããããŒã§äœ¿ããã¢ãã«ãäžèŠ§è¡šç€ºãããããŒã確èªã§ããŸãã
æéããããããŒã«: groq_chat_completionãgroq_transcribe_audioãgroq_translate_audio ã¯ã¢ãã«ãå®è¡ããŸããç¡æãã©ã³ã§ã¯ç¡æã§ããã¬ãŒãå¶éããããŸããDeveloper ãã©ã³ã§ã¯åŒã³åºãããšã«çµç¹ãžèª²éãããŸããããã¹ãã¯å
¥åã»åºåããŒã¯ã³åäœãWhisper ã¯é³å£°ã®æéåäœã§ã1 ãªã¯ãšã¹ããããæäœ 10 ç§åã§ããAI ã¯å€§ããªåŒã³åºããç¹°ãè¿ãã®åŒã³åºãã®åã«ç¢ºèªããmax_completion_tokens ã§å¿çã®é·ããæããŸããgroq_list_modelsãgroq_get_modelãgroq_list_batchesãgroq_get_batchãgroq_list_filesãgroq_get_file ã¯ç¡æã§ãã
ã¢ãã«: groq_list_models ã¯ãããŒã§äœ¿ãããã¹ãŠã®ã¢ãã«ããæäŸå
ãcontext_windowãmax_completion_tokensãæå¹ãã©ãããšãšãã«è¡šç€ºããŸããgroq_get_model 㯠1 ã€ã®ã¢ãã«ãèªã¿åããããŒã§äœ¿ããªãã¢ãã«ã«ã¯ 404 ãè¿ããŸããã¢ãã« ID ã¯é »ç¹ã«å€ãããŸãããã¬ãã¥ãŒã¢ãã«ã¯äºåãªãåé€ãããããšãããããããã¯ã·ã§ã³ã¢ãã«ã¯å®å®ããŠããŸãããã䜿ã ID 㯠llama-3.3-70b-versatileãllama-3.1-8b-instantïŒæå®ïŒãopenai/gpt-oss-120bãopenai/gpt-oss-20bãqwen/qwen3.8-27bãé³å£°ã§ã¯ whisper-large-v3-turboïŒå®äŸ¡ïŒãš whisper-large-v3 ã§ãã
ããã¹ã: groq_chat_completion 㯠model ãš messages ãåãåããå¿çå
šäœãäžåºŠã«è¿ããŸãïŒã¹ããªãŒãã³ã°ãªãïŒãresponse_format ã§ JSON ã JSON ã¹ããŒããæå®ã§ããtools ã§é¢æ°åŒã³åºãã远å ã§ããŸããreasoning_effort ãš reasoning_format ã¯æšè«ã¢ãã«ã調æŽããŸãïŒGPT-OSS 㯠lowãmediumãhighãQwen 㯠none ãŸã㯠defaultïŒã
é³å£°: groq_transcribe_audio ã¯é³å£°ããã®èšèªã®ãŸãŸæåèµ·ããããgroq_translate_audio ã¯è±èªã®ããã¹ãã«ããŸãïŒç¿»èš³ã§ããã®ã¯ whisper-large-v3 ã ãã§ãïŒãã©ã¡ãã url ã«å
¬éãªã³ã¯ãæž¡ããŸãããã¡ã€ã«ã¯ Groq ãèªåã§ããŠã³ããŒãããã®ã§ãã¢ããããŒãã¯äžèŠã§ãã圢åŒã¯ flacãmp3ãmp4ãmpegãmpgaãm4aãoggãwavãwebm ã§ããlanguageïŒISO-639-1ãäŸïŒjaïŒãæå®ãããšãéãæ£ç¢ºã«ãªããŸããresponse_format ã verbose_json ã«ãããšã¿ã€ã ã¹ã¿ã³ãä»ãã®ã»ã°ã¡ã³ãããtimestamp_granularities ã word ã«ãããšåèªããšã®æå»ãå ãããŸãã
ããããžã§ããšãã¡ã€ã«: groq_list_batches ãš groq_get_batch ã¯ãå¥ã®å Žæã§éå§ãããããããã¹ããŒã¿ã¹ïŒvalidatingãin_progressãfinalizingãcompletedãfailedãexpiredãcancellingãcancelledïŒããªã¯ãšã¹ãæ°ãoutput_file_id ãš error_file_id ãšãšãã«è¡šç€ºããŸããgroq_list_files ãš groq_get_file ã¯ããã¡ã€ã«åããµã€ãºïŒãã€ãïŒãçšéïŒbatch ãŸã㯠batch_outputïŒãäœææ¥æã衚瀺ããŸããäžèº«ã¯è¡šç€ºããŸããã
ããŒã¿åœ¢åŒ: è£å®ã¯ choices[0].message.contentãfinish_reasonïŒstopãmax_completion_tokens ã«éããå Žå㯠lengthãtool_callsïŒãããŒã¯ã³æ°ãšç§åäœã®æéãå«ã usage ãè¿ããŸããæšè«ã¢ãã«ã¯æšè«å
容ã choices[0].message.reasoning ã«å
¥ããããšããããŸããçµæã«ã¯ã¬ãŒãå¶éã®æ®ããªã¯ãšã¹ãæ°ãšããŒã¯ã³æ°ã瀺ã _headers ãå«ãŸããŸããæåèµ·ãã㯠text ãè¿ããŸããcreated ãªã©ã®ã¿ã€ã ã¹ã¿ã³ã㯠UTC ã® Unix ç§ã§ãã
ããŒãžã³ã°: äžèŠ§ç³»ããŒã«ã«ã¯ããŒãžã®ãã©ã¡ãŒã¿ããªããGroq ã 1 åã®å¿çã§è¿ãå 容ããã®ãŸãŸè¿ããŸãã
ã€ã³ã¹ããŒã«æã«ãªãã®ããŒã«: ãããŸããã9 åã®ããŒã«ã¯ãã¹ãŠæå¹ã§ãã©ããåé€ã¯è¡ããŸããã
å¶é: ã¬ãŒãå¶éã¯çµç¹ãšã¢ãã«ããšã«ã1 åããããš 1 æ¥ãããã®ãªã¯ãšã¹ãæ°ãšããŒã¯ã³æ°ã§æ±ºãŸããŸãïŒhttps://console.groq.com/settings/limitsïŒãé³å£°ãªã³ã¯ãæããã¡ã€ã«ã¯ãç¡æãã©ã³ã§æå€§ 25 MBãææãã©ã³ã§æå€§ 100 MB ã§ãã
ãããããšã©ãŒ: 400 ã¯ã¢ãã«ã察å¿ããŠããªããã©ã¡ãŒã¿ããèªã¿åããªãé³å£°ã§ãã401 ã¯ããŒãééã£ãŠãããåé€ãããŠããŸãã403 ã¯ãããžã§ã¯ãããã®ã¢ãã«ã䜿ããŸããã404 ã¯ã¢ãã«ããããããã¡ã€ã«ãèŠã€ãããŸããã413 ã¯é³å£°ãã¡ã€ã«ã倧ããããŸãã429 ã¯ã¬ãŒãå¶éã«éããŠããŸãïŒAI ã¯ã«ãŒãã§å詊è¡ãããretry-after ã®ç§æ°ã ãåŸ
ã¡ãŸãïŒã498 㯠flex ãã£ã¢ã®å®¹éäžè¶³ã§ãã500 ãš 503 㯠Groq åŽã®åé¡ãªã®ã§ããã°ããããŠããäžåºŠã ãå詊è¡ããŠãã ããã
ãã®ã³ãã¯ã¿ã¯ãå¿çã®ã¹ããªãŒãã³ã°ããã¡ã€ã«å 容ã®ã¢ããããŒããããŠã³ããŒããããããžã§ãã®äœæããã£ã³ã»ã«ã¯è¡ããŸããã
åææ¡ä»¶: GROQ_API_KEY
ããŒã«ã«ã§ã³ãã¯ã¿ãã€ã³ã¹ããŒã«
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
http://localhost:3000/connectors/store ãéãã Groq ãéžæããåææ¡ä»¶ã«èšèŒãããç°å¢å€æ°ãå
¥åããŸãã
å©çšå¯èœãªããŒã«
| Tool | What it does |
|---|---|
groq_list_models | List the models this Groq API key can use (chat, reasoning, Whisper speech-to-text, text-to-speech, safety), with owner, context window⊠|
groq_get_model | Read one Groq model: owner, creation time, context window, maximum completion tokens and whether it is active |
groq_chat_completion | Send a conversation to a Groq-hosted model and return its reply (non-streaming) |
groq_transcribe_audio | Transcribe speech in an audio file to text in its own language with Whisper |
groq_translate_audio | Translate speech in an audio file into English text with Whisper (only whisper-large-v3 translates) |
groq_list_batches | List the Batch API jobs of the Groq organization: endpoint, status (validating, in_progress, finalizing, completed, failed, expired⊠|
groq_get_batch | Read one Groq batch job: status, timestamps of each stage, request counts (total, completed, failed), errors, metadata and the⊠|
groq_list_files | List the files stored in the Groq organization (batch inputs and batch outputs) with id, file name, size in bytes, purpose and creation time |
groq_get_file | Read the metadata of one Groq file: name, size in bytes, purpose (batch or batch_output) and creation time |
ããã³ããã®äŸ
- ãä»ãã®ããŒã§äœ¿ãã Groq ã®ã¢ãã«ãšãããããã®ã³ã³ããã¹ããŠã£ã³ããŠãæããŠãã ãããã
- ããã®ãµããŒãã¡ãŒã«ã llama-3.1-8b-instant ã§ 3 ã€ã®ç®æ¡æžãã«èŠçŽããŠãã ããã200 ããŒã¯ã³ä»¥å ã§ãé¡ãããŸããã
- ãhttps://example.com/audio/episode-12.mp3 ã«ãããã€ãèªã®ããããã£ã¹ãããã»ã°ã¡ã³ãããšã®ã¿ã€ã ã¹ã¿ã³ãä»ãã§æåèµ·ããããŠãã ãããã
- ãhttps://example.com/voice/note.m4a ã«ããã€ã¿ãªã¢èªã®ãã€ã¹ã¡ãã»ãŒãžãè±èªã®ããã¹ãã«ç¿»èš³ããŠãã ãããã
- ãGroq ã®ããããžã§ãã®ç¶æ³ãšãææ°ã®ãžã§ãã§å€±æãããªã¯ãšã¹ãæ°ãèŠããŠãã ãããã
次ã®ã¹ããã
ãã®ã¬ã€ãã¯åœ¹ã«ç«ã¡ãŸããã?