
givhvy/word-mcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
Windows PC에서 실행되는 Microsoft Word를 위한 MCP 서버: 전체 문서 컨텍스트를 읽고, 이미지와 페이지, 편집, 체재, 의견 및 대답을 보십시오.
개요
MCP 서버는 로컬 파일과 SharePoint / OneDrive 문서에서 AI 에이전트 작업을 수행 할 수 있습니다. 당신이 시계 동안 당신의 열린 문서에 바로 에이전트 유형: 닫힘 없음, 다시 열림, 당신의 뒤쪽에 저장 없음. 문서 작성을 위해 만들어진: - 에이전트는 코드베이스를 읽고 전체 섹션을 작성 (헤딩, 목록, 코드 블록, 테이블, 스크린 샷 및 숫자 캡션과 다이어그램) word insert markdown; - 그것은 당신이 자신을 입력하고 저장하지 않은, 이미지와 코멘트 (word context), 그리고 단어 렌더링으로 페이지를 정확하게 볼 수 있습니다; - 그것은 마지막으로 그것은 텍스트를보고, 자신의 텍스트를 작성하고, 자신의 텍스트를 작성하고, 자신의 텍스트를 작성하고, 자신의 텍스트를 기록 할 수 있습니다. (당신의 텍스트를 복사), 그리고 모든 텍스트를 작성하고, 자신의 텍스트를 기록 할 수 있습니다.
개요(AI 번역)
MCP 서버는 Windows PC에서 열린 **Microsoft Word 내부에서 AI 에이전트 작업을 할 수 있습니다 **, 로컬 파일 및 SharePoint / OneDrive 문서가 Word 데스크톱에서 열립니다. 대리인 유형 똑바른 당신의 열린 문서에 당신이 볼 때: 닫히지 않고, 다시 열리고, 당신의 뒤에 저장 없음.
에이전트와 기술 문서를 작성하기위한 내장 :
- 에이전트는 코드베이스를 읽고 전체 섹션을 작성 (헤딩, 목록, 코드 블록, 테이블,
스크린 샷 및 다이어그램 ** 하나의 호출 **
word_insert_markdown; - 당신이 자신을 입력하고 저장하지 않은 것을 포함하여 전체 라이브 문서를 읽습니다.
그 이미지와 의견 (
word_context), 그리고 Word가 그들에게 렌더링 한 것처럼 페이지를 정확하게 볼 수; - 그것은 발견 ** 당신의 편집 ** 마지막으로 본 이후 ([
word_changes]) 및 대상 장소 제목, 이렇게 당신의 자신의 쓰기 및 그것의 쓰기는 안전하게 섞일 수 있습니다; - 모든 것은 문서의 하우스 스타일를 따릅니다. 템플릿 자체 제목, 몸, 목록, 테이블, 코드 및 캡션 스타일 (문서에서 발견, 또는 템플릿 파일에서 복사);
- 저축은 ** 당신의 결정 ** (Ctrl+S): 당신이 요구하지 않는 대리인 결코 저장합니다.
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
word-mcp
An MCP server that lets an AI agent work inside the Microsoft Word that is open on your Windows PC, on local files and on SharePoint / OneDrive documents opened in Word desktop. The agent types straight into your open document while you watch: no closing, no reopening, no saving behind your back.
Built for writing technical documents with an agent:
- the agent reads your codebase and writes whole sections (headings, lists, code blocks, tables,
screenshots and diagrams with numbered captions) in one call with
word_insert_markdown; - it reads the whole live document, including what you typed yourself and have not saved, with
its images and comments (
word_context), and sees pages exactly as Word renders them; - it notices your edits since it last looked (
word_changes) and targets places by heading text, so your own writing and its writing can be mixed safely; - everything it writes follows the document’s house style: your template’s own heading, body, list, table, code and caption styles (detected from the document, or copied from a template file);
- saving stays your decision (Ctrl+S): the agent never saves unless you ask.
It uses Word’s own COM automation API, so everything happens in the real Word window, and every agent edit is a single Ctrl+Z step.
Requirements
- Windows 10 or 11
- Microsoft Word desktop (Microsoft 365, 2021, 2019 or 2016). Word on the web and Word for Mac do not work.
- Python 3.10 or newer
Install
1. Get the code and install dependencies
A virtual environment keeps the dependencies away from your other Python projects, and gives the
MCP client one fixed python.exe to launch.
git clone https://github.com/givhvy/word-mcp.git
cd word-mcp
python -m venv .venv
.\.venv\Scripts\python.exe -m pip install -r requirements.txt
Check Python can reach Word (prints its version, changes nothing). Word must be installed; it does not need to be open.
.\.venv\Scripts\python.exe -c "import win32com.client as c; print('Word', c.Dispatch('Word.Application').Version)"
2. Register it with your agent
Rules that apply to every client:
- The command is the full path to the venv’s
python.exe, followed by the full path toword_mcp_server.py. Relative paths break because the client starts the server from its own working directory. - The server talks over stdio. Do not run it by hand to “start” it: the client launches it.
- Below, replace
C:\path\to\word-mcpwith the folder you cloned into. - The default name is
word-huy. It is the key in each config below (and the name afterclaude mcp add). You can use any other name. The name only sets the tool prefix, for examplemcp__word-huy__...in Claude Code orword-huy_...in OpenCode. If you rename it, use your name wherever this README saysword-huy. - The
-Iflag runs Python isolated from the current directory. It is optional but recommended.
설치
This server does not publish a one-line install command.
Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →설정
{
"mcpServers": {
"word-huy": {
"command": "C:\\path\\to\\word-mcp\\.venv\\Scripts\\python.exe",
"args": ["-I", "C:\\path\\to\\word-mcp\\word_mcp_server.py"]
}
}
}