Productivity & Projects

Lucid MCP

Lucid MCP lets agents search, retrieve, summarize, share, export, and create authorized Lucid documents, diagrams, mind maps, sequence diagrams, and org charts.

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • Lucid export document as png

    Exports a Lucid document page as a PNG image. To crop the image, pass a bounding_box whose x, y, w, and h fields correspond directly to BoundingBox values returned by lucid_fetch. The box can describe one shape or a larger region containing multiple shapes.

  • Lucid fetch item image

    Fetches the source image attached to a specific item in a Lucid document.

  • Lucid get document metadata

    Get metadata for a Lucid document. The requesting user must have at least read-only access to the document. Owner information is returned for unpublished documents when the requesting user has view access. For published documents, viewers receive account-level owner information; the individual user owner's ID is returned only when the requesting user is at least a collaborator. Args: document_id: UUID of the document to retrieve. Returns: JSON string containing the document's metadata, access details, location, classification, and owner information when authorized. Example: lucid_get_document_metadata( document_id="8fb1756d-d7f1-4f8c-933a-40e30fa5d102", )

  • Lucid import integration cards

    Import records from a third-party integration as linked cards. You MUST call `lucid_list_integrations` first to obtain `instance_id` — it is the exact `instanceId` field returned for the desired integration instance, not a free-form string, and cannot be guessed from context. Args: document_id: UUID of the Lucid document to add cards to. integration_id: Which integration the records live in. Today only "jira" is supported. instance_id: The `instanceId` field from a `lucid_list_integrations` entry, identifying which connected instance of `integration_id` to pull records from. Must come from `lucid_list_integrations`; do not construct it. record_keys: Integration-specific identifiers for the records to import (e.g. Jira issue keys like ["MCP-1", "MCP-2"]). page_id: Page to drop the cards on (defaults to the first page). x: Top-left x coordinate of the first card. Defaults to 0. y: Top-left y coordinate of the first card. Defaults to 0. layout: One of "grid", "row", "column". Defaults to "grid". If the user is not connected to the requested integration instance, returns `{status: "not_connected", connect_url, ...}` — send the user to `connect_url` (their Lucid Apps & Integrations page) to connect. Do NOT attempt to authenticate on their behalf. Returns: JSON with `{success, blockIds, dataSourceId, errors}` on success, or a structured `{status: "not_connected" | "unsupported_integration", ...}` response when the precondition isn't met. `errors` is a list of `{recordKey, error}` entries for keys that could not be imported or whose AddBlock op failed; this tool returns partial success when only some keys fail.

  • Lucid list folder contents

    List the documents and subfolders inside a Lucid folder. Pass `folder_id=None` (the default) to list the user's root folder. When more pages are available, the response includes a `nextPageToken`; pass it back as `page_token` to fetch the next page. Args: folder_id: Numeric folder ID, or omit/None for the root folder. page_size: Page size (1-200, default 50). page_token: Opaque cursor from a previous response's `nextPageToken` field. Returns: JSON string of the form `{"items": [...], "nextPageToken": "..."?}`. The underlying API returns items as a bare list and carries pagination in a `Link` header; this tool reshapes that into a single object. Example: lucid_list_folder_contents(folder_id=12345, page_size=100)

  • Lucid list integrations

    List the user's available card integrations and their connection status. Use this to find out which third-party integrations (e.g. Jira) the user is connected to before attempting any integration-backed action. Returns: A JSON array. Each entry describes one integration: { "integration": str, # e.g. "jira" "instances": [ {"instanceId": str, "name": str, "adapterType": str, "isConnected": bool} ] } Connection is tracked per instance: an instance with isConnected=false is authenticated but not fully connected (its live-sync isn't healthy). An integration with no instances, or no instance with isConnected=true, is not usable yet. In that case tell the user to connect it from the Lucid editor: open a document and use the integration/import panel. Do NOT attempt to authenticate on their behalf, and do NOT fabricate a connect link. # Jira specifics `adapterType` is one of "JiraCloud", "JiraDataCenter", or "JiraGovCloud".

  • Lucid search document

    Locates regions of a Lucid document that contain specific text. Use this BEFORE `fetch` when you're looking for content you can describe with specific words or phrases — it tells you which (pageIndex, regionIndex) pairs contain matches so you can then `fetch` only those regions instead of paging through the whole document. Matching is case-insensitive substring over each region's TextAreas content (shape labels, sticky-note text, etc.). It does NOT match against notes, tags, links, colors, or other metadata. Returns a JSON object of the form: { "matches": { "<query>": [ {"pageIndex": 1, "regionIndex": 3, "context": ["Q3 KPI Tracking"]}, ... ], "<otherQuery>": [] }, "title": "..." } Every query you pass appears as a key in `matches`, even when it has no hits — so you can rely on `matches[query]` without first checking presence. `pageIndex` and `regionIndex` are 1-based and can be passed directly to `fetch` as `page_index` and `region_index`. Args: id: Valid UUID of the document. queries: Non-empty list of literal search terms (1-20 items, each at most 200 characters). Each query is matched independently as a case-insensitive substring; the response groups hits by query.

  • Lucid shape details

    Get default size, colors, and advanced/text-area properties for one or more shape classes. Use this tool after lucid_shape_library has narrowed to candidate class names. The returned details (default fill/line colors, default size, advanced property descriptors, and text-area names) tell you which optional fields lucid_add_block and lucid_edit_item can sensibly omit (defaults applied) versus which named text areas the shape supports. Unknown class names produce a per-shape error in the response rather than failing the whole call. Args: document_id: UUID of the document context (so libraries scoped to that product and the user's custom libraries are available for lookup). class_names: List of shape class names to inspect (e.g. "StickiesStickyNoteBlock"). Returns: JSON string from the underlying tool (success/result envelope).

  • Lucid shape library

    Discover shapes/blocks available to INSERT into a Lucid document. This does NOT find documents or text inside a document. To find a document by name use `search`; to find text within one open document use `lucid_search_document`. Only use this tool when the user wants a shape to add to a diagram. Use this tool to find valid block class names before calling lucid_add_block or lucid_edit_item on an existing document; hallucinating class names will produce 400 errors and this tool returns the canonical list. Note: this requires a document_id and operates on an existing document, so it cannot pre-validate class names for lucid_create_diagram_from_specification (which creates a new document) — for that flow, use the lucid://skills/diagram-specification resource as the canonical shape reference. Modes (all driven by the same call): - No params: lists every visible shape library by id and name. - libraryId only: lists groups (folders) within that library, with shapes inlined when the library has a single group. - libraryId + groupIds: returns the shapes within the specified groups. - searchTerm: searches across libraries (or within libraryId if also provided) and returns matching shapes. Cannot be combined with groupIds. The no-param library listing is paginated: when the response includes a NextPageToken, pass it back as page_token to fetch the next page of libraries. After narrowing to a candidate shape, call lucid_shape_details with its className to get default size/colors and any custom properties before passing it to add/create tools. Args: document_id: UUID of the document context (libraries available depend on product and the user's allow-listed libraries). search_term: Optional free-text query against shape names and keywords. library_id: Optional library identifier from a previous response. group_ids: Optional list of group identifiers within library_id; only valid when library_id is also provided (groups belong to a specific library). page_token: Optional pagination cursor; pass the NextPageToken from a previous no-param listing response to fetch the next page of libraries. Returns: JSON string from the underlying tool (success/result envelope).

  • Lucid submit feedback

    Submits user feedback about the Lucid MCP server to the product team. Use this tool when the user wants to share feedback, report a bug, request a feature, or otherwise comment on their experience with the Lucid MCP server's tools. The feedback is routed to Lucid's product team. Args: title: A short title summarizing the feedback. Required. feedback: The feedback from the user. Required. Returns: A message indicating whether the feedback was successfully submitted.

  • Lucid update document

    Update a Lucid document's title, parent folder, or custom tags. Use this tool to rename a document or move it between folders. At least one of `title`, `parent`, or `custom_tags` must be provided. Args: document_id: UUID of the document to update title: New title for the document. Omit to leave unchanged. parent: Move the document to a new parent. Pass an integer folder ID to move it under that folder, or the literal string "root" to move it to the root folder. Omit to leave the document where it is. custom_tags: Replacement list of custom tag strings. Omit to leave existing tags unchanged. Pass an empty list to clear. Returns: JSON string with the updated document resource. Example: lucid_update_document( document_id="8fb1756d-d7f1-4f8c-933a-40e30fa5d102", title="Q3 Roadmap", parent=12345, )

  • Lucid update folder

    Rename a Lucid folder or move it to a different parent. At least one of `name` or `parent` must be provided. Args: folder_id: Numeric ID of the folder to update. name: New folder name. Omit to leave unchanged. parent: Move the folder to a new parent. Pass an integer folder ID to move it under that folder, or the literal string "root" to move it to the root. Omit to leave the folder where it is. Returns: JSON string with the updated folder resource. Example: lucid_update_folder(folder_id=12345, name="Archived plans")

  • Post document thread comment

    Post a new comment to an existing thread on a Lucid document. Args: document_id: The UUID of the document. thread_id: The thread to comment on. content: The text body of the comment. Returns: JSON string of the created comment.

  • Search

    Search the user's Lucid account for documents by title/keyword. This is the default tool for a generic "search for X" request. Use it unless the user explicitly wants shapes to insert (`lucid_shape_library`) or text inside a document (`lucid_search_document`). If it is ambiguous which of the three the user means, ask before searching. Args: query: String containing space-separated keywords to be searched for (max 400 characters) product: Optional list of product types to filter by. Valid values: "lucidchart", "lucidspark", "lucidscale" created_start_time: Optional ISO 8601 timestamp to filter documents created after this time (e.g., "2024-01-01T00:00:00Z") created_end_time: Optional ISO 8601 timestamp to filter documents created before this time (e.g., "2024-12-31T23:59:59Z") last_modified_after: Optional ISO 8601 timestamp to filter documents modified after this time (e.g., "2024-01-01T00:00:00Z") owned_by_me: Optional. When true, only return documents you own. Note: ownership can change when a document is moved out of a team folder or transferred to another user, so this reflects current ownership rather than original authorship. Returns: Search results with document titles, IDs, URLs, and parent folder IDs, sorted by relevance. Returns up to 200 results (API maximum).

  • Share document with collaborators

    Share a Lucid document with collaborators by granting them access. This tool searches for users by their email addresses, then grants them the specified collaborator role on the document. Args: document_id: The UUID of the document to share emails: List of email addresses to share the document with (max 100) role: The collaborator role to grant. Options: - "view": View-only access - "edit": Edit access - "editandshare": Edit and share access (default) - "comment": Comment-only access Returns: JSON string with results for each email address, indicating success or failure

PreviousPage 2 / 2