Iconik-MCP-Server
غير مُحقق
Version
1.0.0
Author
Date
Mar 07, 2026
Overview
MCP server for Iconik media asset management API. Requires external JSON config file 'iconik-config.json' for multi-profile support, which can be placed in the current directory, home directory, or package directory. Alternatively, environment variables can be used for single profile configuration.
Features
- 45+ MCP Tools - Comprehensive coverage of the Iconik API
- Multi-Profile Support - Manage multiple Iconik domains/accounts
- Standalone Scripts - CLI tools for common bulk operations
- Dry Run Mode - Safely preview destructive operations
Installation
Shell
# Clone the repository
git clone https://github.com/postforward/Iconik-MCP-Server.git
cd Iconik-MCP-Server
# Install dependencies
npm install
# Build
npm run build
Configuration
Option 1: Config File (Recommended for Multiple Profiles)
Create iconik-config.json in the project directory:
JSON
{
"default_profile": "production",
"profiles": {
"production": {
"name": "Production Domain",
"app_id": "your-app-id",
"auth_token": "your-auth-token"
},
"staging": {
"name": "Staging Domain",
"app_id": "your-staging-app-id",
"auth_token": "your-staging-auth-token",
"api_url": "https://preview.iconik.cloud/API/"
}
}
}
The config file is searched in these locations:
- Current working directory:
./iconik-config.json - Home directory:
~/.iconik-config.json - Package directory
Option 2: Environment Variables
For a single profile, use environment variables:
Shell
export ICONIK_APP_ID=your-app-id
export ICONIK_AUTH_TOKEN=your-auth-token
export ICONIK_API_URL=https://app.iconik.io/API/ # Optional
Or create a .env file:
Plaintext
ICONIK_APP_ID=your-app-id
ICONIK_AUTH_TOKEN=your-auth-token
Usage with Claude Desktop
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
JSON
{
"mcpServers": {
"iconik": {
"command": "node",
"args": ["/path/to/Iconik-MCP-Server/dist/index.js"],
"env": {
"ICONIK_APP_ID": "your-app-id",
"ICONIK_AUTH_TOKEN": "your-auth-token"
}
}
}
}
Then restart Claude Desktop.
MCP Tools
The server provides tools organized by category:
Assets
search_assets- Search for assets with filtersget_asset- Get asset detailscreate_asset- Create a new assetupdate_asset- Update asset propertiesdelete_asset- Delete an assetget_asset_proxies- List proxy filesdelete_proxies_by_collection- Bulk delete proxies
Collections
list_collections- List all collectionsget_collection- Get collection detailscreate_collection- Create a collectionget_collection_contents- List collection contentsadd_to_collection- Add assets to collection
Metadata
get_asset_metadata- Get asset metadataupdate_asset_metadata- Update metadata valueslist_metadata_views- List available viewsget_metadata_view- Get view schema
Files & Storage
list_storages- List storage locationsget_asset_files- List asset filescreate_file- Create file record
Jobs & Transcoding
list_jobs- List transcoding jobsget_job- Get job statuscreate_transcode_job- Start transcode
Users & Shares
list_users- List userslist_shares- List shared linkscreate_share- Create share link
Standalone Scripts
Run scripts directly for bulk operations:
Smart Search
Shell
npx ts-node scripts/smart-search.ts search "interview" --type=video --transcripts
npx ts-node scripts/smart-search.ts export "*" ./all-assets.csv --limit=500
npx ts-node scripts/smart-search.ts recent --limit=10 --profile=staging
Delete Proxies
Shell
# Dry run (preview)
npx ts-node scripts/delete-proxies.ts collection <collection_id>
# Actually delete
npx ts-node scripts/delete-proxies.ts collection <collection_id> --live
# Use specific profile
npx ts-node scripts/delete-proxies.ts collection <id> --profile=production --live
Storage Audit
Shell
npx ts-node scripts/storage-audit.ts
npx ts-node scripts/storage-audit.ts --profile=production
Archive Health Report
Shell
npx ts-node scripts/archive-health-report.ts
Bulk Metadata Update
Shell
# List available metadata views
npx ts-node scripts/metadata-bulk-update.ts list-views
# Update by collection (dry run)
npx ts-node scripts/metadata-bulk-update.ts collection <collection_id> <view_id> '{"field":"value"}'
# Update from CSV
npx ts-node scripts/metadata-bulk-update.ts csv ./updates.csv <view_id> --live
Getting Your Iconik Credentials
- Log in to your Iconik domain
- Go to Admin → Settings → Applications
- Create a new application or use an existing one
- Copy the App ID and generate an Auth Token
API Reference
This MCP server wraps the Iconik API. See their documentation for detailed endpoint information.
License
ISC
Contributing
Contributions welcome! Please open an issue or PR.