imgix MCP server for AI agents

Live

BEARER TOKEN

IMAGE DELIVERY

Media

imgix gives your agent image delivery management in your imgix account: browse and update assets in the Asset Manager, manage Sources, purge cached images, and read analytics reports.

  • 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.
imgix
agent · Acme Q3
Run
List the assets in my marketing Source tagged hero.
S
imgix_assets_list
184ms
Image delivery agent
Found 12 assets tagged hero in the marketing Source.
Sources: imgix assets, 12 results
imgix
12 assets
18:29
Message Claude...

Tools your image delivery agent reaches for on imgix, scoped per user.

CALL ANY TOOL
14 tools for image delivery in imgix: list and update Asset Manager assets, publish and unpublish them, refresh and purge cached images, manage Sources, and read reports.
imgix_asset_add
Add asset
Queue an existing file at the Source's origin to be added to the Asset Manager. Returns 202 with an empty body; poll imgix_asset_get for the result. Use imgix_asset_refresh for an asset that changed at origin.
Parameters
Name
Type
Required
Description
origin_path
string
Required
Path of the asset relative to the Source, for example luke.jpg or marketing/logo.png. Example: luke.jpg.
source_id
string
Required
ID of the imgix Source. Get it from imgix_sources_list. Example: 5d46fb3bd596f100018e123f.
imgix_asset_get
Get asset
imgix_asset_publish
Publish asset
imgix_asset_refresh
Refresh asset
imgix_asset_unpublish
Asset unpublish
imgix_asset_update
Update asset
imgix_assets_list
List assets
imgix_purge
Purge
imgix_report_get
Get report
imgix_reports_list
List reports
imgix_source_create
Create source
imgix_source_get
Get source
imgix_source_update
Update source
imgix_sources_list
List sources
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);

// imgix tools scoped to this user
const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["imgix"], toolNames: [
    "imgix_assets_list",
    "imgix_asset_update",
    "imgix_purge"] },
  pageSize: 100,
});

const agent = createReactAgent({ llm, tools });
await agent.invoke({ messages: [{ role: "user", content: "Find the assets tagged hero, update their tags, and purge the old image from the cache" }] });
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: ["imgix"] }, pageSize: 100,
});

const res = await openai.chat.completions.create({
  model: "gpt-5",
  messages: [{ role: "user", content: "Find the assets tagged hero, update their tags, and purge the old image from the cache" }],
  tools,
});

// Execute the tool call with the user's vaulted imgix 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: ["imgix"] }, pageSize: 100,
});

const msg = await anthropic.messages.create({
  model: "claude-sonnet-5",
  max_tokens: 1024,
  messages: [{ role: "user", content: "Find the assets tagged hero, update their tags, and purge the old image from the cache" }],
  tools,
});

// Tool call runs with the user's vaulted imgix 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: ["imgix"] }, pageSize: 100,
});

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

await agent.run("Find the assets tagged hero, update their tags, and purge the old image from the cache");
Try these prompts
Copy any prompt into your agent. Each maps directly to a imgix tool. Click to copy, paste into your agent, done.
Assets
Copy the prompt
Copied
List the assets in my marketing Source tagged hero.
Copy the prompt
Copied
Get the dimensions and dominant colors of this asset.
Copy the prompt
Copied
Update the description and tags on this asset.
Cache and publishing
Copy the prompt
Copied
Purge this image from the imgix cache.
Copy the prompt
Copied
Refetch this asset from origin after the file changed.
Copy the prompt
Copied
Unpublish this asset so its URL returns 404.
Sources and reports
Copy the prompt
Copied
List my imgix Sources.
Copy the prompt
Copied
Show the deployment settings for my S3 Source.
Copy the prompt
Copied
List my recent analytics reports.
SEE HOW AUTH WORKS
Each user connects their own imgix access token once; Scalekit sends it with every call. Tokens stay vaulted, every call is scope checked, and every action is logged.
1
Authorize
Your user connects
imgix
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
imgix
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
imgix
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
imgix
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 media and design 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 media and design 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 imgix access token looks fine in a demo. In production every purge and asset change 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.
imgix 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 imgix as the user or through a shared access token?
As the user. Each user connects their own imgix access token once, and Scalekit sends it with every call. Audit logs attribute every purge and asset change to that user, not a shared service account.
Where is the imgix 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 imgix?
Yes. Filter by tool name in listScopedTools to expose only what you want, for example the get and list tools without imgix_purge, imgix_asset_unpublish, or imgix_source_update. Scalekit also enforces scope checks before every API call.
What happens when a user revokes imgix 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 take an asset offline?
Yes. imgix_asset_unpublish removes an asset from the Asset Manager and the imgix CDN so it returns 404, while the file stays at origin. imgix_asset_publish serves its URL again. Leave both out of listScopedTools to keep the agent from changing what is live.
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"": {
""imgix"": {
""url"": ""https://mcp.scalekit.com/imgix"",
""headers"": { ""Authorization"": ""Bearer $SCALEKIT_TOKEN"" }
}
}
}
Codex Code REPL
# ~/.codex/config.toml
[mcp_servers.imgix]
url = ""https://mcp.scalekit.com/imgix""
auth_env = ""SCALEKIT_TOKEN""
Copilot Code REPL
# .vscode/mcp.json
{
""servers"": {
""imgix"": {
""url"": ""https://mcp.scalekit.com/imgix"",
""type"": ""http""
}
}
}