Connecting PF Create to Dify
Connecting PF Create to Dify
Difficulty: Easy — tool provider setup.
Requires: Dify Cloud or self-hosted v0.8+
Before You Start
- Your
pfk_…API key — find it on your account page
Dify Cloud Steps
- Navigate to Tools → Create Tool → select MCP Server type.
- Paste SSE URL:
https://mcp.pfcreate.ca/sse - In the auth section, add header:
Authorization: Bearer pfk_YOUR_KEY_HERE - Test connection in tool preview.
- Add the tool to your Agent or Chatflow application.
Self-Hosted Dify
Same steps as above, plus ensure MCP is enabled in your docker-compose.yml:
MCP_ENABLED=trueAdd this under the dify-api environment section and restart the service.
Troubleshooting
MCP Server type not available — Update Dify to v0.8+ and ensure MCP_ENABLED=true is set for self-hosted.
401 errors — Confirm the full pfk_ prefix is present in your key.