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_…API key — find it on your account page - A Google AI Studio API key from aistudio.google.com (free tier available)
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"
}
}
}
}Activate
- Replace
pfk_YOUR_KEY_HEREwith your API key. - Restart Gemini CLI: run
geminiin your terminal. - Verify:
gemini /mcp list— look for✓ pfcreate: Connected.
Troubleshooting
Server shows Disconnected — Test with curl -H "Authorization: Bearer pfk_YOUR_KEY_HERE" https://mcp.pfcreate.ca/sse to verify connectivity.
401 errors — Check the full pfk_ prefix is present in your key.