ImageKit MCP by usefulapi
Search and read media files; add or remove tags, move, rename and upload files in ImageKit.
사용해야 할까요
품질 및 안전성
발견 사항 (3)
- HIGH
- MEDIUMimagekit_upload_file에서
- LOWimagekit_list_custom_metadata_fields에서
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"imagekit": {
"url": "https://imagekit.usefulapi.io/mcp"
}
}
}원격 엔드포인트
https://imagekit.usefulapi.io/mcpstreamable-http할 수 있는 일
도구 목록
도구 (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.
입력 스키마
{
"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.
입력 스키마
{
"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.
입력 스키마
{
"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=.
입력 스키마
{
"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.
입력 스키마
{
"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.
입력 스키마
{
"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.
입력 스키마
{
"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}.
입력 스키마
{
"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}.
입력 스키마
{
"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.
입력 스키마
{
"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.
입력 스키마
{
"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.
입력 스키마
{
"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.
입력 스키마
{
"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.
입력 스키마
{
"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.
입력 스키마
{
"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"
}커뮤니티
증거