IndiaDigital
v1.1.0Free India tools for AI agents: tax, GST, salary, savings, due dates, gold, currency, video links.
Let your own AI agent edit videos in the free IndiaDigital video editor. It works with the subscription you already have: Claude Code, Claude Desktop, Cursor, VS Code, Windsurf, Gemini CLI or Codex. No API key is needed. Your footage stays on your computer, and the editor runs in your browser. 1. Open https://indiadigital.org/video/editor/ and go to Director → Agents → Connect. 2. The tab shows a one-time code such as K7Q-2MX. Tell your agent: *"Pair the IndiaDigital editor with code K7Q-2MX"*. In serve mode you can type the code in the terminal instead. 3.
Summary extracted from the README.
indiadigital-video-mcp
Let your own AI agent edit videos in the free IndiaDigital video editor. It works with the subscription you already have: Claude Code, Claude Desktop, Cursor, VS Code, Windsurf, Gemini CLI or Codex. No API key is needed. Your footage stays on your computer, and the editor runs in your browser.
agent (MCP client) ──stdio──▶ indiadigital-video-mcp ──ws://127.0.0.1:47821──▶ editor tab (your browser)
editor tab "Agent (ACP)" chat ──▶ bridge ──stdio (ACP)──▶ claude-agent-acp / gemini --acp / codex-acp
└─ the agent gets this bridge as its MCP server
Requires Node.js 18.17 or later.
Set up your agent
Claude Code
claude mcp add indiadigital-video -- npx -y indiadigital-video-mcp
Claude Desktop: Settings → Developer → Edit config (claude_desktop_config.json)
{ "mcpServers": { "indiadigital-video": { "command": "npx", "args": ["-y", "indiadigital-video-mcp"] } } }
Cursor (.cursor/mcp.json) and Windsurf (~/.codeium/windsurf/mcp_config.json)
{ "mcpServers": { "indiadigital-video": { "command": "npx", "args": ["-y", "indiadigital-video-mcp"] } } }
VS Code (.vscode/mcp.json)
{ "servers": { "indiadigital-video": { "type": "stdio", "command": "npx", "args": ["-y", "indiadigital-video-mcp"] } } }
Gemini CLI (~/.gemini/settings.json)
{ "mcpServers": { "indiadigital-video": { "command": "npx", "args": ["-y", "indiadigital-video-mcp"] } } }
Chat with an agent inside the editor (ACP)
npx -y indiadigital-video-mcp serve --agent claude --agent gemini --agent codex
- Claude Code: the bridge runs
npx -y @agentclientprotocol/claude-agent-acp. Sign in once withclaude. - Gemini CLI: install
@google/gemini-cliand sign in. The bridge runsgemini --acp. - Codex: the bridge runs
npx -y @agentclientprotocol/codex-acp. Sign in to Codex first. - Any other ACP agent:
--agent-cmd myagent="node ./agent.mjs --acp".
Connect the editor
- Open https://indiadigital.org/video/editor/ and go to Director → Agents → Connect.
- The tab shows a one-time code such as
K7Q-2MX. Tell your agent: "Pair the IndiaDigital editor with code K7Q-2MX". Inservemode you can type the code in the terminal instead. - Ask for the video, for example: "Import ~/Videos/Before and ~/Videos/After and make a 25-second before/after reel."
Tools
- Editor tools (run in the tab):
get_project,get_brief,set_brief,set_asset;analyse_media,get_shot_list,get_contact_sheet(an image);list_styles,apply_style_template;get_edit_plan,apply_edit_plan,refine_plan;render_preview_sheet(an image);export.
- Bridge tools:
pair_editor,editor_status,import_media. - Resources:
indiadigital://video/edit-plan-schema.jsonandindiadigital://video/guide.md. - Prompt:
direct_video(analyse → plan → preview sheet → critique → revise → export).
Security
- Localhost only. The bridge listens on
127.0.0.1and rejects requests whoseHostheader isn't127.0.0.1:<port>orlocalhost:<port>, which blocks DNS rebinding. - Origin allowlist. The editor socket accepts only
https://indiadigital.org,https://www.indiadigital.organd local development origins (http://localhost:*,http://127.0.0.1:*), plus any you add with--allow-origin. - Pairing token.
- The tab shows a one-time code, and the bridge must present it.
- Wrong codes are limited across all connections and processes. After 5, the tab shows a new code (the old one stops working) and pairing locks for 5 minutes, doubling with each repeat lockout up to 1 hour.
- The count is saved in
~/.indiadigital-video/pairing.json, so restarting the bridge does not reset it. The tab keeps its own saved limit as well. - After that, both sides keep a random 256-bit device token: the bridge in
~/.indiadigital-video/devices.json, the browser in localStorage. Forget pairing in the tab revokes it.
- Relays. MCP processes started by ACP agents connect at
/relaywith a secret from~/.indiadigital-video/hub.json, written with mode 0600. - User confirmation. Imports from disk and exports to disk are confirmed by the user in the tab.
- Where exports may be saved.
- Only
.mp4,.webmor.gif, matching the export format. - Only inside your Downloads and Videos folders, the folder the bridge runs in (unless that is a system folder or your home folder), or folders you allow with
--save-dir <folder>. - Never into system, program, app-settings or startup folders, or hidden (dot) files or folders. Links and
..are resolved before checking. - An existing file is replaced only if you choose Replace in the editor; an agent cannot do that by itself.
- Only
- Long calls survive a dropped connection. If the tab disconnects mid-call (a busy page, a bridge restart), the work continues in the tab and the result is delivered when it reconnects, within 90 s. Calls the tab can no longer finish (the page was reloaded) fail at once with a clear message.
- No commands from the page. ACP agent commands come only from your command line; the web page can choose an agent by name, never run a command.
- Your data. Video files never leave your computer. Your agent sees tool results (project facts, shot statistics, contact-sheet images), and its provider handles them under your account. IndiaDigital's servers receive nothing.
Develop
npm install
npm test # protocol unit tests + integration: real MCP client over stdio, mock editor tab, scripted ACP agent
Licence
MIT. Dependencies:
@modelcontextprotocol/sdk(MIT);ws(MIT).
ACP is implemented directly from the spec at https://agentclientprotocol.com (JSON-RPC over stdio), so there is no ACP SDK dependency. The ACP adapters it launches are installed by you and are not bundled.