ImageKit MCP by usefulapi
Search and read media files; add or remove tags, move, rename and upload files in ImageKit.
Sollte ich dies verwenden
Qualität und Sicherheit
Befunde (3)
- HIGH
- MEDIUMin imagekit_upload_file
- LOWin imagekit_list_custom_metadata_fields
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"imagekit": {
"url": "https://imagekit.usefulapi.io/mcp"
}
}
}Remote-Endpunkte
https://imagekit.usefulapi.io/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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=.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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}.
Eingabe-Schema
{
"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}.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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"
}Community
Nachweis