How mikechambers/adb-mcp works
adb-mcp lets an MCP-compatible AI client issue commands to Adobe applications. Application-specific Python MCP servers expose the tools and use shared command and socket-client code; a Node proxy bridges them to plugins because UXP plugins connect as socket clients. Plugins route commands into app-specific operations and return results. The README documents the broad bridge and supported applications; sampled source confirms several UXP routing paths, but not every MCP tool-to-command mapping or the CEP internals.
Main entry points: core.py Command core · proxy.js Command proxy · ps/main.js Photoshop plugin · pr/main.js Premiere plugin
Components 23
MCP command servers
- Photoshop MCP
mcp/ps-mcp.py - Premiere MCP
mcp/pr-mcp.py - InDesign MCP
mcp/id-mcp.py - After Effects MCP
mcp/ae-mcp.py - Illustrator MCP
mcp/ai-mcp.py - Photoshop batch
mcp/ps-batch-play.py
Socket bridge
- Command proxy
adb-proxy-socket/proxy.js
UXP plugins
- Photoshop plugin
uxp/ps/main.js - Photoshop commands
uxp/ps/commands/layers.js - Premiere plugin
uxp/pr/main.js - Premiere commands
uxp/pr/commands/core.js - InDesign plugin
uxp/id/main.js - InDesign commands
uxp/id/commands/index.js
CEP plugins
- After Effects plugin
cep/com.mikechambers.ae/main.js - After Effects actions
cep/com.mikechambers.ae/commands.js - Illustrator plugin
cep/com.mikechambers.ai/main.js - Illustrator actions
cep/com.mikechambers.ai/commands.js
Shared MCP support
- Command core
mcp/core.py - Socket client
mcp/socket_client.py - Font utilities
mcp/fonts.py - Logger
mcp/logger.py
Other components
- AI client
- Adobe applications
Connections 26
- AI client → Photoshop MCP: requests tools
- AI client → Premiere MCP: requests tools
- Photoshop MCP → Command core: uses commands
mcp/ps-mcp.py - Premiere MCP → Command core: uses commands
mcp/pr-mcp.py - InDesign MCP → Command core: uses commands
mcp/id-mcp.py - After Effects MCP → Command core: uses commands
mcp/ae-mcp.py - Illustrator MCP → Command core: uses commands
mcp/ai-mcp.py - Photoshop batch → Command core: uses commands
mcp/ps-batch-play.py - Command core → Socket client: sends commands
mcp/core.py - Socket client → Command proxy: sends packets
- Command proxy → Photoshop plugin: routes packets
- Command proxy → Premiere plugin: routes packets
- Command proxy → InDesign plugin: routes packets
- Command proxy → After Effects plugin: routes packets
- Command proxy → Illustrator plugin: routes packets
- Photoshop plugin → Photoshop commands: routes commands
uxp/ps/main.js - Premiere plugin → Premiere commands: routes commands
uxp/pr/main.js - InDesign plugin → InDesign commands: routes commands
uxp/id/main.js - After Effects plugin → After Effects actions: dispatches actions
- Illustrator plugin → Illustrator actions: dispatches actions
- Photoshop plugin → Adobe applications: controls app
- Premiere plugin → Adobe applications: controls app
- InDesign plugin → Adobe applications: controls app
- After Effects plugin → Adobe applications: controls app
- Illustrator plugin → Adobe applications: controls app
- Socket client → Logger: logs events
mcp/socket_client.py