GroqCloud MCP server for AI agents

Live

BEARER TOKEN

AI INFERENCE

AI

GroqCloud gives your agent fast model inference in your GroqCloud account: generate chat completions and responses, list models, and run, track, and cancel batch jobs on uploaded files.

  • Per-user credentials: each call uses the actual user's access token, never a shared bot.
  • Encrypted per-tenant vault: AES-256, resolved at request time, never in LLM context.
  • Scoped before every call: pre-call scope check, 90-day SIEM-exportable audit chain.
GroqCloud
agent · Acme Q3
Run
Summarize this paragraph in two sentences with a GroqCloud model.
S
groq_chat_completion_create
310ms
Inference agent
Generated a two-sentence summary with a GroqCloud model and returned it in the reply.
Sources: GroqCloud chat completion
groq
1 completion
18:29
Message Claude...

Tools your AI inference agent reaches for on GroqCloud, scoped per user.

CALL ANY TOOL
12 tools for AI inference in GroqCloud: generate chat completions and responses, list models, and create, monitor, and cancel batch jobs with their files.
groq_batch_cancel
Cancel batch
Cancel a batch job that is still in progress. Returns the batch with status cancelling, then cancelled. Requests that already finished stay available in the output file.
Parameters
Name
Type
Required
Description
batch_id
string
Required
ID of the batch to cancel. Example: batch_01jh6xa7reempvjyh6n3yst2zw.
groq_batch_create
Create batch
groq_batch_get
Get batch
groq_batches_list
List batches
groq_chat_completion_create
Create chat completion
groq_file_content_get
Get file content
groq_file_delete
Delete file
groq_file_get
Get file
groq_files_list
List files
groq_model_get
Get model
groq_models_list
List models
groq_response_create
Create response
Build your Agent
Same auth pattern across LangChain, OpenAI, Anthropic, and Google ADK.
Python · LlamaIndex
import { ScalekitClient } from "@scalekit-sdk/node";
import { createReactAgent } from "@langchain/langgraph/prebuilt";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

// GroqCloud tools scoped to this user
const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["groq"], toolNames: [
    "groq_chat_completion_create",
    "groq_batch_create",
    "groq_batch_get"] },
  pageSize: 100,
});

const agent = createReactAgent({ llm, tools });
await agent.invoke({ messages: [{ role: "user", content: "Create a batch job from my JSONL file and report its status" }] });
import OpenAI from "openai";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const openai = new OpenAI();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["groq"] }, pageSize: 100,
});

const res = await openai.chat.completions.create({
  model: "gpt-5",
  messages: [{ role: "user", content: "Create a batch job from my JSONL file and report its status" }],
  tools,
});

// Execute the tool call with the user's vaulted GroqCloud access token
await sk.tools.executeTool(res.choices[0].message.tool_calls[0], "user_123");
import Anthropic from "@anthropic-ai/sdk";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const anthropic = new Anthropic();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["groq"] }, pageSize: 100,
});

const msg = await anthropic.messages.create({
  model: "claude-sonnet-5",
  max_tokens: 1024,
  messages: [{ role: "user", content: "Create a batch job from my JSONL file and report its status" }],
  tools,
});

// Tool call runs with the user's vaulted GroqCloud access token
await sk.tools.executeTool(msg.content, "user_123");
import { Agent } from "@google/adk/agents";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["groq"] }, pageSize: 100,
});

const agent = new Agent({
  name: "inference_agent",
  model: "gemini-2.5-pro",
  instruction: "GroqCloud tools scoped to this user",
  tools,
});

await agent.run("Create a batch job from my JSONL file and report its status");
Try these prompts
Copy any prompt into your agent. Each maps directly to a GroqCloud tool. Click to copy, paste into your agent, done.
Generate
Copy the prompt
Copied
Answer this question with a GroqCloud chat completion.
Copy the prompt
Copied
Generate a response with the Responses API for this prompt.
Copy the prompt
Copied
Rewrite this email in a friendlier tone with a GroqCloud model.
Models
Copy the prompt
Copied
List the models available to my organization.
Copy the prompt
Copied
Get the details of one model by ID.
Copy the prompt
Copied
Which GroqCloud models are active right now?
Batches and files
Copy the prompt
Copied
Create a batch job from my uploaded JSONL file.
Copy the prompt
Copied
What is the status of my latest batch job?
Copy the prompt
Copied
Cancel the batch job that is still running.
SEE HOW AUTH WORKS
Each user connects their own GroqCloud access token once, and Scalekit sends it with every call. Tokens stay vaulted, every call is scope checked, and every action is logged.
1
Authorize
Your user connects
GroqCloud
once. We tie it to their identity and the access they approved, with no shared bot account and no org-wide access
Who:
user ‘A’
when:
Once per user
access:
Limited to user
2
Store
Their
GroqCloud
credential lives in a vault scoped to them. User A's data is never reachable by an agent acting for user B, even on the same connection
vault:
encrypted
scope:
per-user
tenants:
isolated
3
Resolve
When your agent calls a
GroqCloud
tool, we fetch the right credential server-side. It never touches your agent, never appears in the LLM context, never shows up in your logs
speed:
~40ms
check:
before every call
seen by:
nobody
4
Audit
Every
GroqCloud
tool call is logged: who triggered it, which tool ran, what came back. 90 days of history, tied to the user who authorized it
history:
90 days
export:
SIEM-ready
logged:
every call
Test other agents
See the same per-user auth pattern across other AI and developer connectors.
Engineering Teams
DevOps assistant agent
Polls GitHub for failing checks and stale PRs, opens Linear issues for the ones that need work, and posts a daily digest to Slack. It acts as the engineer, not a shared service account.
Test other agents
See the same per-user auth pattern across other AI and developer connectors.
ENGINEERING
DevOps assistant agent
Poll GitHub for failing checks and stale pull requests, open Linear issues for the ones that need work, and digest to Slack.
Why Scalekit
Secure your agent's access. Connectors ship in minutes
01.
Shared tokens break per-user analytics
A shared GroqCloud access token looks fine in a demo. In production every completion and batch job looks like one service account, and you cannot tell which user triggered it. Scalekit resolves the credential of the actual user who triggered the agent, never a shared bot.
// shared token
audit → bot_service_account

// scalekit
audit → user_abc ✓
02.
Authentication is not authorization
03.
Multi-tenancy is architectural
04.
GroqCloud today. Ten connectors tomorrow.
“Our agents act across Salesforce, Gong, Google Drive, and more, on behalf of every customer. Scalekit behind the scenes meant we can keep adding tools without ever rebuilding how credentials or tool calling work.”
Venu Madhav Kattagoni
Head of Engineering / Von
FAQs
Frequently Asked Questions
Does the agent access GroqCloud as the user or through a shared key?
As the user. Each user connects their own GroqCloud access token once, and Scalekit sends it with every call. Audit logs attribute every completion and batch job to that user, not a shared service account.
Where is the GroqCloud access token stored?
In Scalekit's managed AES-256 token vault, namespaced per tenant. To rotate it, the user reconnects with a new access token. Revocation is a single dashboard action. Credentials never appear in prompts, logs, or LLM context.
Can I limit what the agent does in GroqCloud?
Yes. Filter by tool name in listScopedTools to expose only what you want, for example the model and batch read tools without groq_file_delete, which permanently deletes a file, or groq_batch_create, which starts many requests at once. Scalekit also enforces scope checks before every API call.
What happens when a user revokes GroqCloud access?
The connection is invalidated on the next tool call. Subsequent requests for that user fail closed with a clear error. Other users in the tenant remain unaffected. The event is logged for audit.
Can the agent run a large set of requests at once?
Yes. groq_batch_create runs many chat completion requests from an uploaded JSONL file asynchronously. groq_batch_get shows status and progress, groq_file_content_get downloads the output or error file, and groq_batch_cancel stops a batch that is still running.
Start in your coding agent
Up and running in one command
Install the Scalekit skill in your editor of choice. Connector, auth, tools, prompt, all wired up
Claude Code REPL
/plugin marketplace add scalekit-inc/claude-code-authstack
/plugin install agentkit@scalekit-auth-stack
Cursor Code REPL
# ~/.cursor/mcp.json
{
""mcpServers"": {
""groq"": {
""url"": ""https://mcp.scalekit.com/groq"",
""headers"": { ""Authorization"": ""Bearer $SCALEKIT_TOKEN"" }
}
}
}
Codex Code REPL
# ~/.codex/config.toml
[mcp_servers.groq]
url = ""https://mcp.scalekit.com/groq""
auth_env = ""SCALEKIT_TOKEN""
Copilot Code REPL
# .vscode/mcp.json
{
""servers"": {
""groq"": {
""url"": ""https://mcp.scalekit.com/groq"",
""type"": ""http""
}
}
}