Skip to content

Gemini Code Assist MCP v0.1.3 - MCP Install Fix

Latest

Choose a tag to compare

@VinnyVanGogh VinnyVanGogh released this 11 Jul 20:23

πŸ”§ Fix: MCP Install 'No Server Object Found' Error

This release resolves the critical installation issue where uv run mcp install src/main.py would fail with 'no server object found'.

πŸš€ Key Fixes

  • βœ… MCP Install Now Works: Fixed the server object exposure at module level
  • βœ… Dual Compatibility: Works with both uv run mcp install and direct execution
  • βœ… Better Error Handling: Proper synchronous server execution

πŸ“¦ Installation (Now Working!)

# Primary method (now works correctly)
git clone https://github.com/VinnyVanGogh/gemini-code-assist-mcp.git
cd gemini-code-assist-mcp
uv sync
uv run mcp install src/main.py

# Alternative manual method
claude mcp add '{
  "name": "Gemini Code Assist",
  "command": "uv",
  "args": ["run", "python", "src/main.py"],
  "cwd": "/path/to/gemini-code-assist-mcp",
  "env": {
    "GEMINI_DEBUG": "false"
  }
}'

πŸ” What Was Fixed

  1. Server Object Exposure: Added mcp, server, and app objects at module level in src/main.py
  2. Execution Method: Fixed server.run() to use synchronous execution instead of asyncio
  3. Compatibility: Maintained backward compatibility for direct execution

πŸ“– Enhanced Documentation

  • Updated installation instructions with working commands
  • Added manual installation method using claude mcp add
  • Enhanced troubleshooting for MCP connection issues
  • Added verification steps to confirm installation

πŸ§ͺ Verification

After installation, verify it works:

# Check if server is installed
claude mcp list

# Test direct execution
uv run python src/main.py

# Test CLI functionality
uv run gemini-mcp-cli version  # Should show v0.1.3

πŸ› Fixed Issues

  • ❌ uv run mcp install src/main.py β†’ "no server object found"
  • βœ… uv run mcp install src/main.py β†’ Successfully installs server

This release ensures reliable installation and setup for all users!