**Source URL:** https://limited.veevavault.dev/medical/mcp/vault-documentation-mcp-server/guides/gemini-code-assist

# Gemini Code Assist Setup

This section outlines how to connect the Vault Documentation MCP Server to Gemini Code Assist in IntelliJ. You must have the [Gemini Code Assist IntelliJ plugin](https://plugins.jetbrains.com/plugin/24198-gemini-code-assist) installed before you start this tutorial.

To add the Vault Documentation MCP Server:

<Steps>
1.  Navigate to **Settings > Tools > Gemini > MCP Servers**. Add the following JSON to the space provided, then click **OK**.
    
    ```json
    {
      "mcpServers": {
        "vault_documentation_mcp": {
          "httpUrl": "https://docs.veevavault.dev/mcp"
        }
      }
    }
    ```
    
    ---
    
2.  Wait for a popup to appear indicating that the server connected. This may take 10 seconds or so.
    
    ---
    
3.  Open Gemini Code Assist chat in **Agent Mode**, and type **`/mcp`** to list available MCP Servers.
    
    ---
    
    *   You should see the Vault Documentation MCP Server in the chat.
    
    ---
    
4.  Ask a Vault-related question. Gemini automatically calls the Vault Documentation MCP Server and appropriate tool based on the context of the question. See [Formatting MCP Queries](/medical/mcp/vault-documentation-mcp-server/guides/formatting-mcp-queries/) for best practices.
    
    ---
</Steps>

Congratulations, you've successfully connected the Vault Documentation MCP Server!

---

**Previous:** [Guides](/medical/mcp/vault-documentation-mcp-server/guides)  
**Next:** [Gemini CLI Setup](/medical/mcp/vault-documentation-mcp-server/guides/gemini-cli)