Shortpixel for AI agents

ShortPixel is an image optimization service that compresses images to speed up websites without a visible quality loss. Developers and site owners use it through APIs and CMS plugins. Connect it once through Arc0, and your agent, or Claude, ChatGPT and Cursor, can use it through one MCP endpoint, limited to what each user approved.

Design and imagesAPI keyMCP + RESTshortpixel.com
AUDIT LOG · SHORTPIXELPOLICY: acme-support
09:41:07 · claude · u_8f2read
shortpixel.get_cdn_usage
Get CDN Usage Statistics✓ allowed · 212ms
09:41:08 · claude · u_8f2read
shortpixel.get_api_status
Get API Status✓ allowed · 164ms
09:41:09 · claude · u_8f2write
shortpixel.add_cdn_domain
Add CDN Domain✓ approved · approved by user
09:41:12 · claude · u_8f2destructive
shortpixel.revoke_cdn_domain
Revoke CDN Domain✕ blocked · policy: deny
EVERY SHORTPIXEL CALL, ON THE RECORD
01 · USE CASES

What agents do in Shortpixel.

01

Optimize a batch of images

Send a set of image URLs to be compressed and returned in an optimized format.

02

Check CDN usage before scaling up

Pull current CDN usage statistics to see how much capacity is left before a bigger batch job.

03

Confirm before purging stored images

Review what's stored on the CDN and get approval before bulk-purging optimized images.

02 · ACTIONS

12 Shortpixel actions, graded by risk.

Every Shortpixel action is tagged read, write or destructive, so one policy covers the whole app and new actions inherit the right default.

read

5

Look things up. Allowed by default.

  • shortpixel.get_cdn_usage
    Get CDN Usage Statistics
  • shortpixel.get_api_status
    Get API Status
  • shortpixel.get_adaptive_image_cdn
    Get Adaptive Image via CDN
  • shortpixel.read_cdn_domain
    Read CDN Domain Status
  • shortpixel.check_image_status
    Check Image Status

write

5

Create and change things. Allow, or ask the user first.

  • shortpixel.add_cdn_domain
    Add CDN Domain
  • shortpixel.clean_up_image
    Clean Up Image
  • shortpixel.set_cdn_domain
    Set CDN Domain
  • shortpixel.optimize_images_by_url
    Optimize Images by URL
  • shortpixel.upload_and_optimize_images
    Upload and Optimize Images

destructive

2

Delete, cancel or archive. Ask first, or deny outright.

  • shortpixel.revoke_cdn_domain
    Revoke CDN Domain
  • shortpixel.bulk_purge_storage
    Bulk Purge ShortPixel Storage
03 · HOW IT WORKS

Shortpixel in three steps.

  1. 01Your users connect ShortpixelThey add their Shortpixel api key on Arc0 Connect, under your brand. It goes straight into the vault.
  2. 02You set the rulesReads run, writes like “add CDN Domain” can wait for the user, and “revoke CDN Domain” can be denied outright.
  3. 03Any agent can actYour agent calls Shortpixel through the Arc0 SDK or MCP, and so can Claude, ChatGPT and Cursor. Every call lands on the audit log.
POLICY.TS
await arc0.policies.set('shortpixel', {
  read: 'allow',
  write: 'ask',        // add_cdn_domain
  destructive: 'deny',  // revoke_cdn_domain
})

# Claude Code: the same connection, one URL
$ claude mcp add --transport http arc0 \
    https://mcp.arc0.ai/u/u_8f2
04 · AUTH AND DATA

How Shortpixel connects.

Users add their Shortpixel api key on Arc0 Connect. It is encrypted in the vault, never shown to the model, and each user can rotate or revoke it at any time.

The same Shortpixel connection serves your agent over MCP and your own backend over REST and the proxy, so a user connects once. How Arc0 handles credentials →

AUTH
API key
CREDENTIALS
Per-tenant encrypted vault
MODEL SEES
Results only, never credentials
AUDIT LOG
Every call, on every plan
05 · WORKS WITH

Use Shortpixel from any agent.

Claude
ChatGPT
Cursor
Codex
VS Code
OpenAI Agents SDK
Claude Agent SDK
Vercel AI SDK
Mastra
LangGraph
07 · FAQ

Shortpixel and Arc0, answered.

Q01

Can I use Shortpixel with Claude, ChatGPT or Cursor?

Yes. Connect Shortpixel to Arc0 once, then add your Arc0 MCP URL to Claude, ChatGPT, Cursor, Claude Code or any other remote-MCP client. Each assistant only gets the Shortpixel actions you allow.

Q02

How do users connect Shortpixel?

Users add their Shortpixel api key on Arc0 Connect. It is encrypted in the vault, never shown to the model, and each user can rotate or revoke it at any time.

Q03

Which Shortpixel actions can my agent take?

12 in total: 5 read, 5 write and 2 destructive, such as “add CDN Domain”. Your policies decide which of them each agent may call.

Q04

Can I stop my agent from deleting things in Shortpixel?

Yes. Actions like “revoke CDN Domain” are graded destructive. Set destructive actions to deny, or to ask so the user approves each one, and blocked calls still show up on the audit log.

Q05

Can my own backend call Shortpixel too?

Yes. The same Shortpixel connection is available over REST and through the Arc0 proxy, so your product and your agent share one connection per user.

Get started

Plug Shortpixel into your agent.

Your users connect Shortpixel once, under your brand. Your agent gets 12 actions behind your policies, with every call on the record.

Free to build · MCP + REST · Audit log on every plan