Skip to content

Commit fbefe2e

Browse files
committed
fix: remove unsupported FastMCP constructor args for mcp >=1.15
FastMCP.__init__ no longer accepts **settings kwargs (changed in modelcontextprotocol/python-sdk#1198). The description and version params were never part of the Settings model and only worked because the old constructor silently accepted arbitrary keyword arguments.
1 parent 10091e5 commit fbefe2e

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

src/iterm2_focus/mcp/server.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,4 @@
33
from mcp.server.fastmcp import FastMCP
44

55
# Initialize the MCP server
6-
mcp = FastMCP(
7-
"iterm2-focus",
8-
description="Focus iTerm2 sessions by ID through MCP",
9-
version="0.1.0",
10-
)
6+
mcp = FastMCP("iterm2-focus")

0 commit comments

Comments
 (0)