mirror of
https://github.com/haris-musa/excel-mcp-server.git
synced 2025-12-08 17:12:41 +08:00
The excel-mcp-server was using outdated FastMCP API parameters (version, description, dependencies, env_vars) that are no longer supported in the current FastMCP version. Updated the initialization to use only the supported parameters (name and instructions) to resolve the TypeError. Also added explicit dependency on fastmcp>=2.0.0,<3.0.0 to ensure compatibility with FastMCP 2.x API and prevent future breaking changes from major version updates. This fixes the "TypeError: FastMCP.__init__() got an unexpected keyword argument 'version'" error when running excel-mcp-server. Fixes #76
29 lines
597 B
TOML
29 lines
597 B
TOML
[project]
|
|
name = "excel-mcp-server"
|
|
version = "0.1.5"
|
|
description = "Excel MCP Server for manipulating Excel files"
|
|
readme = "README.md"
|
|
requires-python = ">=3.10"
|
|
dependencies = [
|
|
"mcp[cli]>=1.10.1",
|
|
"fastmcp>=2.0.0,<3.0.0",
|
|
"openpyxl>=3.1.5",
|
|
"typer>=0.16.0"
|
|
]
|
|
[[project.authors]]
|
|
name = "haris"
|
|
email = "haris.musa@outlook.com"
|
|
|
|
[project.scripts]
|
|
excel-mcp-server = "excel_mcp.__main__:app"
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/excel_mcp"]
|
|
|
|
[tool.hatch.build]
|
|
packages = ["src/excel_mcp"]
|