Back to Browse

Kanto Labs MCP Server

Developer ToolsModerate5.4MCP RegistryLocal
Free

Server data from the Official MCP Registry

Video frames, LLM context, scenes, slides, video OCR, upscaling, Douyin transcripts, 1688 search.

About

Video frames, LLM context, scenes, slides, video OCR, upscaling, Douyin transcripts, 1688 search.

Security Report

5.4
Moderate5.4Moderate Risk

This is a clean, well-structured MCP server that wraps Kanto Labs' Apify actors, sends requests only to api.apify.com with the user's own token, and enforces per-call spending caps. Its network and env var access match its purpose, and the findings are limited to minor items such as the truncated test file and a few low-severity quality notes that do not materially affect the score. Supply chain analysis found 6 known vulnerabilities in dependencies (0 critical, 4 high severity).

8 files analyzed · 11 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

HTTP Network Access

Connects to external APIs or services over the internet.

env_vars

Check that this permission is expected for this type of plugin.

What You'll Need

Set these up before or after installing:

Your Apify API token (console.apify.com/settings/integrations). Actor runs are billed to this account.Required

Environment variable: APIFY_TOKEN

Default spending cap per tool call in USD, enforced by Apify (default 1.00).Optional

Environment variable: KANTO_MAX_CHARGE_USD

How to Install

Install command not verified. See the repository for install instructions.

View repository

Documentation

View on GitHub

From the project's GitHub README.

Kanto Labs MCP server

An MCP server that gives AI assistants (Claude, Cursor, VS Code Copilot and any other MCP client) 8 video and image tools, backed by Kanto Labs' actors on the Apify Store:

ToolWhat it doesPrice
extract_video_framesExtract scene-change or evenly spaced frames from video files, with public image links, timestamps and a free contact sheet.$0.002 per frame
video_to_llm_contextTurn a video file into AI-readable context: scene list, one keyframe per scene, Whisper transcript per scene and a ready-to-paste text block.$0.002 per keyframe + $0.008 per audio minute
detect_video_scenesDetect every shot in a video file: cut, dissolve and fade timecodes, keyframes, a shot sheet and CSV/JSON/EDL files, optional clips.$0.018 per video minute (+ $0.002 per clip with splitClips)
upscale_imageUpscale images 2x or 4x with Real-ESRGAN (photo or anime model), transparency kept, with public download links.$0.01 per image ($0.06 per large image with allowLargeImages)
video_to_slidesExtract every unique slide from lecture, webinar and screen-recording files as images with timestamps, slide text (OCR) and one PDF.$0.004 per slide + $0.001 per video minute
video_ocrExtract on-screen text from video files (burned-in subtitles, captions, hook text, lower-thirds, slide text) as timed segments with a transcript and SRT/VTT.$0.002 per frame with text
transcribe_douyin_videosTranscribe public Douyin (抖音) videos to punctuated Chinese text with timed segments, SRT/VTT subtitles and video metadata.$0.004 per transcript + $0.003 per extra minute
search_1688_productsSearch 1688.com (China wholesale) by keyword, photo or link: CNY/USD prices, MOQ, price tiers, SKUs and supplier badges.$0.0009 per product + $0.001 per product page + $0.0005 per image match

Failed or unreachable inputs are not charged.

How billing works

The server is free and open source (MIT). Each tool call runs the matching actor on Apify with your own Apify API token, so the actor's pay-per-event price is billed to your Apify account (Apify's free plan includes monthly credit). There is no Kanto Labs account, key or subscription.

Every call carries a spending cap: maxTotalChargeUsd (default $1.00, change it with the KANTO_MAX_CHARGE_USD env var or per call). Apify stops the run once it has charged that much, so an assistant cannot run up a large bill by accident. Each result states what the call cost.

Setup

  1. Get an Apify API token: sign up at apify.com, then Settings -> API & Integrations (console.apify.com/settings/integrations).
  2. Add the server to your client (Node.js 18.17+ required; npx downloads and builds it from GitHub on first run).

Claude Desktop

Edit claude_desktop_config.json (Settings -> Developer -> Edit Config):

{
  "mcpServers": {
    "kanto-labs": {
      "command": "npx",
      "args": ["-y", "github:kanto-labs/kanto-labs-mcp"],
      "env": { "APIFY_TOKEN": "apify_api_your_token_here" }
    }
  }
}

Or install the one-click bundle kanto-labs-mcp.mcpb from the Releases page: double-click it and paste your token when asked.

Claude Code

claude mcp add kanto-labs -e APIFY_TOKEN=apify_api_your_token_here -- npx -y github:kanto-labs/kanto-labs-mcp

Cursor

~/.cursor/mcp.json (global) or .cursor/mcp.json (project):

{
  "mcpServers": {
    "kanto-labs": {
      "command": "npx",
      "args": ["-y", "github:kanto-labs/kanto-labs-mcp"],
      "env": { "APIFY_TOKEN": "apify_api_your_token_here" }
    }
  }
}

VS Code (GitHub Copilot agent mode)

.vscode/mcp.json - the token is asked for once and stored securely:

{
  "inputs": [
    { "type": "promptString", "id": "apify_token", "description": "Apify API token", "password": true }
  ],
  "servers": {
    "kanto-labs": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "github:kanto-labs/kanto-labs-mcp"],
      "env": { "APIFY_TOKEN": "${input:apify_token}" }
    }
  }
}

Windsurf, Cline, Zed and others

Any client that launches stdio servers works: command npx, args -y github:kanto-labs/kanto-labs-mcp, env APIFY_TOKEN.

Windows: if your client reports spawn npx ENOENT, use "command": "cmd" with "args": ["/c", "npx", "-y", "github:kanto-labs/kanto-labs-mcp"].

Example prompts

Tool parameters

All tools also accept:

ParameterMeaning
maxTotalChargeUsdSpending cap for this call in USD (default KANTO_MAX_CHARGE_USD, else 1.00).
timeoutSecsGive up after this many seconds (10-300, default 280). Apify's synchronous runs are limited to 300 s, so split big batches.

extract_video_frames: videoUrls (required), mode (auto/scenes/count/interval), frameCount, intervalSeconds, maxFramesPerVideo, sceneThreshold (0.15/0.2/0.3/0.4/0.5), imageFormat (jpg/png/webp), maxWidth, contactSheet. video_to_llm_context: videoUrls (required), maxKeyframes, transcribe, language, sceneThreshold (0.15/0.2/0.3/0.4/0.5), gridImage, includeImageUrlsInContext, keyframeMaxWidth, imageFormat (jpg/png/webp), maxDurationMinutes. detect_video_scenes: videoUrls (required), threshold, minShotSeconds, detectDissolves, keyframes, shotSheetImage, splitClips, maxClips, maxDurationMinutes. upscale_image: imageUrls (required), scale (4/2), model (general/anime), outputFormat (jpeg/png/webp), quality, allowLargeImages. video_to_slides: videoUrls (required), sensitivity (low/medium/high), minSlideSeconds, ocr, ocrLanguage (en/latin/cyrillic/korean/arabic/devanagari/greek/thai), outputPdf, contactSheet, imageFormat (jpg/png/webp), maxWidth, maxSlidesPerVideo, maxVideoMinutes. video_ocr: videoUrls (default [] here), frameUrls, datasetId, sampleIntervalSeconds, ocrLanguage (en/latin/cyrillic/korean/arabic/devanagari/greek/thai), textRegion (full/bottom/top), minConfidence, minTextLength, maxFramesPerVideo, maxVideoMinutes. transcribe_douyin_videos: videoUrls (default [] here), collectionUrls, maxVideosPerSource, maxVideoMinutes. search_1688_products: keywords, productUrls, imageUrls, maxResultsPerImage, maxItemsPerKeyword (default 20 here), includeDetails, sortBy (relevance/sales/priceAsc/priceDesc), minPrice, maxPrice, province, supplierType (any/manufacturer/factoryVerified/superFactory), excludeAds.

Each call returns two text blocks: a short human-readable summary (results, failures, cost) and compact JSON with every result item (empty fields dropped, very long text truncated at KANTO_MAX_TEXT_CHARS).

Environment variables

VariableDefaultPurpose
APIFY_TOKEN- (required)Your Apify API token. APIFY_API_TOKEN is accepted too.
KANTO_MAX_CHARGE_USD1.00Default spending cap per call.
KANTO_TIMEOUT_SECS280Default timeout per call (max 300).
KANTO_MAX_TEXT_CHARS100000Truncate any single text field (e.g. a long transcript) beyond this.
KANTO_ACTORS_CONFIGbundled filePath to an alternative actors.config.json.

Adding actors

Tools are generated from actors.config.json: the Apify actor ID, the tool description, typed parameters, price (with optional per-result price rules, a per-result charge count for actors that bill several events per row, and extra charge events such as audio minutes or clips), input defaults, and a one-line summary template. Adding an actor is a config entry, no code. comingSoon: true marks an actor that is not public on the Apify Store yet (the tool is listed with a notice and a 404 is explained); fixedInput pins actor input for a tool (one actor can back several tools). npm run build regenerates the tool table above and manifest.json from the config.

Development

npm install
npm run build
npm test                                   # offline: lists tools, checks the missing-token error
APIFY_TOKEN=... npm run test:live          # one tiny real call per tool (about $0.05)
npx @modelcontextprotocol/inspector node dist/index.js   # interactive inspector
npm run bundle                             # builds build/kanto-labs-mcp.mcpb

Privacy

The server runs on your machine and talks only to api.apify.com. The URLs you pass are processed by the actors on Apify; see each actor's page on the Apify Store. Your token is sent only to Apify and is never logged.

License

MIT - see LICENSE.

Reviews

No reviews yet

Be the first to review this server!