๐Ÿ”ง MCP Server Configuration - Excel Custom

Complete guide to configure the MCP (Model Context Protocol) server for searches on Excel files with your AI4CALL assistant

MCP Server Configuration - Excel Custom

Go to "MARKET" โ†’ "Marketplace Plugin" and click Purchase for "Excel Search" โ†’ FREE

Go to "MARKET" โ†’ "My Plugins" and click Configure for "Excel Search"

โš ๏ธ Third-party services

The integrations described refer to third-party services.
Rate limits, authentication methods, technical configurations, costs, and policies are defined exclusively by the respective providers and may change over time.

Costs for external services are borne directly by the end user to the service providers themselves and are in no way managed or mediated by our portal (e.g., Meta or other providers for WhatsApp, Zapier, Calendly, etc.).

โš ๏ธ IMPORTANT TO KNOW BEFORE STARTING
The MCP server can expose ONLY ONE Excel file at a time as the "search_excel" tool.

You can upload and configure as many files as you want, but the AI assistant will only be able to use the one you have explicitly activated with the "ACTIVATE EXCEL" button.

When you activate a new file, the MCP server automatically replaces the previous file. Other files remain saved in the system but are not exposed as tools until activation.

Upload new Excel
Configuration screen: file upload, worksheet selection, tool and column definition
1

Upload your Excel file

Start by uploading the Excel file that contains the data you want to search on.

๐ŸŽฏ What to do:
  • Go to the "Upload New Excel" section
  • Click on "Choose file"
  • Select the file from your computer (supported formats: .xlsx, .xls)
  • The file will appear in the "Available Excel" list
๐Ÿ’ก Note well
The first uploaded file is automatically pre-selected as "Excel to configure", but it is NOT yet active for the MCP server until you complete all configuration steps and click "ACTIVATE EXCEL"!

You can upload multiple files and configure them all, but remember: the MCP server will only use the one you have explicitly activated.
2

Select the worksheet

The MCP server can work on ONLY ONE sheet at a time. Choose which specific sheet of your Excel file you want to expose as searchable.

๐ŸŽฏ What to do:
  • In the "Excel to configure" section, select the file you want to configure from the dropdown list
  • Scroll to the "Select Worksheet" section
  • Open the dropdown menu and choose the sheet you are interested in
  • You will see information like: "OperationalStatistics (29 columns, 1000 rows)"
โš ๏ธ Attention
When you select a sheet, the MCP server will read ALL columns of that sheet and show them in the next section for mapping.

If your Excel has multiple sheets (e.g., "January", "February", "September"), you must choose which specific sheet to expose. You cannot activate multiple sheets simultaneously - the MCP server will only work on the selected sheet.

Make sure to choose the correct sheet before proceeding with column mapping!
3

Configure the MCP tool

Define the parameters that the assistant will use to identify and use this specific Excel file via the MCP server.

๐Ÿ”Œ How does the MCP server work?
The Model Context Protocol (MCP) is a server that exposes "tools" to the AI assistant. When you configure this Excel:
  • The MCP server creates a tool called "search_excel"
  • The tool description tells the LLM: "When the user asks for X, invoke this tool"
  • The mapped columns become the tool's dynamic parameters
  • The column descriptions tell the LLM: "To search for Y, use parameter Z"

In practice: The more precise and detailed you are in the descriptions, the better the assistant will understand WHEN and HOW to use this Excel!
๐Ÿ“ Fields to fill:
  • Tool Name: REQUIRED
    Unique identifier for the MCP tool (e.g., Excel_OCClient_1 or Excel_September)
    โ†’ The assistant will use this name to invoke the tool via MCP
  • Max Results: REQUIRED
    Maximum number of rows to return in a search (e.g., 100)
    โ†’ Technically limits the results returned by the MCP server
  • Description: FUNDAMENTAL
    Clearly explain what this Excel contains and when to use it
    CORRECT Example: "Complete customer database with call history and operational data for October 2024"
    WRONG Example: "Excel File" or "Data"
    โ†’ The LLM uses this description to decide IF to invoke this tool! Be specific!
๐Ÿ’ก Examples of effective descriptions for the MCP tool
Instead of writing generic descriptions, be SPECIFIC about the content and usage:

โŒ WRONG: "Customer Excel file"
โœ… CORRECT: "Complete database of active customers with call history, operational data and statistics for the month of October 2024"

โŒ WRONG: "September data"
โœ… CORRECT: "Weekly operational statistics of all call center operators for the period September 1-30, 2024, includes response times and number of calls handled"

โŒ WRONG: "Sonixis excel"
โœ… CORRECT: "Report exported from Sonixis containing technical and demographic details of all received calls, with timestamp, duration, outcome and operator identifier"

Why is this important?
The LLM reads these descriptions to understand IF it should invoke this tool. The more detailed you are about WHAT it contains and WHEN to use it, the better the assistant will understand when to search in this Excel instead of giving a generic answer.
4

Map the searchable columns

This is the MOST IMPORTANT part: decide which columns of your Excel can be used by the assistant for searches.

โš ๏ธ GOLDEN RULE
Only columns with the toggle ACTIVE (๐ŸŸข) will be searchable!
Disabled columns (โšช) exist in the file but the assistant will NOT be able to use them as search filters.
โš ๏ธ ATTENTION TO DATA TYPE
The data type directly influences how the MCP server performs searches:
  • Text: search by content/similarity (e.g., "Mario" finds "Mario Rossi")
  • Number: exact comparison or by range (e.g., searching "42" finds only exactly 42, not "42abc")
  • Date: temporal comparison (e.g., after, before, between dates)
  • Boolean: true/false values (true/false, 1/0)

If you get the type wrong, searches will fail! E.g., if a column contains numbers like customer ID (12345) but you set "Text", the comparison will not work correctly.
๐Ÿ—‚๏ธ For each column you must configure:
  • Enabled: Toggle ON/OFF (๐ŸŸข/โšช) CRITICAL
    โ†’ Only ENABLED columns (๐ŸŸข) become available parameters in the MCP tool!
    โ†’ If you disable a column, the assistant will NOT be able to search on it, even if it exists in the file
  • Column: Automatic name detected from the Excel sheet header
    โ†’ E.g., "Id", "User", "IdOperator", "AfterCallWork", "Staffed"
  • Type: REQUIRED
    Data format - needed by the MCP to make correct comparisons
    Options: Text (search by similarity), Number (exact/range comparison), Date (temporal comparison), Boolean (true/false)
    โ†’ IMPORTANT: Choose the correct type! If you put "Text" on a numeric column, searches will fail!
  • Description: FUNDAMENTAL
    Explain what the column contains and when the LLM should use it
    CORRECT Examples:
    • "Unique identifying customer code"
    • "Full name of the operator who handled the call"
    • "Timestamp of the call date and time"
    • "Phone number of the customer who called"

    WRONG Examples: "Id", "Data", "Field"
    โ†’ The LLM uses this description to understand ON WHICH column to search when the user asks a question!
๐Ÿ’ก Practical example of MCP mapping
You have an Excel with customer data. You want the assistant to be able to search by customer name and city, but NOT by internal notes:

Mapping configuration:
  • โœ… Column "CUSTOMER" โ†’ Toggle ON (๐ŸŸข)
    โ€ข Type: Text
    โ€ข Description: "Full name of the customer (surname and name)"
  • โœ… Column "CITY" โ†’ Toggle ON (๐ŸŸข)
    โ€ข Type: Text
    โ€ข Description: "Customer's city of residence"
  • โŒ Column "INTERNAL_NOTES" โ†’ Toggle OFF (โšช)
    โ€ข Not configured = not searchable

MCP Result: The server generates a tool with dynamic parameters CUSTOMER and CITY

Usage example:
User asks: "Search Mario Rossi in Milan"
โ†’ The LLM invokes: search_excel(CUSTOMER="Mario Rossi", CITY="Milan")
โ†’ The assistant finds results filtered by both parameters
โ†’ INTERNAL_NOTES are not accessible to the assistant
๐Ÿ“Š Progress indicator
At the top you will see a counter like (3/29) indicating:
โ†’ 3 mapped columns (activated)
โ†’ 29 total columns available in the sheet
5

Activate the Excel for the MCP server

Final step: make the Excel file effectively exposed by the MCP server to the AI assistant.

โš ๏ธ โš ๏ธ DO NOT FORGET THIS STEP!
Even if you have configured everything perfectly, if you do not click "ACTIVATE EXCEL" the MCP tool will NOT be exposed!
This final step "tells" the MCP server: "Use THIS file when the assistant invokes the search_excel tool"
๐ŸŽฏ What to do:
  • After completing the configuration and column mapping
  • Scroll to the bottom of the page
  • You will find a green button labeled "ACTIVATE EXCEL"
  • Click on it
  • The MCP server will load this file and expose it as a tool available to the assistant
๐Ÿ”Œ What happens when you activate the Excel?
When you click "ACTIVATE EXCEL":
  1. The MCP server loads the selected file into memory
  2. Creates a tool called search_excel with dynamic parameters based on the mapped columns
  3. Exposes the tool to the AI assistant with the description you wrote
  4. The assistant can now invoke the tool when the user asks relevant questions

If there was another Excel active, it is automatically deactivated and replaced with the new one.
๐Ÿ”„ Change active file
If in the future you want to use another Excel file:
  1. Select the new file from the "Excel to configure" list
  2. Click on "ACTIVATE EXCEL"
  3. The old file will be automatically deactivated by the MCP server
  4. The new file becomes the one exposed as a tool to the assistant

Important: Only one file at a time can be exposed by the MCP server. It is not possible to have 2 Excel files active simultaneously.
โœ… Configuration completed!
Once the Excel is activated, the MCP server will expose the search_excel tool to the assistant. The AI can now invoke this tool to search for information in the data you configured.

Try asking the assistant a question that requires searching in your Excel data!

๐ŸŽฏ QUICK RECAP - MCP Server Configuration
  1. Upload the Excel file โ†’ "Upload New Excel" section
  2. Select the worksheet โ†’ "Select Worksheet" dropdown
  3. Configure MCP tool: Unique name + DETAILED DESCRIPTION (fundamental!) + Max results
  4. Map columns: Activate toggle (๐ŸŸข) + Correct type + SPECIFIC DESCRIPTION for each column
  5. Activate the Excel โ†’ Green button "ACTIVATE EXCEL" (without this it does NOT work!)

โšก REMEMBER: The descriptions (of the tool and columns) are FUNDAMENTAL because they are read by the LLM to understand WHEN to invoke the MCP tool and WHICH parameters to use. They are not optional!

โ“ Frequently Asked Questions

Answers to the most common questions about Excel Custom configuration

No. The MCP server can expose only one Excel file at a time as the "search_excel" tool. You can upload and configure multiple files, but only the one activated with the "ACTIVATE EXCEL" button will be usable by the assistant. Others remain saved but are not exposed.

Select the new file from the "Excel to configure" list, then click "ACTIVATE EXCEL". The MCP server will automatically replace the previous file with the new one. The replacement is instantaneous.

Unmapped columns (with toggle deactivated) do NOT become parameters of the MCP tool. The assistant will not be able to search on those columns, even if the data exists in the file. Only columns with active toggle are exposed as searchable parameters.

The description is read by the LLM to decide WHEN to invoke the MCP tool. If you write "Excel File" the AI won't know when to use it. If you write "Customer database with call history for October 2024" the AI will understand exactly when to search in this file. The more specific you are, the better it works.

The LLM uses column descriptions to understand ON WHICH parameter to search. If the user asks "search for customer Mario Rossi", the AI needs to know that "CUSTOMER" is the correct column to use. Without clear descriptions, the AI doesn't know which parameter to invoke in the MCP tool.

The data type determines how the MCP server performs comparisons: Text = search by similarity/content, Number = exact comparison or by range, Date = temporal comparison, Boolean = true/false. If you get the type wrong (e.g., put Text on numeric IDs), searches will fail.

No. The MCP server works on ONLY ONE sheet at a time. If your Excel has multiple sheets, you must choose which specific sheet to expose in the "Select Worksheet" section. It is not possible to activate multiple sheets of the same file simultaneously.

The MCP server loads the selected file into memory, creates the "search_excel" tool with dynamic parameters based on the mapped columns, and exposes it to the AI assistant with the configured description. From that moment the assistant can invoke the tool to search in the data.

In the "Mapping Columns" section you will see a counter like (3/29) indicating: 3 mapped columns (activated) out of 29 total columns available in the sheet. The number changes in real time as you activate/deactivate toggles.

Yes. You can go back to the configuration, modify the mapped columns (activate/deactivate toggle, change types, update descriptions) and then click "ACTIVATE EXCEL" again to apply the changes. The MCP server will reload the file with the new configuration.

Technically limits the maximum number of rows that the MCP server returns in a single tool call. If you set 100 and the search finds 500 results, the server will return only the first 100. Prevents overly long responses that could saturate the LLM context.

Yes. The assistant can invoke the MCP tool passing multiple parameters simultaneously. For example: search_excel(CUSTOMER="Mario Rossi", CITY="Milan") will search for results matching BOTH criteria. All mapped columns can be used together.

If you delete the currently active file, the MCP tool will stop working immediately. The assistant will no longer be able to invoke search_excel until you activate another configured Excel file. Other uploaded files are not affected by the deletion.

No. The tool name must be unique. If you try to create two configurations with the same name (e.g., "Excel_Customers"), the MCP server will have a conflict. Use different names like "Excel_Customers_January", "Excel_Customers_February" to distinguish them.

The MCP server reads only the RESULTING VALUES of the cells, not the formulas. If a cell contains a formula that calculates "100", the server will see "100". Formulas are not executed by the MCP server, only the already calculated values in the file are read.


Some of the ai4call users