Connecting the hosted Patchworks MCP to Gemini
Introduction
You can integrate the Patchworks MCP server with Gemini CLI and Gemini Code Assist. Both these tools use the same settings file, so adding an MCP server via the CLI will also update your Code Assist integration.
Need to know
The steps detailed below assume that Gemini CLI is installed and operational on your machine. The install command is below, or you can follow the instructions at https://geminicli.com/.
npm install -g @google/gemini-cliThe URL for the Patchworks MCP server is:
https://mcp.wearepatchworks.com/api/v1/mcp
We recommend that you do not install Gemini CLI in your root directory, as this may cause issues with permissions.
The steps
Add the Patchworks MCP via terminal/command line
Run the following command from a terminal window:
gemini mcp add Patchworks https://mcp.wearepatchworks.com/api/v1/mcp --transport http --header "Authorization: your api token here"For example:
gemini mcp add Patchworks https://mcp.wearepatchworks.com/api/v1/mcp --transport http --header "Authorization: 01kfka5brv33m0s79999999999"
You should see a 'success' confirmation. For example:

Launch Gemini CLI
Launch the Gemini CLI using the command below:
geminiGemini starts:

Confirm that the Patchworks MCP is running
Enter the command below:
/mcp listYou should see the Patchworks MCP and its tools in a ready state. For example:

Last updated
Was this helpful?