Skip to main content
Glama
rgbcap

hwpx-mcp-server

by rgbcap

hwpx-mcp-server

MCP server for reading and editing .hwpx (Hangul Word Processor) files.

Features

Tool

Description

hwpx_read_text

Extract all text from a .hwpx file

hwpx_edit_text

Find and replace text

hwpx_set_style

Change font/size/bold/italic/underline

hwpx_create

Create a new .hwpx file

Installation

npm install
npm run build

Usage with gemini-cli

Add to your ~/.gemini/settings.json:

{
  "mcpServers": {
    "hwpx": {
      "command": "node",
      "args": ["/absolute/path/to/hwpx-mcp-server/dist/index.js"]
    }
  }
}

Development

npm run dev   # watch mode
npm run build # compile TypeScript
npm start     # run server

HWPX Structure

HWPX is a ZIP-based XML format:

doc.hwpx (ZIP)
├── mimetype               # must be first, uncompressed
├── META-INF/container.xml
└── Contents/
    ├── content.hpf        # manifest
    └── section0.xml       # body text (hp:t tags)

Notes

  • HWPX only (not legacy binary .hwp)

  • Style editing uses regex-based XML patching — open in 한글 to verify layout

  • mimetype entry must remain uncompressed (ZIP store method)

-
security - not tested
F
license - not found
-
quality - not tested

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

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/rgbcap/hwpx-mcp-server'

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