mcpField
M
mcp-preflight

mcp-preflight

github.com/imagekit-developerAgent workflows2484 installsUpdated 3w ago
Repository

About mcp-preflight

MCP Preflight is an agent skill that routes ImageKit tasks to the appropriate hosted MCP server and companion skill. It distinguishes media-library work from account administration, documentation searches, and transformation URL building.

Key features

  1. 01Routes tasks to DAM, Admin, or DevTools
  2. 02Maps operations to server tools
  3. 03Identifies when companion skills are needed
  4. 04Separates media, account, and URL tasks
  5. 05Notes separate DAM and Admin connections

Use cases

  1. 01Choosing a server for asset searches or uploads
  2. 02Managing origins and URL endpoints
  3. 03Checking account usage and analytics
  4. 04Looking up ImageKit docs or building transformation URLs

MCP support

It directs agents to ImageKit's hosted DAM, Admin, and DevTools MCP servers based on the task. DAM and Admin require separate connections and ImageKit sign-in; DevTools does not.

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/imagekit-developer/skills --skill mcp-preflight

After installing, type/mcp-preflightin Claude Code to confirm it loaded.

Details

From the project README

MCP Preflight

ImageKit has three hosted MCP servers. Call the one that matches the job.

JobServerThen
Search, upload, organize, tag, share, metadata, collections, path policies, public links, cache purgeDAM (https://imagekit.io/mcp/dam)See skills below when the task is search, upload, sharing, or AI tasks
Origins / external storage (S3, GCS, Azure, web server, …)Admin (https://imagekit.io/mcp/admin)list_origins, create_origin, get_origin, update_origin, delete_origin
URL endpointsAdminlist_url_endpoints, create_url_endpoint, get_url_endpoint, update_url_endpoint, delete_url_endpoint
Account usage totals or usage analyticsAdminget_account_usage, get_account_usage_analytics
"How do I…", API/SDK details, whether a feature existsDevTools search_docsRead the search-docs skill first
Build a transformation URLDevTools transformation_builderRead the transformation-builder skill first
Integrate ImageKit into an app, CMS, or framework—Read imagekit-integrations to pick the SDK/plugin, then search_docs for details

DAM and Admin each need a separate connection and ImageKit sign-in. DevTools does not. If a tool you need is missing, the user has not connected that server (or has not granted that permission).

When a skill actually helps

Most DAM and Admin tools are self-explanatory. Read a companion skill only for the cases below — they have calling conventions that the tool schema does not make obvious.

TaskSkill
Search / filter / list assetssearch-assets — Lucene searchQuery, and you must discover custom metadata fields and tags before guessing
Upload a fileupload-files — picker vs signed upload; never put file bytes in chat
Who can access a file, folder, or collection; grant or revoke accessasset-access-control — file/folder ACL tools are not the same as collection ACL tools
Create or apply AI tagging / metadata / QC workflowsai-tasks — payload shape, vocabularies, and how they attach to saved extensions
Which SDK, plugin, or widget to use for a stackimagekit-integrations — then search_docs for implementation details

Rules

  1. DAM for the media library. Admin for origins, URL endpoints, usage, and usage analytics. Do not search DAM for origins or usage, and do not look for file tools on Admin.
  2. Never inline file bytes (no base64, no paths as file contents). See upload-files.
  3. Filter search on the server with search_media_library. See search-assets.
  4. Use transformation_builder instead of hand-crafting transformation URLs.
  5. Use search_docs before writing ImageKit integration code. Do not rely on training data for method names or parameters. If you need to pick an SDK or plugin first, read imagekit-integrations.

Comments

Markdown supported