How to connect Microsoft Word to Claude

Connect Claude Web, Desktop and Cowork to Microsoft Word MCP. Find the latest project brief in onedrive, download docx files from a sharepoint folder, and more using natural language, with authentication handled for you.

Microsoft Word logoMicrosoft Word
Oauth2

Microsoft Word is Microsoft's document editor for creating and managing DOCX files in OneDrive and SharePoint. It provides familiar editing and cloud storage features for organized document workflows.

22 Tools

Introduction

Claude is Anthropic's AI assistant, available on the web, in the desktop app, and on mobile. Cowork is its agent for knowledge work, and it runs on all of those surfaces too. Connected to your apps, Claude can work with your files and services to accomplish complex tasks on your behalf.

This guide walks you through the easiest and most secure way to connect your Microsoft Word account to Claude via Composio Connect, enabling it to find the latest project brief in OneDrive, download DOCX files from a SharePoint folder, update a Word document with meeting notes, and more such actions on your behalf without compromising your account security.

Setup is the same on Claude Web, Desktop, and Cowork, and you only need to do it once. The connector is tied to your account, so it's available in all three.

For exact tool slugs and parameter tables, see the tool catalog in the Composio docs.

Also integrate Microsoft Word with

Connecting Microsoft Word to Claude Web, Desktop, and Cowork

Two ways to add the Composio connector. Pick whichever you prefer.

1. Add with one click

Click the button. Claude opens with the Composio connector filled in. Click Add, then go to step 2.

Add to Claude

Add manually

In Claude Desktop, click Customize in the left sidebar, then select Connectors and click the + icon at the top.

Claude Desktop connectors screen with Add custom connector selected

Click Add custom connector and paste in the Composio MCP server URL:

bash
https://connect.composio.dev/mcp
Add custom connector dialog with Composio MCP server URL

2. Authorize in your browser

Click Connect. You'll be redirected to a browser window where you can authorize Composio to continue.

Composio authorization screen for Claude Web, Desktop, and Cowork

3. Connect your Microsoft Word account

Back in Claude, ask it to connect to Microsoft Word or give it any Microsoft Word-related task.

For example, ask Claude to:

  • "Find the latest project brief in OneDrive"
  • "Download DOCX files from a SharePoint folder"
  • "Update a Word document with meeting notes"

It will prompt you to authenticate and authorize access.

That's it. Composio's tools are now available in Claude, and your Microsoft Word account is ready to use.

What is the Microsoft Word Claude Connector, and what's possible with it?

The Microsoft Word MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Microsoft Word account. It provides structured and secure access to DOCX files in OneDrive and SharePoint, so your agent can find, read, create, edit, and share documents on your behalf.

  • Document discovery and reading: Have your agent find DOCX files in OneDrive or SharePoint, inspect their paragraphs, formatting, tables, images, links, and tracked changes, and review retained document versions.
  • Document creation and editing: Let the agent create new Word documents, append text and tables, replace text across runs, edit formatting and lists, and update existing content.
  • Templates and document workflows: Direct your agent to fill placeholders in a Word template, add comments to specific paragraphs, accept or reject tracked changes, and export a DOCX file to PDF.
  • File organization and version control: Instruct your agent to copy, move, rename, replace, delete, or restore DOCX files while preserving access to available document versions.
  • Sharing and collaboration: Have your agent create view, edit, or embed sharing links and invite named recipients with read or write access to a DOCX file.

Troubleshooting

1. Why does Claude not use the Composio connector for Microsoft Word?

The connector can show as connected, but Claude must use it in each Microsoft Word conversation.

  • Click + at the lower left of the chat, or type /.
  • Hover Connectors.
  • Turn on Composio.
  • Ask Claude to connect to Microsoft Word again.

2. Why does Claude show an MCP server error before Microsoft Word connects?

Claude can show Couldn't reach the MCP server or Authorization with the MCP server failed when you add the connector for Microsoft Word.

  • Check that the connector URL is https://connect.composio.dev/mcp.
  • Connectors run from Anthropic's cloud, so your device network is usually not the problem.
  • Add the connector again from Customize > Connectors, then ask Claude to connect Microsoft Word.
  • If it fails again, send the error and the ofid_ reference id to support@composio.dev.

3. Why does the Microsoft Word authorization link not work?

The Composio connector is one server. Your Microsoft Word account connects separately when Claude asks for it.

  • If the browser does not open, or the link expires, ask Claude to retry the Microsoft Word connection.
  • Composio creates a fresh Microsoft Word authorization link.
  • Open that link in your browser and finish the Microsoft Word sign-in.

4. Why do Microsoft Word actions fail after they worked before?

The Microsoft Word connection can expire or lose permission.

  • Ask Claude to inspect the Microsoft Word connection.
  • If the connection is unhealthy, disconnect it when Claude prompts you.
  • Reconnect the Microsoft Word account and retry the action.
  • If Claude shows a permission prompt, approve it before Claude changes data in Microsoft Word.
  • If the action still fails with a permission error, check that the connected account has that permission in Microsoft Word itself.

5. How do I switch to a different Microsoft Word account?

Claude can manage the Microsoft Word connection for you.

  • Ask Claude to disconnect or delete the current Microsoft Word account.
  • Ask Claude to connect Microsoft Word again.
  • Open the new Composio authorization link for Microsoft Word.
  • Sign in with the other Microsoft Word account in the browser.
  • After the account connects, ask Claude to retry the Microsoft Word task.

6. Why is my Microsoft Word connection missing in Claude Desktop or on a Team plan?

The connector belongs to your Claude account, so your Microsoft Word connection works in Claude Web, Desktop, and Cowork.

  • In Claude Desktop, open Customize > Connectors.
  • Next to Composio, click ⋮ and click Clear cache.
  • If Microsoft Word tools still do not appear, click ⋮, disconnect, remove the connector, and add it again.
  • On Team or Enterprise, an Owner or Primary Owner must enable the connector before you can connect Microsoft Word.
TOOLS

Supported Tools

Every Microsoft Word action and event your agent gets out of the box.

Add Comment

Add a Word comment to a paragraph selected by a READ_DOCX locator or by exact text that uniquely matches a main-document paragraph.

Append Content

Append plain text or supported Markdown paragraphs, headings, formatted runs, lists, rectangular tables, safe http/https/mailto links, and Courier New inline or fenced code to a DOCX body.

Copy DOCX

Copy a Graph DOCX item with both a .

Create DOCX

Create a safe DOCX containing styled paragraphs and formatted runs, bullet or decimal lists, rectangular tables, or constrained HTML/Markdown source with safe external links and inline or fenced code rendered in Courier New, plus validated inline PNG/JPEG images, page breaks, and default/first/even headers and footers.

Create DOCX sharing link

Create a view, edit, or embed sharing link for a verified DOCX.

Delete DOCX

Move one DOCX to the provider recycle bin only when its current eTag matches.

Edit DOCX

Atomically edit literal text, paragraphs, independent Latin/non-complex and complex-script run formatting, lists, rectangular tables including plain cells and rows outside merged regions, uploaded inline PNG/JPEG images, semantic comments, tracked text changes, revision acceptance or rejection, safe external hyperlinks, paired footnotes, section headers or footers, and explicit page breaks in a DOCX.

Export DOCX to PDF

Convert a DOCX of at most 2 MB to PDF through Microsoft Graph and return a temporary file reference.

Fill Template

Fill run-spanning placeholders in main-document paragraphs of a validated DOCX template snapshot, then create a new document.

Find DOCX files

Browse one folder or search a drive for DOCX files.

Find SharePoint sites

Find accessible SharePoint sites by keyword, or resolve one known hostname and site path to its site ID.

Get Microsoft Word account context

Return the signed-in Microsoft identity and primary OneDrive identifiers needed to start OneDrive DOCX work.

Invite DOCX recipients

Grant read or write access to required named recipients.

List DOCX versions

Validate the selected drive item as a DOCX, then return one page of retained versions in Microsoft Graph's newest-first order.

List OneDrive drives

Return one page of drives available to the signed-in user as the Microsoft Word toolkit's OneDrive-drive selector for DOCX workflows.

List SharePoint document libraries

Return one page of document libraries and available root folder item IDs for a SharePoint site ID.

Move or rename DOCX

Rename a DOCX, move it within the same drive, or do both, guarded by its current eTag.

Read DOCX

Inspect a DOCX as bounded rich OOXML, including paragraphs, formatted runs, tables, images, hyperlinks, footnotes, comments, revisions, page breaks, sections and styles.

Replace Text

Replace the first or all occurrences of literal text in the main document of a DOCX, including matches across Word run boundaries.

Resolve Tracked Changes

Accept or reject supported pending run-level insertions and deletions in a DOCX, either all or selected revision locators returned by READ_DOCX.

Restore DOCX version

Restore a retained DOCX version as a new current version, preserving version history, then observe the item's current metadata in a post-operation read.

Upsert DOCX

Create or replace a same-name DOCX containing the same validated content supported by CREATE_DOCX.

FAQ

Frequently asked questions

Start with Microsoft Word.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Microsoft Word tool your agent needs.Free to start.

Start building