Agent Skills

Upload files to the ImageKit media library via DAM MCP. Use upload_file (interactive picker) for local files; create_upload_signature for a public URL or CLI upload. Never inline file bytes into the conversation.

Install

npx skills add https://github.com/imagekit-developer/skills --skill upload-files
SKILL.md

Upload files

Uploads go through DAM (https://imagekit.io/mcp/dam).

Never put file bytes in the conversation or a tool argument. No base64, data URIs, Buffers, or streams. That burns tokens and fails for large files.

Which tool

Situation Call
User wants to pick a file on their computer, or the client can show MCP Apps upload_file with no parameters. Opens a picker (filename, folder, tags, custom metadata).
User has a public URL, or the client has no picker create_upload_signature, then POST from the user's environment using the returned formFields and curlExample.

If they asked you to write upload code for their app, use search_docs — do not upload to their library unless they asked for that.

create_upload_signature

This tool never receives file contents. The response includes formFields (send these exactly) and curlExample.

POST multipart/form-data from the user's environment:

  • file=@<LOCAL_FILE_PATH> for a file on disk, or
  • file=<PUBLIC_URL> to have ImageKit fetch that URL

plus every formFields entry as returned. Do not add, remove, or re-serialize fields. One signature is one file; call again for each file.

Procedure

  1. Confirm folder, filename, tags, and custom metadata. Fields must already exist (list_custom_metadata_fields).
  2. Call upload_file or create_upload_signature as above.
  3. Confirm the file landed with search_media_library or the upload response.

Notes

  • Folder is a media-library path starting with /, not a local path. Nested folders are created as needed.
  • Free plan limits: 25MB images, 100MB videos. Max 100 versions per file.

Related skills

entra-app-registrationmicrosoft606KGuides Microsoft Entra ID app registration, OAuth 2.0 authentication, and MSAL integration. USE FOR: create app registration, register Azure AD app, configure OAuth, set up authentication, add API permissions, generate service principal, MSAL example, console app auth, Entra ID setup, Azure AD authentication. DO NOT USE FOR: Key Vault secrets (use azure-keyvault-expiration-audit), general Azure resource security guidance.azure-messagingmicrosoft595KTroubleshoot and resolve issues with Azure Messaging SDKs for Event Hubs and Service Bus. Covers connection failures, authentication errors, message processing issues, and SDK configuration problems. WHEN: event hub SDK error, service bus SDK issue, messaging connection failure, AMQP error, event processor host issue, message lock lost, message lock expired, lock renewal, lock renewal batch, send timeout, receiver disconnected, SDK troubleshooting, azure messaging SDK, event hub consumer, servicentra-agent-idmicrosoft328KProvision Microsoft Entra Agent Identity Blueprints, BlueprintPrincipals, and per-instance Agent Identities via Microsoft Graph, and configure OAuth 2.0 token exchange (fmi_path, OBO, cross-tenant) including the Microsoft Entra SDK for AgentID sidecar. USE FOR: Agent Identity Blueprint, BlueprintPrincipal, agent OAuth, fmi_path token exchange, agent OBO, Workload Identity Federation for agents, polyglot agent auth, Microsoft.Identity.Web.AgentIdentities. DO NOT USE FOR: standard Entra app registsupabasesupabase298KUse when doing ANY task involving Supabase. Triggers: Supabase products (Database, Auth, Edge Functions, Realtime, Storage, Vectors, Cron, Queues); client libraries and SSR integrations (supabase-js, @supabase/ssr) in Next.js, React, SvelteKit, Astro, Remix; auth issues (login, logout, sessions, JWT, cookies, getSession, getUser, getClaims, RLS); Supabase CLI or MCP server; schema changes, migrations, declarative schemas, security audits, Postgres extensions (pg_graphql, pg_cron, pg_vector); deb

Search skills and MCP servers

Fuzzy search across 23,137 skills and servers