Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion core/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@

WORKSPACE_MCP_PORT = int(os.getenv("PORT", os.getenv("WORKSPACE_MCP_PORT", 8000)))
WORKSPACE_MCP_BASE_URI = os.getenv("WORKSPACE_MCP_BASE_URI", "http://localhost")
USER_GOOGLE_EMAIL = os.getenv("USER_GOOGLE_EMAIL", None)

# Transport mode detection (will be set by main.py)
_current_transport_mode = "stdio" # Default to stdio
Expand Down Expand Up @@ -157,8 +158,8 @@ async def oauth2_callback(request: Request) -> HTMLResponse:

@server.tool()
async def start_google_auth(
user_google_email: str,
service_name: str,
user_google_email: str = USER_GOOGLE_EMAIL,
mcp_session_id: Optional[str] = Header(None, alias="Mcp-Session-Id")
) -> str:
"""
Expand Down
Loading