Install PineLabs Plural PG — Payment Gateway MCP Server in Gemini CLI
What you need first
- Gemini CLI, installed.
- Nothing else: the server runs on its publisher's machines and Gemini CLI connects to it.
- Your own values for
YOUR_X_CLIENT_ID,YOUR_X_CLIENT_SECRET.
Steps
- Open
~/.gemini/settings.json, or create it. For one project only, use.gemini/settings.jsonin that project. - Add this block. If the file already has
mcpServers, add only the entry inside it.
{
"mcpServers": {
"pinelabs-online-mcp": {
"httpUrl": "https://mcp.pinelabs.com/mcp",
"headers": { "X-Client-Id": "YOUR_X_CLIENT_ID", "X-Client-Secret": "YOUR_X_CLIENT_SECRET" }
}
}
} - Replace
YOUR_X_CLIENT_ID,YOUR_X_CLIENT_SECRETwith your own values. - Save the file and restart Gemini CLI.
Check it worked
Ask Gemini CLI: List the tools of pinelabs-online-mcp.
If it does not start
- 401 Unauthorized
- The endpoint wants a sign-in or a key. Sign in when Gemini CLI asks, or check the value in place of the placeholder.
- The server starts, but its tools fail
- A
YOUR_…placeholder is still in the config, or its value is wrong. - Nothing changes after a restart
- The file is not valid JSON any more. Look for a missing comma where the block was added.