Iconik MCP Server

Iconik MCP Server

Enables AI assistants to interact with your Iconik media asset management library, providing 143 MCP tools for search, metadata, collections, and more.

Category
访问服务器

README

Iconik-MCP-Server

A Model Context Protocol (MCP) server for the Iconik media asset management API. This enables AI assistants like Claude to interact with your Iconik media library.

Features

  • 143 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

# 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:

{
  "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:

  1. Current working directory: ./iconik-config.json
  2. Home directory: ~/.iconik-config.json
  3. Package directory

Option 2: Environment Variables

For a single profile, use environment variables:

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:

ICONIK_APP_ID=your-app-id
ICONIK_AUTH_TOKEN=your-auth-token

Running

Stdio (default)

For local use with Claude Code, Cursor, Claude Desktop, and other MCP clients:

node dist/index.js

HTTP

For remote or containerized deployment via Streamable HTTP:

MCP_TRANSPORT=http node dist/index.js

Endpoints:

  • POST /mcp — MCP protocol (new session or existing via mcp-session-id header)
  • GET /mcp — SSE stream for existing session
  • DELETE /mcp — Close session
  • GET /health — Health check

Access Levels

MCP_ACCESS_LEVEL controls which tools are registered at startup. Defaults to read for safety.

Level Tools Count
read list, get, search, check 85
readwrite read + create, update, bulk 126
full readwrite + delete, purge 143
# Read-only (default)
node dist/index.js

# Read + write
MCP_ACCESS_LEVEL=readwrite node dist/index.js

# Full access
MCP_ACCESS_LEVEL=full node dist/index.js

Docker

# Build and run (read-only by default)
docker compose up --build

# With write access
MCP_ACCESS_LEVEL=readwrite docker compose up --build

# Full access
MCP_ACCESS_LEVEL=full docker compose up --build

Environment variables:

  • ICONIK_APP_ID (required)
  • ICONIK_AUTH_TOKEN (required)
  • MCP_ACCESS_LEVEL (default read)
  • MCP_PORT (default 8000)

Usage with Claude Desktop

Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{
  "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",
        "MCP_ACCESS_LEVEL": "readwrite"
      }
    }
  }
}

Then restart Claude Desktop.

MCP Tools

The server provides tools organized by category:

Assets

  • search_assets - Search for assets with filters
  • get_asset - Get asset details
  • create_asset - Create a new asset
  • update_asset - Update asset properties
  • delete_asset - Delete an asset
  • get_asset_proxies - List proxy files
  • delete_proxies_by_collection - Bulk delete proxies
  • And 30+ more asset tools...

Collections

  • list_collections - List all collections
  • get_collection - Get collection details
  • create_collection - Create a collection
  • get_collection_contents - List collection contents
  • add_to_collection - Add assets to collection

Metadata

  • get_asset_metadata - Get asset metadata
  • update_asset_metadata - Update metadata values
  • list_metadata_views - List available views
  • get_metadata_view - Get view schema

Files & Storage

  • list_storages - List storage locations
  • get_asset_files - List asset files
  • create_file - Create file record

Jobs & Transcoding

  • list_jobs - List transcoding jobs
  • get_job - Get job status
  • create_transcode_job - Start transcode

Users & Shares

  • list_users - List users
  • list_shares - List shared links
  • create_share - Create share link

Standalone Scripts

Run scripts directly for bulk operations:

Smart Search

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

# 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

npx ts-node scripts/storage-audit.ts
npx ts-node scripts/storage-audit.ts --profile=production

Archive Health Report

npx ts-node scripts/archive-health-report.ts

Bulk Metadata Update

# 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

  1. Log in to your Iconik domain
  2. Go to AdminSettingsApplications
  3. Create a new application or use an existing one
  4. 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.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选