IT Glue

v0.4.0
io.github.selic/mcp-itglue Checked 15 hours ago Published 4 months ago

IT Glue MCP server for MSPs — documents, flexible assets, semantic vector search, RBAC, and BYOK

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

itglue_list_organizations List IT Glue Organizations

Search and list IT Glue organizations. Use this first to find the organization ID required by document and flexible-asset tools. filter_name matches partially and case-insensitively; filter_id is exact. Results are paginated. List items carry summary fields; use itglue_get_organization for the full record.

ParameterTypeDescription
filter_idintegerFilter by organization ID
filter_namestringFilter by organization name (partial match)
page_numberintegerPage number (default 1)
page_sizeintegerResults per page (default 50, max 1000)
response_formatstringOutput format: human-readable markdown (default) or structured JSON
sortstringSort field, prefix with "-" for descending (e.g. "name", "-updated_at")

itglue_get_organization Get IT Glue Organization

Get a single IT Glue organization by ID.

ParameterTypeDescription
organization_id *integerThe organization ID
response_formatstringOutput format: human-readable markdown (default) or structured JSON

itglue_list_documents List IT Glue Documents

List documents in an organization, including documents nested in folders. Returns summary metadata only — use itglue_get_document for content and the full record. filter_name matches partially and case-insensitively. The endpoint returns root-level documents by default, so this tool issues a second query for folder-nested documents and merges the results (up to 2x page_size items).

ParameterTypeDescription
organization_id *integerOrganization ID to list documents for
filter_idintegerFilter by document ID
filter_namestringFilter by document name (partial match)
page_numberintegerPage number (default 1)
page_sizeintegerResults per page (default 50, max 1000)
response_formatstringOutput format: human-readable markdown (default) or structured JSON
sortstringSort field (e.g. "name", "-updated_at")

itglue_list_document_folders List IT Glue Document Folders

List the document folders (directories) in an organization, including nested folders. Returns summary metadata only (name, parent folder, document count). Use this to discover a document_folder_id for itglue_create_document, or to browse an organization's document tree. filter_name matches partially and case-insensitively; parent_id is the number in a folder's URL. A folder with parent_id null is top-level.

ParameterTypeDescription
organization_id *integerOrganization ID to list folders for
filter_idintegerFilter by folder ID
filter_namestringFilter by folder name (partial match)
page_numberintegerPage number (default 1)
page_sizeintegerResults per page (default 50, max 1000)
response_formatstringOutput format: human-readable markdown (default) or structured JSON
sortstringSort field (e.g. "name", "-updated_at")

itglue_get_document Get IT Glue Document

Get a document by ID with all of its sections and their content. Section content is stored as HTML; markdown output converts it to plain text. If the response is truncated, fetch individual sections with itglue_get_document_section.

ParameterTypeDescription
document_id *integerThe document ID
response_formatstringOutput format: human-readable markdown (default) or structured JSON

itglue_create_document Create IT Glue Document

Create a new document as a DRAFT in an organization. Add content with itglue_create_document_section, then make it visible with itglue_publish_document.

ParameterTypeDescription
name *stringDocument name/title
organization_id *integerOrganization to create the document in
document_folder_idintegerFolder to place the document in (the number in the folder's URL); root when omitted
response_formatstringOutput format: human-readable markdown (default) or structured JSON

itglue_update_document Update IT Glue Document

Rename a document (metadata only). To change content, use itglue_update_document_section.

ParameterTypeDescription
document_id *integerThe document ID to update
name *stringNew document name
response_formatstringOutput format: human-readable markdown (default) or structured JSON

itglue_publish_document Publish IT Glue Document

Publish a draft document, making it visible to users with access.

ParameterTypeDescription
document_id *integerThe document ID to publish

itglue_delete_documents Delete IT Glue Documents

PERMANENTLY delete one or more documents, including all their sections. This cannot be undone.

ParameterTypeDescription
document_ids *arrayIDs of the documents to delete

itglue_list_document_sections List IT Glue Document Sections

List the sections of a document in position order, with content previews and section IDs (needed for update/delete operations). List items carry summary fields and a bounded content_preview; use itglue_get_document_section for full content.

ParameterTypeDescription
document_id *integerThe parent document ID
page_numberintegerPage number (default 1)
page_sizeintegerResults per page (default 50, max 1000)
response_formatstringOutput format: human-readable markdown (default) or structured JSON

itglue_get_document_section Get IT Glue Document Section

Get one document section with its full content (HTML on the wire; markdown output converts to plain text).

ParameterTypeDescription
document_id *integerThe parent document ID
section_id *integerThe section ID
response_formatstringOutput format: human-readable markdown (default) or structured JSON

itglue_create_document_section Create IT Glue Document Section

Add a section to a document. Types: Text (HTML content), Heading (content = heading text, level 1-6 required), Gallery (no content), Step (HTML content, optional duration in minutes). Text/Step HTML may include inline images via <img src="https://…"> (rendering depends on IT Glue's sanitization); to attach an image file to the document instead, use itglue_create_attachment.

ParameterTypeDescription
document_id *integerThe parent document ID
section_type *stringSection type
contentstringHTML content (Text/Step) or heading text (Heading)
durationintegerDuration in minutes (Step only)
levelintegerHeading level 1-6 (required for Heading)
response_formatstringOutput format: human-readable markdown (default) or structured JSON
sortintegerPosition within the document (0-based)

itglue_update_document_section Update IT Glue Document Section

Update a section's content, heading level, duration, or position. Only provided fields change; the section type cannot be changed. Text/Step content may embed inline images via <img src="…">.

ParameterTypeDescription
document_id *integerThe parent document ID
section_id *integerThe section ID to update
contentstringNew HTML content (or heading text)
durationintegerNew duration in minutes (Step only)
levelintegerNew heading level (Heading only)
response_formatstringOutput format: human-readable markdown (default) or structured JSON
sortintegerNew position within the document

itglue_delete_document_section Delete IT Glue Document Section

PERMANENTLY delete one section from a document. This cannot be undone. Useful for restructuring a document's layout.

ParameterTypeDescription
document_id *integerThe parent document ID
section_id *integerThe section ID to delete

itglue_create_attachment Create IT Glue Attachment

Attach an image or file to a record (document, flexible asset, configuration, etc.). The file appears under the record's Attachments in IT Glue. Provide exactly one image source: content_base64 (a base64 string, optionally a data: URI), url (the server fetches and encodes it), or file_path (local stdio runs only). Give file_name with an extension (e.g. network-diagram.png) so IT Glue detects the type; it is inferred from url/file_path when omitted. Max 25 MB.

ParameterTypeDescription
resource_id *integerThe parent record ID
resource_type *stringThe record type to attach to
content_base64stringBase64-encoded file bytes (a leading data: URI prefix is stripped)
file_namestringDisplay file name with extension; inferred from url/file_path if omitted
file_pathstringLocal filesystem path to read (stdio transport only)
response_formatstringOutput format: human-readable markdown (default) or structured JSON
urlstringURL the server fetches and base64-encodes

itglue_list_attachments List IT Glue Attachments

List the attachments on a record (document, flexible asset, configuration, etc.), with attachment IDs (needed for delete), file names, content types, and download URLs.

ParameterTypeDescription
resource_id *integerThe parent record ID
resource_type *stringThe record type
page_numberintegerPage number (default 1)
page_sizeintegerResults per page (default 50, max 1000)
response_formatstringOutput format: human-readable markdown (default) or structured JSON

itglue_delete_attachment Delete IT Glue Attachment

PERMANENTLY delete an attachment from a record. This cannot be undone. Find the attachment ID with itglue_list_attachments.

ParameterTypeDescription
attachment_id *integerThe attachment ID to delete
resource_id *integerThe parent record ID
resource_type *stringThe record type

itglue_list_flexible_asset_types List IT Glue Flexible Asset Types

List flexible asset types (the schemas MSPs define in IT Glue, e.g. 'Wireless', 'Applications'). Use this to find the type ID required by itglue_list_flexible_assets. filter_name matches partially and case-insensitively. List items carry summary fields; use itglue_get_flexible_asset_type for field definitions.

ParameterTypeDescription
filter_namestringFilter by type name
page_numberintegerPage number (default 1)
page_sizeintegerResults per page (default 50, max 1000)
response_formatstringOutput format: human-readable markdown (default) or structured JSON

itglue_get_flexible_asset_type Get IT Glue Flexible Asset Type

Get a flexible asset type by ID, including its field definitions (name, kind, required) — the trait keys needed to create or update assets of this type.

ParameterTypeDescription
flexible_asset_type_id *integerThe flexible asset type ID
response_formatstringOutput format: human-readable markdown (default) or structured JSON

itglue_list_flexible_assets List IT Glue Flexible Assets

List flexible assets of a given type, optionally restricted to one organization. The type ID is required by the IT Glue API — find it with itglue_list_flexible_asset_types. List items show bounded trait previews (HTML stripped, long values truncated); use itglue_get_flexible_asset for full trait values.

ParameterTypeDescription
flexible_asset_type_id *integerFlexible asset type ID (required)
organization_idintegerRestrict to one organization
page_numberintegerPage number (default 1)
page_sizeintegerResults per page (default 50, max 1000)
response_formatstringOutput format: human-readable markdown (default) or structured JSON

itglue_get_flexible_asset Get IT Glue Flexible Asset

Get one flexible asset by ID, including all of its traits.

ParameterTypeDescription
flexible_asset_id *integerThe flexible asset ID
response_formatstringOutput format: human-readable markdown (default) or structured JSON

itglue_create_flexible_asset Create IT Glue Flexible Asset

Create a flexible asset. Traits are the type's fields keyed by their lowercased, hyphenated names (inspect them with itglue_get_flexible_asset_type). All required traits must be provided.

ParameterTypeDescription
flexible_asset_type_id *integerFlexible asset type ID
organization_id *integerOrganization to create the asset in
traits *objectField values keyed by trait name, e.g. {"ssid-name": "Corp", "vlan": 12}
response_formatstringOutput format: human-readable markdown (default) or structured JSON

itglue_update_flexible_asset Update IT Glue Flexible Asset

Update a flexible asset's traits. IMPORTANT: IT Glue replaces the traits object wholesale — fetch the asset first and send back ALL traits, not just the changed ones, or omitted traits are cleared.

ParameterTypeDescription
flexible_asset_id *integerThe flexible asset ID to update
traits *objectThe COMPLETE set of trait values (omitted traits are cleared)
response_formatstringOutput format: human-readable markdown (default) or structured JSON

itglue_delete_flexible_asset Delete IT Glue Flexible Asset

PERMANENTLY delete a flexible asset. This cannot be undone.

ParameterTypeDescription
flexible_asset_id *integerThe flexible asset ID to delete