Connecting the hosted Patchworks MCP to Gemini

Introduction

You can integrate the Patchworks MCP server with Gemini CLIarrow-up-right and Gemini Code Assistarrow-up-right. Both these tools use the same settings file, so adding an MCP server via the CLI will also update your Code Assist integration.

circle-info

The Gemini web app (gemini.google.comarrow-up-right) does not support custom MCP servers. For now, MCP is primarily a developer-centric tool.

Need to know

circle-exclamation

The steps

circle-info

The steps detailed below are for the macOS terminal. You should adapt as needed for your own operating system or environment.

1

Add the Patchworks MCP via terminal/command line

Run the following command from a terminal window:

Bash
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:

2

Launch Gemini CLI

Launch the Gemini CLI using the command below:

gemini

Gemini starts:

3

Confirm that the Patchworks MCP is running

Enter the command below:

/mcp list

You should see the Patchworks MCP and its tools in a ready state. For example:

circle-info

If you experience connection issues, make sure that your MCP key is correct and/or that a Patchworks MCP server is deployed.

Last updated

Was this helpful?