---
title: "Word Integration"
description: "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:

```typescript
import { wordIntegration } from "integrate-sdk/server";
```

## Setup

### 1. Create a Word OAuth App

1. Go to [Azure Portal — App Registrations](https://portal.azure.com/#blade/Microsoft_AAD_RegisteredApps)
2. Create a new OAuth application
3. Configure your redirect URI
4. 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:

```typescript
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:

```typescript
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:

```typescript
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:

```typescript
import { createMCPClient, wordIntegration } from "integrate-sdk";

const customClient = createMCPClient({
  integrations: [wordIntegration()],
});
```

## Configuration Options

<AutoTypeTable
  path="../src/integrations/word.ts"
  name="WordIntegrationConfig"
/>


## Tools

### `word_copy`

Copy a Word document

<AutoTypeTable
  path="generated/tool-params/word.ts"
  name="WordCopyParams"
/>

### `word_create`

Create a new empty .docx file in OneDrive

<AutoTypeTable
  path="generated/tool-params/word.ts"
  name="WordCreateParams"
/>

### `word_delete`

Delete a Word document permanently

<AutoTypeTable
  path="generated/tool-params/word.ts"
  name="WordDeleteParams"
/>

### `word_get`

Get metadata for a Word document

<AutoTypeTable
  path="generated/tool-params/word.ts"
  name="WordGetParams"
/>

### `word_list`

Search for Word documents

<AutoTypeTable
  path="generated/tool-params/word.ts"
  name="WordListParams"
/>

### `word_share`

Create a sharing link for a Word document

<AutoTypeTable
  path="generated/tool-params/word.ts"
  name="WordShareParams"
/>

### `word_update_content`

Update content

<AutoTypeTable
  path="generated/tool-params/word.ts"
  name="WordUpdateContentParams"
/>

## Notes

- Category: Productivity
- Authentication mode: OAuth
