Microsoft Excel -automaation Käyttöönotto Clauden Avulla
Määritetään ja testataan Excel MCP -palvelin.
- Kopioi tämä komento ja suorita se Claudessa:
Add excel mcp server credentials to the Claude config file:
uvx excel-mcp-server stdio
Varmistaaksesi, käytä pikanäppäintä Command + ,
tai Ctrl + ,
, tai avaa Asetukset → Kehittäjä-välilehti → Muokkaa asetuksia, ja tarkista tiedosto tekstieditorissa. Excel MCP -lohkon tulisi näkyä lisättynä.
- Sulje Claude kokonaan (Mac:
Cmd + Q
, Windows:Alt + F4
); - Käynnistä Claude uudelleen;
Testaa Excel MCP -palvelin
Poista käytöstä Desktop Commander MCP, jotta Claude käyttää nimenomaan Excel MCP:tä. Tiedosto, jossa on tietoaineisto, liitetään mukaan, koska ilman Desktop Commanderia Claude ei voi käyttää paikallisia tiedostoja.
- Avaa uusi Claude-keskustelu ja lähetä tämä kehotus:
Create a new excel workbook on my desktop. Build a pivot table
that groups the data by the product column and summarize the total
quantity and the total revenue for each product. Use the attached file.
Use only python libraries for analysis.
- Liitä mukaan CSV-tiedosto;
- Suorita kehotus.
Jos Claude ei luo Excel-tiedostoa työpöydälle, täsmennä seuraavasti:
Run the script, but don't create excel since I want to test new excel mcp
- Kun Claude pyytää lupaa käyttää Excel MCP AI -agenttia, valitse Salli aina tai Salli kerran;
- Jos tiedostoa ei luotu aiemmin pyydettyyn kansioon, täsmennä seuraavalla kehotuksella, esimerkiksi:
Move the file onto Desktop
- Tarkista uusi tiedosto ja harjoittele kehotteiden käyttöä sen parantamiseksi.
Kiitos palautteestasi!
Kysy tekoälyä
Kysy tekoälyä
Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme
What are the main features of the Excel MCP server?
How do I set up the Excel MCP server in Cloud?
Can you explain how to use the Excel MCP server for creating and managing Excel files?
Awesome!
Completion rate improved to 8.33
Microsoft Excel -automaation Käyttöönotto Clauden Avulla
Pyyhkäise näyttääksesi valikon
Määritetään ja testataan Excel MCP -palvelin.
- Kopioi tämä komento ja suorita se Claudessa:
Add excel mcp server credentials to the Claude config file:
uvx excel-mcp-server stdio
Varmistaaksesi, käytä pikanäppäintä Command + ,
tai Ctrl + ,
, tai avaa Asetukset → Kehittäjä-välilehti → Muokkaa asetuksia, ja tarkista tiedosto tekstieditorissa. Excel MCP -lohkon tulisi näkyä lisättynä.
- Sulje Claude kokonaan (Mac:
Cmd + Q
, Windows:Alt + F4
); - Käynnistä Claude uudelleen;
Testaa Excel MCP -palvelin
Poista käytöstä Desktop Commander MCP, jotta Claude käyttää nimenomaan Excel MCP:tä. Tiedosto, jossa on tietoaineisto, liitetään mukaan, koska ilman Desktop Commanderia Claude ei voi käyttää paikallisia tiedostoja.
- Avaa uusi Claude-keskustelu ja lähetä tämä kehotus:
Create a new excel workbook on my desktop. Build a pivot table
that groups the data by the product column and summarize the total
quantity and the total revenue for each product. Use the attached file.
Use only python libraries for analysis.
- Liitä mukaan CSV-tiedosto;
- Suorita kehotus.
Jos Claude ei luo Excel-tiedostoa työpöydälle, täsmennä seuraavasti:
Run the script, but don't create excel since I want to test new excel mcp
- Kun Claude pyytää lupaa käyttää Excel MCP AI -agenttia, valitse Salli aina tai Salli kerran;
- Jos tiedostoa ei luotu aiemmin pyydettyyn kansioon, täsmennä seuraavalla kehotuksella, esimerkiksi:
Move the file onto Desktop
- Tarkista uusi tiedosto ja harjoittele kehotteiden käyttöä sen parantamiseksi.
Kiitos palautteestasi!