excel-mcp-server 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of excel-mcp-server might be problematic. Click here for more details.
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: excel-mcp-server
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: MCP server for Excel file manipulation
|
|
5
|
+
Author-email: haris <haris.musa@outlook.com>
|
|
6
|
+
License-File: LICENSE
|
|
7
|
+
Requires-Python: >=3.10
|
|
8
|
+
Requires-Dist: mcp[cli]>=1.2.0
|
|
9
|
+
Requires-Dist: openpyxl>=3.1.2
|
|
10
|
+
Description-Content-Type: text/markdown
|
|
11
|
+
|
|
12
|
+
# Excel MCP Server
|
|
13
|
+
[](https://smithery.ai/server/@haris-musa/excel-mcp-server)
|
|
14
|
+
|
|
15
|
+
A Model Context Protocol (MCP) server implementation that provides Excel file manipulation capabilities without requiring Microsoft Excel installation. This server enables workbook creation, data manipulation, formatting, and advanced Excel features.
|
|
16
|
+
|
|
17
|
+
## Requirements
|
|
18
|
+
|
|
19
|
+
- Python 3.10+
|
|
20
|
+
- MCP SDK 1.2.0+
|
|
21
|
+
- OpenPyXL 3.1.2+
|
|
22
|
+
|
|
23
|
+
## Components
|
|
24
|
+
|
|
25
|
+
### Resources
|
|
26
|
+
|
|
27
|
+
The server provides Excel workbook manipulation through OpenPyXL:
|
|
28
|
+
|
|
29
|
+
- Creates and modifies Excel workbooks
|
|
30
|
+
- Manages worksheets and ranges
|
|
31
|
+
- Handles formatting and styles
|
|
32
|
+
- Supports charts and pivot tables
|
|
33
|
+
|
|
34
|
+
### Tools
|
|
35
|
+
|
|
36
|
+
This server provides a comprehensive set of Excel manipulation tools. For detailed documentation of all available tools, their parameters, and usage examples, please refer to [TOOLS.md](TOOLS.md).
|
|
37
|
+
|
|
38
|
+
The tools include capabilities for:
|
|
39
|
+
|
|
40
|
+
- Workbook and worksheet management
|
|
41
|
+
- Data reading and writing
|
|
42
|
+
- Formatting and styling
|
|
43
|
+
- Charts and visualizations
|
|
44
|
+
- Pivot tables and data analysis
|
|
45
|
+
|
|
46
|
+
See [TOOLS.md](TOOLS.md) for complete documentation.
|
|
47
|
+
|
|
48
|
+
## Features
|
|
49
|
+
|
|
50
|
+
- Full Excel Support: Comprehensive Excel functionality
|
|
51
|
+
- Data Manipulation: Read, write, and transform data
|
|
52
|
+
- Advanced Features: Charts, pivot tables, and formatting
|
|
53
|
+
- Error Handling: Comprehensive error handling with clear messages
|
|
54
|
+
|
|
55
|
+
## Usage
|
|
56
|
+
|
|
57
|
+
### Environment Configuration
|
|
58
|
+
|
|
59
|
+
The server can be configured using the following environment variables:
|
|
60
|
+
|
|
61
|
+
- `EXCEL_FILES_PATH`: Directory where Excel files will be stored (default: `./excel_files`)
|
|
62
|
+
|
|
63
|
+
You can set this in different ways:
|
|
64
|
+
|
|
65
|
+
Windows CMD:
|
|
66
|
+
|
|
67
|
+
```cmd
|
|
68
|
+
set EXCEL_FILES_PATH=C:\path\to\excel\files
|
|
69
|
+
uv run excel-mcp-server
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
Windows PowerShell:
|
|
73
|
+
|
|
74
|
+
```powershell
|
|
75
|
+
$env:EXCEL_FILES_PATH="C:\path\to\excel\files"
|
|
76
|
+
uv run excel-mcp-server
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
Linux/MacOS:
|
|
80
|
+
|
|
81
|
+
```bash
|
|
82
|
+
export EXCEL_FILES_PATH=/path/to/excel/files
|
|
83
|
+
uv run excel-mcp-server
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
Or in Claude Desktop config:
|
|
87
|
+
|
|
88
|
+
```json
|
|
89
|
+
{
|
|
90
|
+
"mcpServers": {
|
|
91
|
+
"excel": {
|
|
92
|
+
"command": "uv run excel-mcp-server",
|
|
93
|
+
"transport": "sse",
|
|
94
|
+
"env": {
|
|
95
|
+
"EXCEL_FILES_PATH": "/path/to/excel/files"
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
### Starting the Server
|
|
103
|
+
|
|
104
|
+
Start the server:
|
|
105
|
+
|
|
106
|
+
```bash
|
|
107
|
+
uv run excel-mcp-server
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
The server will start in SSE mode and wait for connections from MCP clients.
|
|
111
|
+
|
|
112
|
+
### Connecting in Cursor IDE
|
|
113
|
+
|
|
114
|
+
After starting the server, connect to the SSE endpoint in Cursor IDE:
|
|
115
|
+
|
|
116
|
+
```
|
|
117
|
+
http://localhost:8000/sse
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
The Excel MCP tools will be available through the agent.
|
|
121
|
+
|
|
122
|
+
For available tools and their usage, please refer to [TOOLS.md](TOOLS.md).
|
|
123
|
+
|
|
124
|
+
## License
|
|
125
|
+
|
|
126
|
+
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
excel_mcp_server-0.1.0.dist-info/METADATA,sha256=_vl_7ONJENa_ux1tJAMIWYcWJxbC3-A7124KD2G1bpg,3023
|
|
2
|
+
excel_mcp_server-0.1.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
3
|
+
excel_mcp_server-0.1.0.dist-info/entry_points.txt,sha256=Y1B41ocWfGxyflQD8owtWW3AGXoQU016hcSx8lG3wsw,61
|
|
4
|
+
excel_mcp_server-0.1.0.dist-info/licenses/LICENSE,sha256=arSQkay3dYSKEtesrvTavHGaScwQAsgC3kKjcw5-Tpg,1083
|
|
5
|
+
excel_mcp_server-0.1.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Haris
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|