Overview
Gemini CLI is Google’s command-line tool for AI-assisted software development. You can connect your Logic MCP server to make Logic documents available during coding sessions.Prerequisites
- Gemini CLI installed (installation guide)
- Logic MCP server created (Quick Start guide)
- Server URL from Logic organization settings
Adding Logic MCP Server
Using Gemini Commands
Important: Run this command in your terminal, not within a Gemini CLI
session.
gemini mcp add command:
--transport http- Required for HTTP-based MCP servers like Logic--scope user- Sets the server globally for all projects (omit for project-specific configuration)[SERVER_NAME]- A name to identify this server (e.g., “logic-docs”)[MCP_SERVER_URL]- Your Logic MCP server URL from organization settings
Omit
--scope user to configure the server for only the current project
directory.Managing MCP Servers
List configured servers:Using Logic Documents
Once configured, Logic documents are available in your Gemini CLI sessions.Verifying Your Connection
To check if your Logic MCP server is connected:- Run
gemini mcp listin your terminal - Verify your Logic server shows as “Connected”
Accessing Logic Documents
Gemini CLI can automatically access your Logic documents based on the conversation context. You can:- Ask Gemini CLI to use specific Logic documents by name
- Let Gemini CLI discover and suggest relevant Logic documents
- Execute Logic documents with parameters as needed
Long-running Logic documents are handled asynchronously. Learn more about
async task execution.
Next Steps
- Learn about async tasks - Handle long-running Logic documents
- Explore document scope - Control tool availability

