diff --git a/pyproject.toml b/pyproject.toml index c3ea15c..b5e1cd5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "mcp-familywall" -version = "0.1.1" +version = "0.1.2" description = "MCP server for Family Wall — read your family's lists and tasks via Claude" readme = "README.md" requires-python = ">=3.12" diff --git a/src/mcp_familywall/__init__.py b/src/mcp_familywall/__init__.py index 485f44a..b3f4756 100644 --- a/src/mcp_familywall/__init__.py +++ b/src/mcp_familywall/__init__.py @@ -1 +1 @@ -__version__ = "0.1.1" +__version__ = "0.1.2" diff --git a/src/mcp_familywall/cli.py b/src/mcp_familywall/cli.py index b858b0e..9e8af66 100644 --- a/src/mcp_familywall/cli.py +++ b/src/mcp_familywall/cli.py @@ -44,7 +44,7 @@ def setup() -> None: click.echo("mcp-familywall setup\n") - email = click.prompt("Family Wall email") + email = click.prompt("Family Wall E-Mail") password = click.prompt("Family Wall password", hide_input=True) # Verify credentials diff --git a/src/mcp_familywall/fw_client.py b/src/mcp_familywall/fw_client.py index c66e975..319f237 100644 --- a/src/mcp_familywall/fw_client.py +++ b/src/mcp_familywall/fw_client.py @@ -101,10 +101,18 @@ class FamilyWallClient: if "ex" in body or "un" in body: error_data = body.get("ex", body.get("un")) + print( + f"[LOGIN ERROR] status={response.status_code} body={body}", + file=sys.stderr, + ) msg = f"Login failed: {error_data}" raise FamilyWallError(msg, response_data=body) if "r" not in body: + print( + f"[LOGIN ERROR] status={response.status_code} body={body}", + file=sys.stderr, + ) raise FamilyWallError("Login failed: unexpected response format", response_data=body) # Extract JSESSIONID from the Set-Cookie header