Word Integration
Manage Word documents and sharing
The Word integration provides access to manage Word documents and sharing through the Integrate MCP server.
Installation
The Word integration is included with the SDK:
import { wordIntegration } from "integrate-sdk/server";Setup
1. Create a Word OAuth App
- Go to Azure Portal — App Registrations
- Create a new OAuth application
- Configure your redirect URI
- Note your Client ID and Client Secret
2. Configure the Integration on Your Server
Add the Word integration to your server configuration. The integration automatically reads WORD_CLIENT_ID and WORD_CLIENT_SECRET from your environment variables:
import { createMCPServer, wordIntegration } from "integrate-sdk/server";
export const { client: serverClient } = createMCPServer({
apiKey: process.env.INTEGRATE_API_KEY,
integrations: [
wordIntegration({
}),
],
});You can override the environment variables by passing explicit values:
wordIntegration({
clientId: process.env.CUSTOM_WORD_ID,
clientSecret: process.env.CUSTOM_WORD_SECRET,
});3. Client-Side Usage
The default client automatically includes all integrations. You can use it directly:
import { client } from "integrate-sdk";
await client.authorize("word");
const result = await client.word.list({});
console.log(result);If you're using a custom client, add the integration to the integrations array:
import { createMCPClient, wordIntegration } from "integrate-sdk";
const customClient = createMCPClient({
integrations: [wordIntegration()],
});Configuration Options
Prop
Type
Tools
word_copy
Copy a Word document
Prop
Type
word_create
Create a new empty .docx file in OneDrive
Prop
Type
word_delete
Delete a Word document permanently
Prop
Type
word_get
Get metadata for a Word document
Prop
Type
word_list
Search for Word documents
Prop
Type
word_share
Create a sharing link for a Word document
Prop
Type
word_update_content
Update content
Prop
Type
Notes
- Category: Productivity
- Authentication mode: OAuth