ImageKit MCP by usefulapi
Search and read media files; add or remove tags, move, rename and upload files in ImageKit.
¿Debería usar esto?
Calidad y seguridad
Hallazgos (3)
- HIGH
- MEDIUMen imagekit_upload_file
- LOWen imagekit_list_custom_metadata_fields
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"imagekit": {
"url": "https://imagekit.usefulapi.io/mcp"
}
}
}Puntos de conexión remotos
https://imagekit.usefulapi.io/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (15)
🟢imagekit_list_files(searchQuery, path, fileType, sort, limit, ...)
List or search files and folders in the media library, with name, path, tags, size, dimensions and URLs. Use searchQuery for filters such as name, tags or path (for example: 'tags IN ["sale"] AND createdAt > "2026-01-01T00:00:00Z"'). ImageKit API: GET /v1/files.
Esquema de entrada
{
"type": "object",
"properties": {
"searchQuery": {
"description": "ImageKit search query, for example 'name = \"shoe.jpg\"' or 'tags IN [\"sale\"]'.",
"type": "string"
},
"path": {
"description": "Only files in this folder path, for example \"/products/\".",
"type": "string"
},
"fileType": {
"description": "Only images or only non-image files.",
"type": "string",
"enum": [
"image",
"non-image"
]
},
"sort": {
"description": "Sort order. DESC_RELEVANCE suits HAS full-text searches.",
"type": "string",
"enum": [
"ASC_ORIGINAL_CREATION_DATE",
"DESC_ORIGINAL_CREATION_DATE",
"DESC_RELEVANCE"
]
},
"limit": {
"description": "Number of results (1-100).",
"type": "integer",
"minimum": 1,
"maximum": 100
},
"skip": {
"description": "Number of results to skip, for paging.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢imagekit_get_file(file_id)
Get one file or folder: name, path, tags, custom metadata, dimensions, size, URL and publication status. ImageKit API: GET /v1/files/{fileId}/details.
Esquema de entrada
{
"type": "object",
"properties": {
"file_id": {
"type": "string",
"minLength": 1,
"description": "The ImageKit fileId (the `fileId` field returned by imagekit_list_files)."
}
},
"required": [
"file_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢imagekit_get_file_metadata(file_id)
Get the EXIF, IPTC, XMP and technical metadata of one uploaded file. ImageKit API: GET /v1/files/{fileId}/metadata.
Esquema de entrada
{
"type": "object",
"properties": {
"file_id": {
"type": "string",
"minLength": 1,
"description": "The ImageKit fileId (the `fileId` field returned by imagekit_list_files)."
}
},
"required": [
"file_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢imagekit_get_metadata_from_url(url)
Read the image metadata of a publicly reachable image URL without uploading it to the media library. ImageKit API: GET /v1/metadata?url=.
Esquema de entrada
{
"type": "object",
"properties": {
"url": {
"type": "string",
"format": "uri",
"description": "Public https URL of the image."
}
},
"required": [
"url"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢imagekit_list_file_versions(file_id)
List the earlier versions of one file. ImageKit API: GET /v1/files/{fileId}/versions.
Esquema de entrada
{
"type": "object",
"properties": {
"file_id": {
"type": "string",
"minLength": 1,
"description": "The ImageKit fileId (the `fileId` field returned by imagekit_list_files)."
}
},
"required": [
"file_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢imagekit_list_custom_metadata_fields
List the custom metadata fields defined for the account, with their types. Use the field names in imagekit_list_files searches. ImageKit API: GET /v1/customMetadataFields.
Esquema de entrada
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢imagekit_get_usage(start_date, end_date)
Get bandwidth, storage, transformation and request usage for a date range. Needs a restricted key with account read access (standard keys do not include account management). ImageKit API: GET /v1/accounts/usage.
Esquema de entrada
{
"type": "object",
"properties": {
"start_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Date as yyyy-mm-dd."
},
"end_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Date as yyyy-mm-dd."
}
},
"required": [
"start_date",
"end_date"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢imagekit_get_bulk_job_status(job_id)
Check a bulk job, such as a folder copy or move, by its jobId. ImageKit API: GET /v1/bulkJobs/{jobId}.
Esquema de entrada
{
"type": "object",
"properties": {
"job_id": {
"type": "string",
"minLength": 1,
"description": "The jobId returned by the bulk job request."
}
},
"required": [
"job_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢imagekit_get_purge_status(request_id)
Check a CDN cache purge request by its requestId. ImageKit API: GET /v1/files/purge/{requestId}.
Esquema de entrada
{
"type": "object",
"properties": {
"request_id": {
"type": "string",
"minLength": 1,
"description": "The requestId returned when the purge was requested."
}
},
"required": [
"request_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴imagekit_upload_file(file, file_name, folder, tags, use_unique_file_name, ...)
Upload an image or file to the media library from a public URL or a base64 string. Creates a new file each call (it does not overwrite by default). Upload host: POST https://upload.imagekit.io/api/v1/files/upload.
Esquema de entrada
{
"type": "object",
"properties": {
"file": {
"type": "string",
"minLength": 1,
"description": "A public https URL of the file, or the file content as a base64 string."
},
"file_name": {
"type": "string",
"minLength": 1,
"description": "File name to store, for example \"shoe.jpg\"."
},
"folder": {
"description": "Folder path to upload into, for example \"/products/\". Created if missing.",
"type": "string"
},
"tags": {
"description": "Tags to add to the new file.",
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
"use_unique_file_name": {
"description": "Add a random suffix so the name is unique.",
"type": "boolean"
},
"is_private_file": {
"description": "Restrict direct delivery to signed URLs.",
"type": "boolean"
}
},
"required": [
"file",
"file_name"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴imagekit_update_file_details(file_id, tags, is_published, include_file_versions)
Replace the tags of one file, or publish or unpublish it. Tags sent here replace the existing tags. ImageKit API: PATCH /v1/files/{fileId}/details.
Esquema de entrada
{
"type": "object",
"properties": {
"file_id": {
"type": "string",
"minLength": 1,
"description": "The ImageKit fileId (the `fileId` field returned by imagekit_list_files)."
},
"tags": {
"description": "New full tag list for the file. Replaces the existing tags.",
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
"is_published": {
"description": "true to publish the file, false to unpublish it.",
"type": "boolean"
},
"include_file_versions": {
"description": "Also apply the publication change to all versions of the file.",
"type": "boolean"
}
},
"required": [
"file_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟡imagekit_add_tags(file_ids, tags)
Add tags to several files at once. Existing tags stay. Adding a tag twice has no extra effect. ImageKit API: POST /v1/files/addTags.
Esquema de entrada
{
"type": "object",
"properties": {
"file_ids": {
"minItems": 1,
"maxItems": 100,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"description": "The ImageKit fileId (the `fileId` field returned by imagekit_list_files)."
},
"description": "fileIds of the files to tag (up to 100)."
},
"tags": {
"minItems": 1,
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"description": "Tag names."
}
},
"required": [
"file_ids",
"tags"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴imagekit_remove_tags(file_ids, tags)
Remove tags from several files at once. Tags that are not present have no effect. ImageKit API: POST /v1/files/removeTags.
Esquema de entrada
{
"type": "object",
"properties": {
"file_ids": {
"minItems": 1,
"maxItems": 100,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"description": "The ImageKit fileId (the `fileId` field returned by imagekit_list_files)."
},
"description": "fileIds of the files to untag (up to 100)."
},
"tags": {
"minItems": 1,
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"description": "Tag names."
}
},
"required": [
"file_ids",
"tags"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴imagekit_move_file(source_file_path, destination_path)
Move one file to another folder. The file path changes, so existing links to the old path stop working. ImageKit API: POST /v1/files/move.
Esquema de entrada
{
"type": "object",
"properties": {
"source_file_path": {
"type": "string",
"minLength": 1,
"description": "Full path of the file in the media library, for example \"/products/shoe.jpg\"."
},
"destination_path": {
"type": "string",
"minLength": 1,
"description": "Folder path in the media library, for example \"/products/\"."
}
},
"required": [
"source_file_path",
"destination_path"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴imagekit_rename_file(file_path, new_file_name, purge_cache)
Rename one file. The file path changes, so existing links to the old name stop working. ImageKit API: PUT /v1/files/rename.
Esquema de entrada
{
"type": "object",
"properties": {
"file_path": {
"type": "string",
"minLength": 1,
"description": "Full path of the file in the media library, for example \"/products/shoe.jpg\"."
},
"new_file_name": {
"type": "string",
"minLength": 1,
"description": "New file name only, for example \"shoe-v2.jpg\"."
},
"purge_cache": {
"description": "Also purge the CDN cache for the old URL.",
"type": "boolean"
}
},
"required": [
"file_path",
"new_file_name"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Comunidad
Evidencia