Skip to main content
Microsoft Excel in Microsoft 365 is a powerful spreadsheet application for data management and analysis. The Excel MCP server lets you read, write, and manage workbooks in OneDrive and SharePoint using natural language.

What Can It Do?

  • Create and search workbooks in OneDrive and SharePoint
  • Manage worksheets by adding, listing, and updating
  • Read and write data to cells, rows, and tables
  • Download workbooks for sharing and backup

Where to Use It

Add Excel as a tool to any agent. The agent can then interact with your spreadsheets conversationally, choosing the right actions based on context. To add an MCP tool to your agent:
  1. Open your agent’s configuration
  2. Click Add toolsConnect an app with MCP
  3. Search for the integration and select it
  4. Authenticate with your account
You can control which tools your agent has access to. After adding an integration, click on it to enable or disable specific tools based on what your agent needs.

In Workflows (Via Agent Node)

For automated pipelines, use an Agent Node with Excel tools. This gives you the flexibility of an agent within a deterministic workflow.

As a Custom MCP Node

You can also create a standalone MCP node for a specific action. This generates a reusable node that performs one task, useful when you need the same operation repeatedly in workflows.
To create a custom MCP node:
  1. Go to your node library and search for the integration
  2. Click Create a node with AI
  3. Describe the specific action you want (e.g., “Read data from the Sales worksheet”)
  4. Test the node and save it for reuse
Custom MCP nodes are single-purpose by design. For tasks that require multiple steps or dynamic decision-making, use an agent instead.

Available Tools

ToolDescription
Create WorkbookCreate a new Excel workbook
Search WorkbooksSearch workbooks in OneDrive/SharePoint
Download WorkbookGet a download URL
List WorksheetsList all worksheets
Add WorksheetAdd a new worksheet
Read WorksheetRead data from a range
Update CellsUpdate cell values
Search DataGet data from a range
Add RowAppend a row
Find RowFind a row by value
Find Or Create RowFind or create a row
Update RowUpdate a row
Delete Worksheet RowDelete a row
List TablesList all tables
Get TableGet table metadata
Add TableCreate a table
List Table RowsList rows in a table
Add Table RowAdd a row to a table
Add Table ColumnAdd a column
Update Table ColumnUpdate column data
Delete TableDelete a table

Example Prompts

Use these with your agent or in the Agent Node: Create a workbook:
Create a new workbook called "Q4 Budget" in my OneDrive
Read data:
Read the data from cells A1 to D50 in the Sales worksheet
Update cells:
Update cell C10 to "Closed Won" in the Deals workbook
Add data:
Add a new row with "Acme Inc", 25000, and "Pending" to the Sales table
Find a record:
Find the row where Company Name is "TechCorp"

Troubleshooting

IssueSolution
Agent not finding the right dataUse specific workbook names or provide the OneDrive/SharePoint path
Action not completingCheck that you’ve authenticated with Microsoft 365 and have access to the file
Unexpected resultsThe agent may chain multiple tools (e.g., listing worksheets first, then reading data). Review the agent’s reasoning to understand its approach.
Tool not availableVerify the tool is enabled in your agent’s MCP configuration
Agents are smart enough to chain multiple API calls together. For example, asking “Update the Acme row in the Sales table” will find the row first, then update it. If results seem off, check the agent’s step-by-step reasoning.

Need Help?


Use this integration directly in Claude or Cursor. Connect remotely via the Excel MCP server using your Gumloop credentials.