View as Markdown

llms.txt

Connect your AI tool

Add the WinkPG MCP server to your AI coding tool, and the agent in your editor can search this documentation, read an operation's reference, and send sandbox calls for you. Choose your tool below for the quickest way to add it.

The MCP server isn't available here

This WinkPG deployment doesn't run the MCP server, so there's no address to connect your tool to. The MCP server page describes what the server does. MCP server

Server address

This is the server's sign-in address. Your tool connects to it and asks you to sign in the first time, so there's no key to paste. Every option below uses it.

https://docs.winkpg.io/mcp/authorized

For what your tool can do with and without signing in, see Authentication.

Choose your tool

AI tool

Claude Code

Run a command

Local

claude mcp add --transport http winkpg https://docs.winkpg.io/mcp/authorized
Your user settings

claude mcp add --transport http --scope user winkpg https://docs.winkpg.io/mcp/authorized
Project

claude mcp add --transport http --scope project winkpg https://docs.winkpg.io/mcp/authorized

Add it to a configuration file

If the file already lists other servers, add only this server's entry to it.

Project: .mcp.json

{
  "mcpServers": {
    "winkpg": {
      "type": "http",
      "url": "https://docs.winkpg.io/mcp/authorized"
    }
  }
}

After you add it

Claude Code reports that WinkPG needs authentication. Run /mcp, select winkpg, and select Authenticate. A browser opens so you can sign in.

Good to know

    Use an API key instead

    If your tool can't sign in, connect to the endpoint and present a sandbox API key. The configuration reads the key from the WINKPG_API_KEY environment variable, so the key itself is never written into a file.

    Project

    claude mcp add --transport http --scope project winkpg https://docs.winkpg.io/mcp --header 'Authorization: Bearer ${WINKPG_API_KEY}'
    Project: .mcp.json

    {
      "mcpServers": {
        "winkpg": {
          "type": "http",
          "url": "https://docs.winkpg.io/mcp",
          "headers": {
            "Authorization": "Bearer ${WINKPG_API_KEY}"
          }
        }
      }
    }

    Set WINKPG_API_KEY to your API key in the environment Claude Code starts from. Claude Code reads it when it connects, so the key never appears in the configuration.

      Cursor

      Install from a link

      Add to Cursor

      Run a command

      Add it to a configuration file

      If the file already lists other servers, add only this server's entry to it.

      Project: .cursor/mcp.json

      {
        "mcpServers": {
          "winkpg": {
            "url": "https://docs.winkpg.io/mcp/authorized"
          }
        }
      }
      Your user settings: ~/.cursor/mcp.json

      {
        "mcpServers": {
          "winkpg": {
            "url": "https://docs.winkpg.io/mcp/authorized"
          }
        }
      }

      After you add it

      When Cursor first connects to WinkPG, it opens your browser so you can sign in.

      Good to know

        Use an API key instead

        If your tool can't sign in, connect to the endpoint and present a sandbox API key. The configuration reads the key from the WINKPG_API_KEY environment variable, so the key itself is never written into a file.

        Project: .cursor/mcp.json

        {
          "mcpServers": {
            "winkpg": {
              "url": "https://docs.winkpg.io/mcp",
              "headers": {
                "Authorization": "Bearer ${env:WINKPG_API_KEY}"
              }
            }
          }
        }
        Your user settings: ~/.cursor/mcp.json

        {
          "mcpServers": {
            "winkpg": {
              "url": "https://docs.winkpg.io/mcp",
              "headers": {
                "Authorization": "Bearer ${env:WINKPG_API_KEY}"
              }
            }
          }
        }

        Set WINKPG_API_KEY to your API key in the environment Cursor starts from. Cursor reads it when it connects, so the key never appears in the configuration.

          VS Code

          Install from a link

          Install in VS Code

          Run a command

          Your user settings, macOS and Linux

          code --add-mcp '{"name":"winkpg","type":"http","url":"https://docs.winkpg.io/mcp/authorized"}'
          Your user settings, Windows PowerShell

          code --add-mcp '{\"name\":\"winkpg\",\"type\":\"http\",\"url\":\"https://docs.winkpg.io/mcp/authorized\"}'

          Add it to a configuration file

          If the file already lists other servers, add only this server's entry to it.

          Project: .vscode/mcp.json

          {
            "servers": {
              "winkpg": {
                "type": "http",
                "url": "https://docs.winkpg.io/mcp/authorized"
              }
            }
          }
          Project: .mcp.json

          {
            "mcpServers": {
              "winkpg": {
                "type": "http",
                "url": "https://docs.winkpg.io/mcp/authorized"
              }
            }
          }

          After you add it

          When VS Code starts WinkPG, it asks you to sign in, and a browser opens so you can.

          Good to know

            Use an API key instead

            If your tool can't sign in, connect to the endpoint and present a sandbox API key. The configuration reads the key from the WINKPG_API_KEY environment variable, so the key itself is never written into a file.

            Project: .vscode/mcp.json

            {
              "servers": {
                "winkpg": {
                  "type": "http",
                  "url": "https://docs.winkpg.io/mcp",
                  "headers": {
                    "Authorization": "Bearer ${input:winkpg-api-key}"
                  }
                }
              },
              "inputs": [
                {
                  "type": "promptString",
                  "id": "winkpg-api-key",
                  "description": "WinkPG API key",
                  "password": true
                }
              ]
            }

            VS Code asks for your API key the first time it starts WinkPG, and stores it securely so the key never appears in the configuration.

            • To add the server for every workspace, run MCP: Open User Configuration from the Command Palette and add the entry there.

            Visual Studio

            Install from a link

            Install in Visual Studio

            Run a command

            Add it to a configuration file

            If the file already lists other servers, add only this server's entry to it.

            Your user settings: %USERPROFILE%\.mcp.json

            {
              "servers": {
                "winkpg": {
                  "type": "http",
                  "url": "https://docs.winkpg.io/mcp/authorized"
                }
              }
            }
            Project: .vs\mcp.json

            {
              "servers": {
                "winkpg": {
                  "type": "http",
                  "url": "https://docs.winkpg.io/mcp/authorized"
                }
              }
            }

            After you add it

            Visual Studio shows Authentication Required above winkpg in mcp.json. Select it, and sign in to WinkPG when your browser opens.

            Good to know

            • Installing from the link needs Visual Studio 2022 version 17.14 or later. In an earlier version, add the entry to mcp.json by hand.
            Use an API key instead

            If your tool can't sign in, connect to the endpoint and present a sandbox API key. The configuration reads the key from the WINKPG_API_KEY environment variable, so the key itself is never written into a file.

            Your user settings: %USERPROFILE%\.mcp.json

            {
              "servers": {
                "winkpg": {
                  "type": "http",
                  "url": "https://docs.winkpg.io/mcp",
                  "headers": {
                    "Authorization": "Bearer ${input:winkpg-api-key}"
                  }
                }
              },
              "inputs": [
                {
                  "type": "promptString",
                  "id": "winkpg-api-key",
                  "description": "WinkPG API key",
                  "password": true
                }
              ]
            }
            Project: .vs\mcp.json

            {
              "servers": {
                "winkpg": {
                  "type": "http",
                  "url": "https://docs.winkpg.io/mcp",
                  "headers": {
                    "Authorization": "Bearer ${input:winkpg-api-key}"
                  }
                }
              },
              "inputs": [
                {
                  "type": "promptString",
                  "id": "winkpg-api-key",
                  "description": "WinkPG API key",
                  "password": true
                }
              ]
            }

            Visual Studio asks for your API key the first time it starts WinkPG, and stores it so the key never appears in the configuration.

              Codex

              Run a command

              Your user settings

              codex mcp add winkpg --url https://docs.winkpg.io/mcp/authorized

              Add it to a configuration file

              If the file already lists other servers, add only this server's entry to it.

              Your user settings: ~/.codex/config.toml

              [mcp_servers.winkpg]
              url = "https://docs.winkpg.io/mcp/authorized"
              
              Project: .codex/config.toml

              [mcp_servers.winkpg]
              url = "https://docs.winkpg.io/mcp/authorized"
              

              After you add it

              Run codex mcp login winkpg to sign in to WinkPG. A browser opens so you can sign in.

              Good to know

              • Codex reads .codex/config.toml only in a project you've marked as trusted. Use ~/.codex/config.toml to add the server everywhere.
              Use an API key instead

              If your tool can't sign in, connect to the endpoint and present a sandbox API key. The configuration reads the key from the WINKPG_API_KEY environment variable, so the key itself is never written into a file.

              Your user settings

              codex mcp add winkpg --url https://docs.winkpg.io/mcp --bearer-token-env-var WINKPG_API_KEY
              Your user settings: ~/.codex/config.toml

              [mcp_servers.winkpg]
              url = "https://docs.winkpg.io/mcp"
              bearer_token_env_var = "WINKPG_API_KEY"
              
              Project: .codex/config.toml

              [mcp_servers.winkpg]
              url = "https://docs.winkpg.io/mcp"
              bearer_token_env_var = "WINKPG_API_KEY"
              

              Set WINKPG_API_KEY to your API key in the environment Codex starts from. Codex reads it when it connects, so the key never appears in the configuration.

              • Codex reads .codex/config.toml only in a project you've marked as trusted. Use ~/.codex/config.toml to add the server everywhere.

              JetBrains IDEs

              Run a command

              Add it to a configuration file

              If the file already lists other servers, add only this server's entry to it.

              Project: .junie/mcp/mcp.json

              {
                "mcpServers": {
                  "winkpg": {
                    "url": "https://docs.winkpg.io/mcp/authorized"
                  }
                }
              }
              Your user settings: ~/.junie/mcp/mcp.json

              {
                "mcpServers": {
                  "winkpg": {
                    "url": "https://docs.winkpg.io/mcp/authorized"
                  }
                }
              }

              After you add it

              In the Junie CLI, WinkPG shows Authorization required. Run /mcp, select winkpg, and choose Authorize. A browser opens so you can sign in.

              Good to know

              • To use the server in AI Assistant, open Settings | Tools | AI Assistant | Model Context Protocol (MCP), select Add, paste {"mcpServers":{"winkpg":{"url":"https://docs.winkpg.io/mcp"}}}, choose the Server level, and select OK.
              • AI Assistant can't sign in to an MCP server yet, so it connects without a credential and gets only the tools WinkPG offers without one.
              • AI Assistant and Junie keep separate MCP settings. To use the server in both, add it to each.
              Use an API key instead

              If your tool can't sign in, connect to the endpoint and present a sandbox API key. The configuration reads the key from the WINKPG_API_KEY environment variable, so the key itself is never written into a file.

              JetBrains IDEs can't read an API key from the environment. Connect to WinkPG without a key, or sign in instead.

                Claude Desktop and claude.ai

                Install from a link

                Add to Claude

                Run a command

                Add it to a configuration file

                If the file already lists other servers, add only this server's entry to it.

                After you add it

                Select Connect on the connector, and sign in to WinkPG when your browser opens.

                Good to know

                • To add the connector by hand, open Customize > Connectors, select Add custom connector, name it WinkPG, and enter https://docs.winkpg.io/mcp/authorized as its URL.
                • On a Team or Enterprise plan, an Owner adds the connector for everyone in Organization settings > Connectors. Each member then connects to it from Customize > Connectors.
                • Claude connects to WinkPG from its own service, not from your computer, so the server has to be reachable from the internet.
                Use an API key instead

                If your tool can't sign in, connect to the endpoint and present a sandbox API key. The configuration reads the key from the WINKPG_API_KEY environment variable, so the key itself is never written into a file.

                • Request headers is in beta and available to some organizations only. If Claude doesn't show it, connect without a key or sign in instead.
                • To add the connector by hand, open Customize > Connectors, select Add custom connector, name it WinkPG, and enter https://docs.winkpg.io/mcp as its URL.
                • Choose No sign-in, open Request headers, choose Authorization, and enter the scheme Bearer, a space, and your sandbox API key yourself. Claude stores the key, so it never appears in anything you copy from here.
                • Claude connects to WinkPG from its own service, not from your computer, so the server has to be reachable from the internet.

                Devin Desktop (formerly Windsurf)

                Run a command

                Local

                devin mcp add winkpg https://docs.winkpg.io/mcp/authorized
                Project

                devin mcp add -s project winkpg https://docs.winkpg.io/mcp/authorized
                Your user settings

                devin mcp add -s user winkpg https://docs.winkpg.io/mcp/authorized

                Add it to a configuration file

                If the file already lists other servers, add only this server's entry to it.

                Project: .devin/mcp_config.json

                {
                  "mcpServers": {
                    "winkpg": {
                      "url": "https://docs.winkpg.io/mcp/authorized"
                    }
                  }
                }
                Your user settings: ~/.config/devin/mcp_config.json (macOS and Linux); %APPDATA%\devin\mcp_config.json (Windows)

                {
                  "mcpServers": {
                    "winkpg": {
                      "url": "https://docs.winkpg.io/mcp/authorized"
                    }
                  }
                }

                After you add it

                Run devin mcp login winkpg to sign in to WinkPG, or sign in when Devin Desktop asks the first time it connects.

                Good to know

                  Use an API key instead

                  If your tool can't sign in, connect to the endpoint and present a sandbox API key. The configuration reads the key from the WINKPG_API_KEY environment variable, so the key itself is never written into a file.

                  An API key setup isn't offered for Devin Desktop yet, because reading the key from the environment isn't confirmed for its default agent. Connect to WinkPG without a key, or sign in instead.

                    Gemini CLI

                    Run a command

                    Project

                    gemini mcp add --transport http winkpg https://docs.winkpg.io/mcp/authorized
                    Your user settings

                    gemini mcp add --transport http --scope user winkpg https://docs.winkpg.io/mcp/authorized

                    Add it to a configuration file

                    If the file already lists other servers, add only this server's entry to it.

                    Project: .gemini/settings.json

                    {
                      "mcpServers": {
                        "winkpg": {
                          "type": "http",
                          "url": "https://docs.winkpg.io/mcp/authorized"
                        }
                      }
                    }
                    Your user settings: ~/.gemini/settings.json

                    {
                      "mcpServers": {
                        "winkpg": {
                          "type": "http",
                          "url": "https://docs.winkpg.io/mcp/authorized"
                        }
                      }
                    }

                    After you add it

                    Gemini CLI opens your browser so you can sign in when WinkPG asks it to. Run /mcp auth winkpg to sign in again.

                    Good to know

                    • Gemini CLI ignores .gemini/settings.json in a folder you haven't trusted. Use ~/.gemini/settings.json to add the server everywhere.
                    Use an API key instead

                    If your tool can't sign in, connect to the endpoint and present a sandbox API key. The configuration reads the key from the WINKPG_API_KEY environment variable, so the key itself is never written into a file.

                    Project

                    gemini mcp add --transport http --header 'Authorization: Bearer ${WINKPG_API_KEY}' winkpg https://docs.winkpg.io/mcp
                    Your user settings

                    gemini mcp add --transport http --scope user --header 'Authorization: Bearer ${WINKPG_API_KEY}' winkpg https://docs.winkpg.io/mcp
                    Project: .gemini/settings.json

                    {
                      "mcpServers": {
                        "winkpg": {
                          "type": "http",
                          "url": "https://docs.winkpg.io/mcp",
                          "headers": {
                            "Authorization": "Bearer ${WINKPG_API_KEY}"
                          }
                        }
                      }
                    }
                    Your user settings: ~/.gemini/settings.json

                    {
                      "mcpServers": {
                        "winkpg": {
                          "type": "http",
                          "url": "https://docs.winkpg.io/mcp",
                          "headers": {
                            "Authorization": "Bearer ${WINKPG_API_KEY}"
                          }
                        }
                      }
                    }

                    Set WINKPG_API_KEY to your API key in the environment Gemini CLI starts from. Gemini CLI reads it when it connects, so the key never appears in the configuration.

                    • Gemini CLI ignores .gemini/settings.json in a folder you haven't trusted. Use ~/.gemini/settings.json to add the server everywhere.

                    GitHub Copilot CLI

                    Run a command

                    Your user settings

                    copilot mcp add --transport http winkpg https://docs.winkpg.io/mcp/authorized

                    Add it to a configuration file

                    If the file already lists other servers, add only this server's entry to it.

                    Project: .github/mcp.json

                    {
                      "mcpServers": {
                        "winkpg": {
                          "type": "http",
                          "url": "https://docs.winkpg.io/mcp/authorized",
                          "tools": [
                            "*"
                          ]
                        }
                      }
                    }
                    Your user settings: ~/.copilot/mcp-config.json

                    {
                      "mcpServers": {
                        "winkpg": {
                          "type": "http",
                          "url": "https://docs.winkpg.io/mcp/authorized",
                          "tools": [
                            "*"
                          ]
                        }
                      }
                    }

                    After you add it

                    When Copilot CLI connects to WinkPG, it opens your browser so you can sign in. If the server shows needs-auth, run /mcp auth winkpg.

                    Good to know

                    • Copilot CLI reads .github/mcp.json only in a folder you've trusted. Use ~/.copilot/mcp-config.json to add the server everywhere.
                    Use an API key instead

                    If your tool can't sign in, connect to the endpoint and present a sandbox API key. The configuration reads the key from the WINKPG_API_KEY environment variable, so the key itself is never written into a file.

                    Your user settings

                    copilot mcp add --transport http --header 'Authorization: Bearer ${WINKPG_API_KEY}' winkpg https://docs.winkpg.io/mcp
                    Project: .github/mcp.json

                    {
                      "mcpServers": {
                        "winkpg": {
                          "type": "http",
                          "url": "https://docs.winkpg.io/mcp",
                          "tools": [
                            "*"
                          ],
                          "headers": {
                            "Authorization": "Bearer ${WINKPG_API_KEY}"
                          }
                        }
                      }
                    }
                    Your user settings: ~/.copilot/mcp-config.json

                    {
                      "mcpServers": {
                        "winkpg": {
                          "type": "http",
                          "url": "https://docs.winkpg.io/mcp",
                          "tools": [
                            "*"
                          ],
                          "headers": {
                            "Authorization": "Bearer ${WINKPG_API_KEY}"
                          }
                        }
                      }
                    }

                    Set WINKPG_API_KEY to your API key in the environment GitHub Copilot CLI starts from. GitHub Copilot CLI reads it when it connects, so the key never appears in the configuration.

                    • Copilot CLI reads .github/mcp.json only in a folder you've trusted. Use ~/.copilot/mcp-config.json to add the server everywhere.

                    Use the CLI instead

                    The integrator CLI finds the AI tools on your machine and adds the server to each of them. It needs no API key. Run it again at any time: a tool that already has the server is left as it is.

                    Get the CLI

                    winkpg-integrator mcp install --portal-url https://docs.winkpg.io

                    To set up one project instead, run setup from the project's root. It adds the server to the project's .mcp.json without touching any other server the file lists, installs agent instructions that point your agent at this documentation, and checks that your sandbox API key works before it writes anything:

                    Get the CLI

                    winkpg-integrator setup

                    Both commands write the sign-in address where this instance offers it, and the endpoint otherwise. Neither writes a key or an Authorization header. If your tool needs to present an API key, run winkpg-integrator mcp install --scope project --api-key-mode instead. It names the WINKPG_API_KEY environment variable and never the key itself.

                    Before you connect

                    • Your tool asks you to approve the server the first time it starts it. Check that the address is the one on this page before you approve it.
                    • A project configuration file is meant to be committed, so everyone on your team gets the server. It holds an address, and in the API key form the name of an environment variable, but never a key.

                    For which keys the server accepts and how it handles them, see Connecting with an API key.

                    For each tool your agent can call once it connects, and what it needs, see Tools.

                    Reconnecting to the server

                    Could not reconnect

                    This session has ended

                    Attempt 1

                    Your work on this page is still here. Retrying keeps it; reloading starts the page again.

                    The server no longer holds this page's state, so it has to be loaded again.