Files
excel-mcp-server/pyproject.toml
Luke Memet 89302b8deb Fix FastMCP compatibility issue and update dependencies (#77)
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
2025-08-01 12:30:24 +05:00

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"]