Skip to content

Commit 63fe720

Browse files
matinclaude
andauthored
Fix FastMCP initialization compatibility issue (#10)
* Fix FastMCP initialization by removing unsupported version parameter Removes the 'version' parameter from FastMCP.__init__() call which is no longer supported in current versions of the FastMCP library. This resolves the TypeError that prevented the MCP server from starting. Fixes #9 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]> * Bump version to 0.0.8 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]> --------- Co-authored-by: Claude <[email protected]>
1 parent ad998bd commit 63fe720

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/garth_mcp_server/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
from mcp.server.fastmcp import FastMCP
88

99

10-
__version__ = "0.0.7"
10+
__version__ = "0.0.8"
1111

12-
server = FastMCP("Garth - Garmin Connect", dependencies=["garth"], version=__version__)
12+
server = FastMCP("Garth - Garmin Connect", dependencies=["garth"])
1313

1414

1515
def requires_garth_session(func):

0 commit comments

Comments
 (0)