Skip to main content
Glama

DOCX MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
docx-getSchema

Get the JSON schema for DOCX document structure. IMPORTANT: Always call this first to understand the document format before using other tools.

docx-create

Create a new docx from JSON, returns an id. Use docx-getSchema first to understand the required JSON structure. Supports images via 'data' (base64), 'path' (local file), or 'url' (remote image with fallback).

docx-open

Open a .docx file from disk into memory and return id.

docx-queryMeta

Get docx metadata by id.

docx-queryObjects

List top-level object info by id.

docx-editMeta

Patch metadata of a docx by id.

docx-editContent

Replace a block at index. Use docx-queryObjects first to see available blocks, and docx-getSchema to understand block structure.

docx-insertContent

Insert a block at index. Use docx-queryObjects first to see current structure, and docx-getSchema to understand block structure.

docx-removeContent

Remove a block at index.

docx-save

Persist the docx to disk path by id.

docx-openFile

Open a .docx file from disk into memory and return id.

docx-exportJson

Return the current JSON model for a given id.

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/lihongjie0209/docx-mcp'

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