Merge pull request #222 from lingfengchencn/patch-2

fix fastmcp version ,python path valueError
This commit is contained in:
Jeremiah Lowin 2025-04-23 11:35:36 -07:00 committed by GitHub
commit d6bf0b98c8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -186,7 +186,7 @@ def version(ctx: Context):
"MCP version": importlib.metadata.version("mcp"),
"Python version": platform.python_version(),
"Platform": platform.platform(),
"FastMCP root path": f"~/{Path(__file__).resolve().parents[3].relative_to(Path.home())}",
"FastMCP root path": Path(fastmcp.__file__).resolve().parents[1],
}
g = Table.grid(padding=(0, 1))