Skip to content

Connect opencode

Add PromptGale to opencode as a remote MCP server with OAuth sign-in, then ask AI answer engines a prompt from a country and read the cited sources.

View as Markdown

Add PromptGale to opencode as a remote MCP server at https://promptgale.com/mcp. It signs in with OAuth in the browser, so there is no key to paste.

How to connect opencode to PromptGale

  1. Add the server to opencode.json (below).
  2. Run the sign-in command below, then approve in the browser.

opencode.json

JSON
{
  "mcp": {
    "promptgale": {
      "type": "remote",
      "url": "https://promptgale.com/mcp"
    }
  }
}

Sign in

Shell
opencode mcp auth promptgale

Check that it works

Ask opencode: "Use PromptGale to check who I am connected as, then list the engines." It should call whoami and get_capabilities. Neither costs credits.

Try it

Then ask: "Use PromptGale to ask ChatGPT in the US: what is the best CRM for a small agency? List the sources it cited and tell me whether Acme is mentioned." That runs one task and costs ChatGPT's price in credits.

What opencode can do with PromptGale

Once connected, opencode can ask ChatGPT, Gemini, Perplexity, Bing Copilot Search, Meta AI, Google AI Overview, and Google AI Mode a prompt from the country you pick, and read the answer, its cited sources and where each brand ranks. For example:

  • "Ask ChatGPT and Perplexity in the US for the best CRM for a small agency, and tell me which brands they name first."
  • "Check whether Gemini mentions Acme when asked for project management tools in Germany."
  • "Run these 20 prompts on every engine as a batch and list the sites they cite most."

Running a prompt costs that engine's price in credits; reading results, credits and countries is free. The tools are listed in Connect an agent.

Next

Last updated