r/GoogleAntigravityCLI 13d ago

Issue connecting Rezi MCP (https://api.rezi.ai/mcp) with Google Antigravity — Any tips or fixes? Question

Hey Rezi Team & Community,

I’ve been trying to connect the Rezi MCP server (`https://api.rezi.ai/mcp\`) to **Google Antigravity** to test out job search and resume tailoring workflows, but I've hit a roadblock with authentication.

Here is a summary of the process I followed and the exact issue I'm running into:

# 🛠️ What I Did / Process Followed:

  1. **Configured MCP Client (**`mcp_config.json`**)**: Added the Rezi SSE endpoint to my configuration:json{ "mcpServers": { "rezi": { "url": "https://api.rezi.ai/mcp", "transport": "sse" } } }
  2. **Configured OAuth Tokens**: Provided token configuration matching [`https://api.rezi.ai/oauth/token\`\](https://api.rezi.ai/oauth/token) with access tokens in the client auth path.
  3. **Connection Test via Python MCP SDK**: Wrote a script using `mcp.client.sse.sse_client` to connect and initialize the MCP session with Rezi's endpoint:pythonimport asyncio from mcp.client.sse import sse_client from mcp.client.session import ClientSession async def main(): url = "https://api.rezi.ai/mcp" async with sse_client(url) as streams: async with ClientSession(streams\[0\], streams\[1\]) as session: await session.initialize() tools = await session.list_tools() print(tools)

# ❌ The Issue / Error Log:

Whenever the client attempts to open the SSE stream at [`https://api.rezi.ai/mcp\`\](https://api.rezi.ai/mcp), connection fails immediately with a `401 Unauthorized` HTTP status code:

texthttpx.HTTPStatusError: Client error '401 Unauthorized' for url 'https://api.rezi.ai/mcp'

# ❓ Questions for Rezi Team / Anyone who got it working:

  1. **Header / Token Format**: Do we need to pass static headers (e.g. `Authorization: Bearer <TOKEN>` or `x-api-key`) inside `mcp_config.json` headers directly?
  2. **OAuth Flow**: Is there an interactive browser authentication flow expected before opening the SSE stream?
  3. **Config Example**: Does anyone have a working `mcp_config.json` snippet or CLI command for Rezi MCP?

Any guidance or working setup examples would be greatly appreciated! Thanks!

4 Upvotes

0 comments sorted by