Connecting PF Create to Gemini CLI
Connecting PF Create to Gemini CLI
Difficulty: Easy — one terminal command or config edit.
Requires: Node.js 20+, a Google account, and a Google AI Studio API key (free)
Before You Start
- Your
pfk_…Portal Access Key — log in at user.pfcreate.ca, select Security from the menu, click Rotate Portal Access Key, and copy the key immediately. It will not be shown again. - A Google AI Studio API key from aistudio.google.com
Install Gemini CLI
npm install -g @google/gemini-cliQuick Command
gemini mcp add pfcreate https://mcp.pfcreate.ca/sse --transport sse --header "Authorization: Bearer pfk_YOUR_KEY_HERE"Manual Config
Edit ~/.gemini/settings.json:
{
"mcpServers": {
"pfcreate": {
"url": "https://mcp.pfcreate.ca/sse",
"headers": {"Authorization": "Bearer pfk_YOUR_KEY_HERE"}
}
}
}Troubleshooting
401 errors — Check the full pfk_ prefix is present.