Skip to main content
Glama
aspose-words

Aspose.Words MCP

Official
by aspose-words

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_HOSTNoHost address for HTTP/SSE transports.0.0.0.0
MCP_PATHNoHTTP path for streamable-http transport./mcp
MCP_PORTNoPort number for HTTP/SSE transports.8080
LOG_LEVELNoLogging level (e.g., INFO, DEBUG).INFO
MCP_SSE_PATHNoEvents path for SSE transport./sse
MCP_TRANSPORTNoTransport type: stdio, streamable-http, or sse.stdio
ASPOSE_WORDS_LICENSE_PATHNoPath to the Aspose.Words license file.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
extensions
{
  "io.modelcontextprotocol/ui": {}
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
create_documentC

Create a new document and return its ID

insert_text_endC

Insert text at the end of the document

insert_text_startC

Insert text at the start of the document

insert_text_at_paragraphC

Insert text into the specified paragraph by index

read_paragraphsC

Read a range of paragraphs from the document

export_base64C

Export the document to the specified format and return as base64

get_infoC

Get general document information

add_headingC

Add a heading with level and font options

add_paragraphC

Add a paragraph with optional style and formatting

add_page_break_endC

Insert a page break at the end of the document

add_page_break_startC

Insert a page break at the start of the document

add_page_break_at_paragraphC

Insert a page break before the specified paragraph

get_outlineC

Get the document outline (headings structure)

replace_textC

Replace text in the document with case/scope and regex options

find_textC

Find text occurrences in the document

delete_paragraphC

Delete a paragraph by index

create_custom_styleC

Create a custom style with font properties

add_table_endC

Add a table at the end of the document

add_table_startC

Add a table at the start of the document

add_table_at_paragraphC

Add a table at the specified paragraph

insert_list_endC

Insert a bulleted or numbered list at the end

insert_list_startC

Insert a bulleted or numbered list at the start

insert_list_at_paragraphC

Insert a list at the specified paragraph

insert_header_near_textC

Insert a heading near the found text or paragraph index

insert_line_or_paragraph_near_textC

Insert a line/paragraph near the found text

insert_numbered_list_near_textC

Create a numbered or bulleted list near text

add_picture_base64_endB

Add an image (base64) at the end of the document

add_picture_base64_startC

Add an image (base64) at the start of the document

format_textB

Format text within a paragraph by character range

format_tableC

Apply composite formatting to a table

set_table_cell_shadingC

Set table cell shading to the specified color

apply_table_alternating_rowsC

Apply alternating row colors to a table

highlight_table_headerC

Highlight the table header row

merge_table_cellsC

Merge a range of table cells

merge_table_cells_horizontalC

Merge cells horizontally in a row

merge_table_cells_verticalD

Merge cells vertically in a column

set_table_cell_alignmentC

Set table cell horizontal/vertical alignment

set_table_alignment_allC

Align the entire table relative to the page

set_table_column_widthC

Set a table column width

set_table_column_widthsC

Set all table column widths

set_table_widthC

Set the overall table width

auto_fit_table_columnsC

Auto fit table columns to content

format_table_cell_textC

Set text and formatting of a specific table cell

set_table_cell_paddingC

Set table cell padding

merge_documentsC

Merge multiple documents into one

save_as_newC

Save a copy of the document with a new name and format

statsC

Get document statistics (pages, words, etc.)

delete_documentC

Delete a document from the store

list_documentsB

List all available documents

copy_documentC

Create a copy of the document and return the new ID

get_textC

Get the full document text as a single block

get_xmlC

Get the document XML

get_document_base64C

Get the document binary content as base64

healthC

Health check

get_propertiesB

Read document properties (Title, Author, etc.)

set_propertiesC

Set document properties (Title, Author, etc.)

protect_documentC

Protect the document with a password

unprotect_documentC

Unprotect the document

protect_restrictC

Restrict editing ranges in the document

sign_documentC

Sign the document with a digital certificate

get_digital_signaturesC

Get document digital signature metadata

get_all_commentsC

Get all document comments

get_comments_by_authorC

Get comments by author

get_comments_for_paragraphC

Get comments for the specified paragraph

add_footnoteC

Add a footnote to a paragraph

add_endnoteC

Add an endnote to a paragraph

convert_footnotes_to_endnotesB

Convert all footnotes to endnotes

notes_styleC

Set text style for footnotes/endnotes

get_all_notesC

Get a list of all document notes

add_footnote_by_anchorC

Add a footnote after/before the anchor text

add_endnote_by_anchorC

Add an endnote after/before the anchor text

delete_footnotes_by_anchorC

Delete footnotes by anchor text (with filter options)

delete_endnotes_by_anchorB

Delete endnotes by anchor text (with filter options)

validate_footnotes_by_anchorC

Validate that at least the specified number of footnotes exist by anchor

validate_endnotes_by_anchorC

Validate that at least the specified number of endnotes exist by anchor

add_header_textC

Add text to the header

add_footer_textC

Add text to the footer

add_page_numberingC

Insert page numbering into headers/footers

set_different_first_page_header_footerD

Use different first-page header/footer

set_page_setupB

Set page setup: margins, orientation, paper, columns

insert_section_breakC

Insert a section break of the specified type

insert_html_endC

Insert HTML at the end of the document

insert_html_startC

Insert HTML at the start of the document

insert_html_at_paragraphC

Insert HTML at the specified paragraph

insert_markdown_endC

Insert Markdown at the end of the document

insert_markdown_startC

Insert Markdown at the start of the document

insert_markdown_at_paragraphC

Insert Markdown at the specified paragraph

add_watermark_textC

Add a text watermark

add_watermark_image_base64C

Add an image watermark from base64

add_bookmark_at_paragraphC

Add a bookmark to the specified paragraph

insert_hyperlink_at_paragraphC

Insert a hyperlink at the specified paragraph

render_page_base64C

Render a document page to an image/base64

export_base64_advancedD

Advanced export with additional format options

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/aspose-words/Aspose.Words-MCP'

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