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

Integrating the Patchworks product documentation MCP server with Gemini

Introduction

You can integrate the Patchworks documentation 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 URL for the Patchworks product documentation MCP server is: https://doc.wearepatchworks.com/product-documentation/~gitbook/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

Open the Gemini settings file

You need to open the /.gemini/settings.json file. How you do this depends on your environment and preferred tool for editing - some common commands from a macOS terminal window are below:

Shell
nano ~/.gemini/settings.json
VS Code
code ~/.gemini/settings.json
TextEdit
open -e ~/.gemini/settings.json

Your path to /.gemini/settings.json may vary.

2

Add MCP server details

Look for an "mcpServers" section and add the details below:

Field
Summary

URL

https://doc.wearepatchworks.com/product-documentation/~gitbook/mcp

Type

Always set to: http

For example:

{
    "mcpServers": {
        "PatchworksDocs": {
            "url": "https://doc.wearepatchworks.com/product-documentation/~gitbook/mcp",
            "type": "http"
        }
    }
}

If a settings.json file does not exist in /.gemini, you should create one and paste in the example snippet above.

3

Save and exit

Save and close the settings.json file.

4

Check the new MCP server in Gemini CLI

Launch Gemini CLI (if it's already open, restart to pick up the latest settings.json file), then enter the following command:

/mcp list

This returns a list of MCP servers, and should include the one just added. For example:

Last updated

Was this helpful?