Bug Description
The MCP server fails to start with a SyntaxError due to incorrect indentation in gemini_docs_mcp/config.py.
Error Traceback
File ".../gemini_docs_mcp/config.py", line 20
else:
^^^^
SyntaxError: invalid syntax
Root Cause
In config.py lines 18-21, the else statement is indented incorrectly:
Line 20 should be else: (8 spaces) not else: (4 spaces).
Environment
- Python 3.12
- uvx 0.9.7
- Command:
uvx --from git+https://github.com/philschmid/gemini-api-docs-mcp gemini-docs-mcp
Bug Description
The MCP server fails to start with a
SyntaxErrordue to incorrect indentation ingemini_docs_mcp/config.py.Error Traceback
File ".../gemini_docs_mcp/config.py", line 20
else:
^^^^
SyntaxError: invalid syntax
Root Cause
In
config.pylines 18-21, theelsestatement is indented incorrectly:Line 20 should be
else:(8 spaces) notelse:(4 spaces).Environment
uvx --from git+https://github.com/philschmid/gemini-api-docs-mcp gemini-docs-mcp