Skip to main content
Glama
theloniuser

InDesign UXP MCP Server

by theloniuser

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
add_pageB

Add a new page to the document

delete_pageB

Delete a page from the document

duplicate_pageC

Duplicate a page

navigate_to_pageB

Navigate to a specific page

get_page_infoC

Get detailed information about a specific page

move_pageC

Move a page to a different position

set_page_propertiesD

Set properties for a page

adjust_page_layoutC

Adjust page layout with new dimensions and margins

resize_pageC

Resize a page

place_file_on_pageC

Place a file on a page

place_xml_on_pageC

Place XML content on a page

snapshot_page_layoutC

Create a snapshot of the current page layout

delete_page_layout_snapshotB

Delete the layout snapshot for a page

delete_all_page_layout_snapshotsC

Delete all layout snapshots for a page

reframe_pageC

Reframe (resize) a page

create_page_guidesC

Create guides on a page

select_pageD

Select a page

get_page_content_summaryC

Get a summary of content on a page

set_page_backgroundB

Set page background by creating a full-page rectangle with specified color

create_text_frameC

Create a text frame on the specified page (defaults to active page in InDesign UI)

edit_text_frameC

Edit an existing text frame

find_replace_textC

Find and replace text in the document

create_tableB

Create a table on the specified page (defaults to active page in InDesign UI)

populate_tableC

Populate a table with data

place_imageB

Place an image on the specified page (defaults to active page in InDesign UI)

helpA

Get help information about available tools and their usage

create_rectangleB

Create a rectangle on the specified page (defaults to active page in InDesign UI)

create_ellipseA

Create an ellipse on the specified page (defaults to active page in InDesign UI)

create_polygonB

Create a polygon on the specified page (defaults to active page in InDesign UI)

create_object_styleB

Create an object style for consistent formatting

list_object_stylesC

List all object styles in the document

apply_object_styleC

Apply an object style to a page item

get_image_infoC

Get detailed information about an image

create_paragraph_styleC

Create a paragraph style

create_character_styleC

Create a character style

apply_paragraph_styleB

Apply a paragraph style to text

list_stylesC

List all paragraph and character styles

create_color_swatchC

Create a color swatch

list_color_swatchesB

List all color swatches

apply_colorC

Apply color to an object

get_document_infoB

Get information about the active document

create_documentC

Create a new document

open_documentB

Open an existing document

save_documentB

Save the active document

close_documentA

Close the active document. Use saveOptions to control unsaved-changes behavior.

preflight_documentC

Run preflight on the document

zoom_to_pageC

Zoom to fit page in view

data_mergeC

Perform data merge operation

get_document_elementsC

Get all elements in the document

get_document_stylesB

Get all styles in the document

get_document_colorsC

Get all colors and swatches in the document

get_document_preferencesC

Get document preferences and settings

set_document_preferencesC

Set document preferences

get_document_storiesB

Get all stories in the document

find_text_in_documentC

Find text across the entire document

get_document_layersB

Get all layers in the document

organize_document_layersC

Organize and clean up document layers

get_document_hyperlinksB

Get all hyperlinks in the document

create_document_hyperlinkC

Create a hyperlink in the document

get_document_sectionsB

Get all sections in the document

create_document_sectionC

Create a new section in the document

get_document_xml_structureC

Get XML structure of the document

export_document_xmlB

Export document as XML

save_document_to_cloudB

Save document to Adobe Creative Cloud

open_cloud_documentB

Open a document from Adobe Creative Cloud

get_document_grid_settingsB

Get comprehensive grid settings for the document

set_document_grid_settingsC

Set comprehensive grid settings for the document

get_document_layout_preferencesB

Get layout preferences and settings for the document

set_document_layout_preferencesC

Set layout preferences for the document

validate_documentC

Validate document structure and content

cleanup_documentC

Clean up document (remove unused elements)

export_pdfC

Export document to PDF

export_imagesB

Export pages as images

export_epubC

Export document to EPUB

package_documentC

Package document for printing

create_bookB

Create a new InDesign book

open_bookB

Open an existing InDesign book

list_booksA

List all open books in InDesign

add_document_to_bookC

Add a document to a book

synchronize_bookB

Synchronize styles and content across all documents in a book

repaginate_bookC

Repaginate all documents in a book

update_all_cross_referencesC

Update all cross references in a book

update_all_numbersB

Update all numbers (page numbers, chapter numbers, paragraph numbers) in a book

update_chapter_and_paragraph_numbersB

Update chapter and paragraph numbers in a book

export_bookC

Export an entire book to various formats

package_bookB

Package a book for print production

preflight_bookB

Preflight a book and optionally save the report

print_bookC

Print a book

get_book_infoC

Get detailed information about a book

set_book_propertiesC

Set various properties for a book

execute_indesign_codeA

Execute arbitrary JavaScript code in the InDesign UXP context. WARNING: this runs with full InDesign DOM access and can create, modify, or destroy documents. Use only as a last resort when no other tool covers the operation.

view_documentC

View document information and current state

get_session_infoA

Get current session information including page dimensions and active document

clear_sessionA

Clear all session data including page dimensions and document information

get_page_item_infoB

Get detailed information about a specific page item

select_page_itemC

Select a specific page item

move_page_itemC

Move a page item to a new position

resize_page_itemC

Resize a page item

set_page_item_propertiesC

Set properties of a page item

duplicate_page_itemC

Duplicate a page item

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/theloniuser/indesign-uxp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server