hwp-mcp-v2
Enables automation of Hancom HWP (Hanword) documents via MCP, including creating, editing, saving, and managing multiple document tabs.
README
hwp-mcp-v2
pyhwpx 기반 한글(HWP) 자동화 MCP 서버입니다.
1) 현재 지원 도구
기본 문서 작업
hwp_connect: 한글 연결hwp_status: 연결/활성 문서 상태 조회hwp_open: 문서 열기hwp_insert_text: 텍스트 입력hwp_save_as: 다른 이름으로 저장hwp_quit: 한글 종료
문서 탭/창 관리 (1차 확장)
hwp_list_docs: 열린 문서 목록 조회(0-based index)hwp_switch_doc(index): 활성 문서 전환hwp_add_tab: 현재 창에 새 탭 문서 추가hwp_add_doc: 새 문서 창 추가hwp_close_current(save=False): 현재 문서 닫기(기본 저장 안 함)
2) 요구사항
- Windows
- 한글(HWP) 설치
- Python 3.10+
3) 설치
pip install -r requirements.txt
4) 실행
python hwp_mcp_stdio_server.py
5) Claude/Codex MCP 등록 예시
{
"mcpServers": {
"hwp-v2": {
"command": "python",
"args": [
"C:/path/to/hwp-mcp-v2/hwp_mcp_stdio_server.py"
]
}
}
}
6) 문서 탭 관리 호출 예시
hwp_connecthwp_list_docshwp_add_tabhwp_add_dochwp_switch_doc(index=1)hwp_close_current(save=false)
7) 응답 포맷
모든 도구는 아래 공통 포맷으로 반환합니다.
{
"ok": true,
"message": "작업 결과 메시지",
"data": {}
}
hwp_list_docs의 data 예시:
{
"docs": [
{
"index": 0,
"document_id": 123456,
"full_name": "C:/work/a.hwp",
"modified": false,
"is_active": true
}
],
"count": 1
}
8) 구조
hwp-mcp-v2/
├─ hwp_mcp_stdio_server.py # MCP 서버 엔트리포인트
├─ requirements.txt
├─ src/
│ ├─ __init__.py
│ └─ service.py # pyhwpx 래퍼 서비스
└─ tests/
└─ test_service_doc_tools.py
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.