Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Important
You need to be part of the Frontier preview program to get early access to Microsoft Agent 365. Frontier connects you directly with Microsoft’s latest AI innovations. Frontier previews are subject to the existing preview terms of your customer agreements. As these features are still in development, their availability and capabilities may change over time.
Overview
| Server ID | Display name | Description |
|---|---|---|
| mcp_WordServer | Microsoft Word MCP Server | MCP Server containing tools to work with Microsoft Word document |
Available tools
WordCreateNewDocument
Create a new Word document in the root of the user's OneDrive. Provide a desired file name (can be empty) and HTML or plain text content to populate the document body. If fileName is empty, a name like Document_yyyyMMdd_HHmms.docx is generated. Returns the created DriveItem JSON from Microsoft Graph.
Required parameters:
- fileName: Desired file name (can be empty for auto-generated name)
- contentInHtml: HTML or plain text content for document body
WordGetDocumentContent
Fetch the raw Word document (DOCX) content from OneDrive or SharePoint given its SharePoint sharing URL. Returns a JSON payload with filename, size, driveId, documentId, plain text content, and all comments in that document. Input must be the sharing link (SharePoint or OneDrive URL).
Required parameters:
- url: SharePoint or OneDrive sharing URL of the document
WordCreateNewComment
Description: Add a new comment in the Word document. Provide driveId, documentId, and the comment text.
Required parameters:
- driveId: Drive ID of the document
- documentId: Document ID
- newComment: Comment text to add
WordReplyToComment
Description: Reply to a comment in the Word document. Provide commentId, driveId, documentId, and the reply text.
Required parameters:
- commentId: ID of the comment to reply to
- driveId: Drive ID of the document
- documentId: Document ID
- newComment: Reply text
Key Features
Document creation
- Create Word documents directly in OneDrive
- Support for HTML and plain text content
- Auto-generated file names with timestamp
- Returns Microsoft Graph DriveItem metadata
Document retrieval
- Fetch document content by using SharePoint or OneDrive URLs
- Extract plain text content from DOCX files
- Retrieve all document comments
- Get document metadata (filename, size, IDs)
Comment management
- Add new comments to documents
- Reply to existing comments
- Full comment thread support
Notes
- Create documents in the root of user's OneDrive.
- Retrieve documents by using SharePoint or OneDrive sharing URLs.
- Perform comment operations by using driveId and documentId from document retrieval.
- Support HTML content for rich document formatting.
- Use auto-generated filenames that follow this format: Document_yyyyMMdd_HHmms.docx.