For the complete documentation index, see llms.txt. This page is also available as Markdown.

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.

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

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-cli

  • The URL for the Patchworks MCP server is: https://mcp.wearepatchworks.com/api/v1/mcp

The steps

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:

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?