API platform · not a desktop client
Groq Remote MCP
Server-side MCP tool discovery and invocation through Groq's OpenAI-compatible Responses API.
Overview
Groq is an inference platform, not a desktop coding client. Its Remote MCP feature connects a model invocation to remote MCP servers from inside an API request: Groq discovers the server's tools and executes tool calls on the server side, then returns the final model response. Groq documents Remote MCP as beta and states that it is compatible with OpenAI's remote MCP API. The integration is configured per request rather than in a local mcp.json file.
Where MCP fits
Placement
MCP servers are declared inside the tools array of a POST request to https://api.groq.com/openai/v1/responses. Each MCP tool entry identifies the server and its credentials. There is no local process for Groq to launch, and no desktop-client configuration file is involved.
Execution model
Groq performs tool discovery and tool invocation on its infrastructure for the duration of an API request. The remote server must be reachable by Groq, not by your local machine. Authentication to the MCP server is passed in per-server headers; the Groq API key authenticates the API request itself.
Endpoints and authentication
| Item | Value |
|---|---|
| Responses API | POST https://api.groq.com/openai/v1/responses |
| API base (OpenAI-compatible) | https://api.groq.com/openai/v1 |
| Official MCP guide | https://console.groq.com/docs/mcp |
| Authentication | Authenticate the Groq request with Authorization: Bearer $GROQ_API_KEY. Supply MCP-specific credentials in the headers object of each MCP tool entry. Groq states that it handles these credentials for the request; never commit them to source control. |
Example request
curl https://api.groq.com/openai/v1/responses \
-H "Authorization: Bearer $GROQ_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-oss-120b",
"input": "List my open issues",
"tools": [{
"type": "mcp",
"server_label": "github",
"server_url": "https://api.githubcopilot.com/mcp/",
"headers": { "Authorization": "Bearer <MCP_TOKEN>" }
}]
}'This example uses placeholders. Replace the Groq key and MCP server credentials through secure environment configuration; never commit them.
Generate a request for your serversHow it differs from a client config
- There is no config.toml, mcp.json, or local process; the server is declared in an API request.
- Tool discovery and invocation happen inside Groq's request execution, not on your workstation.
- Credentials are per-request headers rather than a client-managed secret store.
- The model must support tool use; the platform runs the agent loop.
Limits and operational notes
- Remote MCP is currently in beta; the request schema and supported models may change.
- Only models that support tool use can use remote MCP; confirm availability in the model catalog.
- Groq documents limitations around features such as require_approval and allowed_tools; verify current behavior before relying on them for guardrails.
- Tool calls are executed from Groq's environment, so private localhost MCP servers are not reachable.
- A 424 Failed Dependency response can indicate that Groq could not retrieve the remote server's tool list; inspect the nested error for the upstream status.
Use cases
- Building a server-side assistant that calls a remote MCP server without shipping a desktop client.
- Adding a hosted MCP-backed capability to an application through an OpenAI-compatible API.
- Testing whether a remote MCP endpoint works from a cloud environment.
Sources & evidence
- console.groq.com/docs/mcpOfficial documentation · checked Oct 23, 2026 · documented
Groq documents Remote MCP as beta, OpenAI Remote MCP compatible, available on tool-use models, and configured through the Responses API with MCP tool entries and per-server headers.
- console.groq.com/docs/api-referenceOfficial documentation · checked Oct 23, 2026 · documented
Groq's API reference documents the OpenAI-compatible /openai/v1 base and the Responses endpoint.