Skip to content

Conversation

goncalovf
Copy link

I'm going to start creating MCP tools for InDesign. In my opinion, it would be useful to run UXP commands without having to go through the AI MCP. So, I created this small CLI utility to run UXP functions as if the request had been received from AI.

To Test

  1. Create adb-mcp/cli/data.json with the following content:
{
    "margins": {
        "top": 36,
        "bottom": 36,
        "left": 36,
        "right": 36
    },
    "columns": {
        "count": 1,
        "gutter": 12
    },
    "pageWidth": 11,
    "pageHeight": 8.5,
    "pagesPerDocument": 0,
    "facingPages": false
}
  1. In adb-mcp/cli, run node run.js indesign createDocument path/to/data.json`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant