跳过安装。2 分钟内即可运行。
在 cloud.anythingmcp.com 开始免费试用,一键添加 Groq,然后将你的 AI 客户端(Claude、ChatGPT、Copilot 或 Cursor)指向生成的 MCP 端点。无需 Docker,无需 git clone,无需任何工程经验。
ChatGPT 插件目录中的 AnythingMCP 插件可在 AnythingMCP Cloud 上回答有关企业数据库的问题(PostgreSQL、MySQL、SQL Server、Oracle、SAP HANA、SQLite、MongoDB,只读):打开插件页面 (在新标签页中打开)并点击 Install plugin。其他所有连接器都以自定义 MCP 服务器的方式添加到 ChatGPT,使用你的 AnythingMCP MCP URL。
摘要
用你自己的 API 密钥使用 GroqCloud:基于 Llama、GPT-OSS、Qwen 等开放模型的高速对话补全,用 Whisper 对公开链接中的音频文件进行语音转文字和英文翻译,并查看组织的模型、批处理任务和文件。
试试这样问
Groq 的示例提示
点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。
Claude 是 AI,可能会出错。请核对回答。
💡 无需安装? 直接使用 cloud.anythingmcp.com。 登录、点击 Connectors → Groq、粘贴凭证、生成 MCP API key,即可完成。无 Docker、无
git clone、无本地服务器。
Groq + ChatGPT
用你自己的 API 密钥使用 GroqCloud:基于 Llama、GPT-OSS、Qwen 等开放模型的高速对话补全,用 Whisper 对公开链接中的音频文件进行语音转文字和英文翻译,并查看组织的模型、批处理任务和文件。
前提条件
完整的设置说明已内置在连接器中 (在 store 中选择连接器时可见)。所需环境变量:
GROQ_API_KEY
步骤 1 — 获取凭证
设置大约需要 2 分钟。你需要一个 GroqCloud 账户;免费套餐在其速率限制内即可使用。
- 登录 https://console.groq.com,打开 API Keys(https://console.groq.com/keys)。
- 点击 Create API Key,起个名字并复制密钥。密钥以
gsk_开头,Groq 只显示一次。 - 把它粘贴到
GROQ_API_KEY,不要带Bearer字样。连接器以Authorization: Bearer发送密钥,且只发给 Groq。 - 安装连接器并运行
groq_list_models:它会列出密钥可用的模型,并确认密钥有效。
哪些工具会产生费用:groq_chat_completion、groq_transcribe_audio 和 groq_translate_audio 会运行模型。在免费套餐中它们免费但有速率限制;在 Developer 套餐中每次调用都向组织计费:文本按输入和输出 token 计费,Whisper 按音频时长(小时)计费,每次请求至少按 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 读取单个模型,对密钥无权使用的模型返回 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 Schema,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,例如 zh)会更快、更准确。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)以及包含 token 数和以秒计时间的 usage;推理模型可能把推理过程放在 choices[0].message.reasoning 中。结果还带有 _headers,显示速率限制中剩余的请求数和 token 数。转写结果返回 text。created 等时间戳为 UTC 的 Unix 秒。
分页:列表工具没有分页参数,直接返回 Groq 在一次响应中给出的内容。
安装时关闭的工具:没有。全部 9 个工具都已启用,且没有任何工具会删除数据。
限制:速率限制按组织和模型计算,以每分钟和每天的请求数和 token 数衡量(https://console.groq.com/settings/limits)。音频链接指向的文件在免费套餐中最大 25 MB,付费套餐中最大 100 MB。
常见错误:400 表示模型不支持某个参数,或音频无法读取;401 表示密钥错误或已删除;403 表示项目无权使用该模型;404 表示模型、批处理任务或文件不存在;413 表示音频文件过大;429 表示达到速率限制(AI 会等待 retry-after 中的秒数,而不是循环重试);498 表示 flex 层容量不足;500 和 503 是 Groq 端的问题,请稍后重试一次。
该连接器不进行流式回复,不上传或下载文件内容,也不创建或取消批处理任务。
步骤 2 — 安装 adapter
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
步骤 3 — 在 ChatGPT 中添加连接器
你的服务器 URL: 在 AnythingMCP 中打开 MCP Servers → 此连接器所在的服务器,复制它的 URL(
https://cloud.anythingmcp.com/mcp/…)。本指南中出现YOUR_SERVER_ID的地方都用它替换。
ChatGPT 在网页版的 Plugins 页面把 MCP 服务器添加为插件,仅付费套餐可用,不再需要开发者模式。在 Business 工作区中只有管理员和所有者可以添加;在 Enterprise 和 Edu 中,管理员可以授予 Create plugins with MCPs 权限。
- 前往 chatgpt.com/plugins,点击 Add,然后选择 Add custom MCP server。
- 填写名称,例如 Name:
Groq。 - 在 Connection 下的 Server URL 中填入
https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID,Authentication 保持为 OAuth。 - 选择 I understand and want to continue,然后点击 Create as a plugin。ChatGPT 提示时,登录 AnythingMCP 并允许访问。
- 在个人插件中安装这个新插件,然后在对话中输入 @ 并选择它。
可用工具
| 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 把这封客服邮件总结成三条要点,回复不超过 200 个 token。”
- “转写 https://example.com/audio/episode-12.mp3 这期德语播客,并按分段给出时间戳。”
- “把 https://example.com/voice/note.m4a 这条意大利语语音消息翻译成英文文本。”
- “显示我的 Groq 批处理任务状态,以及最近一个任务中有多少请求失败。”
FAQ
ChatGPT 免费套餐能用自定义 MCP 服务器吗? OpenAI 只为付费套餐提供自定义 MCP 服务器的说明,Free 套餐不在其列。
下一步
这份指南对你有帮助吗?