Connecting PF Create to Zed
Connecting PF Create to Zed
Difficulty: Moderate — Zed routes remote SSE servers through a local bridge.
Requires: Zed v0.18+, Node.js (for mcp-remote bridge)
Before You Start
- Your
pfk_…API key — find it on your account page - Install the mcp-remote bridge:
npm install -g mcp-remote
Why a Bridge?
Zed does not natively pass auth headers for remote SSE servers. The mcp-remote bridge proxies the connection and injects the Authorization header on your behalf.
Config File
Edit ~/.config/zed/settings.json (global) or .zed/settings.json (project) and add or merge the context_servers block:
{
"context_servers": {
"pfcreate": {
"command": {
"path": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.pfcreate.ca/sse",
"--header",
"Authorization: Bearer pfk_YOUR_KEY_HERE"
]
}
}
}
}Activate
- Replace
pfk_YOUR_KEY_HEREwith your API key. - Restart Zed.
- Open the Assistant panel — PF Create tools will be listed.
Troubleshooting
mcp-remote not found — Run npm install -g mcp-remote and confirm npx is in your PATH.
Tools not listed — Confirm the settings JSON is valid and restart Zed fully.