Skip to main content
Glama
InDesign MCP

InDesign MCP

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
INDESIGN_LAUNCH_IF_NEEDEDNoSet to true to have the bridge activate InDesign through COM when it cannot find an active COM object, which can start InDesign when a tool is first called. Leave the setting out to connect only to an already active COM object.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
indesign_create_layoutB

Tek bir çağrıda en fazla 20 sayfalı tasarım oluşturur; renkli arka planlar, dikdörtgen/oval şekiller, biçimlendirilmiş metin ve yerel görseller ekler; yeni .indd dosyasına kaydeder ve isteğe bağlı PDF dışa aktarır.

indesign_statusA

Açık InDesign uygulamasının sürümünü ve açık belgelerini gösterir. Yalnızca zaten çalışan InDesign'a bağlanır.

indesign_uxp_statusB

Reports whether the opt-in local UXP bridge is configured, listening, and connected to a loaded InDesign panel, then reads active-document metadata through UXP when the panel is online. This tool does not use COM or launch InDesign.

indesign_uxp_inspect_documentA

Reads document metadata, pages, and text-frame metadata (including locked and overflow states) through the loaded UXP panel. Omitting document_id inspects the active document. Returns DOM IDs for explicit later frame operations.

indesign_uxp_read_text_frameA

Reads the text in one explicitly identified text frame through UXP. Use IDs returned by indesign_uxp_inspect_document; text is capped at 50,000 characters and may be marked truncated.

indesign_uxp_set_text_frameA

Replaces the entire contents of one explicitly identified text frame through UXP. The frame must not be locked; this modifies the document and can affect its saved state. Use IDs returned by inspection. After a timeout, the panel may still have completed the write; inspect the frame before retrying and do not retry blindly.

indesign_uxp_create_text_frameA

Creates a text frame on one explicitly identified page in one explicitly identified document through UXP. Coordinates are passed directly as point-valued [top, left, bottom, right] bounds and use InDesign's current ruler zero point; verify placement in InDesign because this UXP path has not been host-verified. After a timeout, the frame may still have been created; inspect before retrying and do not retry blindly.

indesign_uxp_list_paragraph_stylesA

Lists paragraph styles in one explicitly identified document, including their group paths and numeric IDs. Use this before applying a style. Read-only and may return a truncated catalog.

indesign_uxp_apply_paragraph_styleA

Applies one paragraph style from the explicitly identified document to all paragraphs in an explicitly identified text frame, or to one zero-based paragraph when paragraph_index is supplied. Formatting overrides are preserved. This changes the document. After a timeout, the style may still have been applied; inspect before retrying and do not retry blindly.

indesign_run_trusted_scriptA

Run one user-approved .jsx file beneath INDESIGN_TRUSTED_SCRIPT_DIR. Only relative paths are accepted. This executes trusted local InDesign code, which can change documents, files, and preferences; it never starts a new InDesign instance. Call only after the user explicitly approves the specific script.

indesign_open_documentB

Verilen tam yoldaki InDesign belgesini açar. Belge InDesign oturumunda görünür hale gelir.

indesign_create_documentB

Yeni, kaydedilmemiş bir InDesign belgesi oluşturur ve etkinleştirir. Ölçüler punto cinsindendir; 612 × 792 punto Letter boyutudur.

indesign_add_text_frameB

Etkin belgeye seçilen sayfada bir metin çerçevesi ekler. Koordinatlar sayfanın sol üst köşesine göredir ve punto cinsindendir.

indesign_save_active_documentA

Etkin InDesign belgesini kaydeder. Yeni bir kayıt yolu verilebilir; var olan başka bir dosyanın üzerine yazılmaz.

indesign_export_pdfA

Etkin belgeyi veya belge listesindeki numarayla belirtilen belgeyi PDF olarak dışa aktarır. Var olan dosyanın üzerine yazmak için overwrite=true gerekir.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.6/5.0

Scored across 15 tools

Disambiguation3/5

Two parallel transports (COM/classic vs UXP bridge) create genuinely overlapping tools: indesign_add_text_frame vs indesign_uxp_create_text_frame do the same job, and indesign_status vs indesign_uxp_status both report state. The descriptions do explain prerequisites and warn about unverified UXP paths, so an agent can choose, but indesign_create_layout also subsumes indesign_create_document + text/shape insertion, leaving boundary decisions to the reader.

Naming Consistency4/5

All tools share the indesign_ prefix and snake_case verb_noun structure, with a consistent uxp_ infix marking the bridge-based variants. Minor deviations exist where the same operation uses different verbs (add_text_frame vs uxp_create_text_frame) and where a composite tool is named create_layout rather than create_document.

Tool Count4/5

15 tools is within a reasonable range for a document-automation server and each maps to a recognizable operation. The count is somewhat inflated by the duplicated COM/UXP pairs (status, text-frame creation, inspection), which could be consolidated into transport-parameterized tools.

Completeness4/5

The core lifecycle is covered: create document/layout, open, inspect, add/read/replace text frames, list/apply paragraph styles, save, and export PDF, plus a trusted-script escape hatch. Gaps remain for item-level deletion (frames, pages), adding shapes or images to an existing document outside create_layout, and closing documents.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues