A Model Context Protocol server that integrates ClickFunnels with Claude Desktop, allowing users to list and retrieve funnels and contacts from their ClickFunnels account through natural language.
This is a Model Context Protocol (MCP) server for integrating ClickFunnels with Claude Desktop.
git clone https://github.com/illGATESmusic/click-funnels-mcp-shared.git cd click-funnels-mcp-shared
npm install
.env
file with your ClickFunnels API credentials:PORT=3002
CLICKFUNNELS_API_BASE=https://your-domain.myclickfunnels.com/api/v2
CLICKFUNNELS_WORKSPACE_ID=123456
CLICKFUNNELS_API_TOKEN=YOUR_API_TOKEN_HERE
CLICKFUNNELS_WORKSPACE_SUBDOMAIN=your-subdomain
NODE_ENV=production
npm run build
Edit your Claude Desktop config file (located at ~/Library/Application Support/Claude/claude_desktop_config.json
on Mac or appropriate location for your OS) to include this server:
{ "mcpServers": { "clickfunnels-mcp-framework": { "command": "node", "args": ["/absolute/path/to/click-funnels-mcp-shared/dist/index.js"], "env": { "PORT": "3002", "CLICKFUNNELS_API_BASE": "https://your-domain.myclickfunnels.com/api/v2", "CLICKFUNNELS_WORKSPACE_ID": "123456", "CLICKFUNNELS_API_TOKEN": "YOUR_API_TOKEN_HERE", "CLICKFUNNELS_WORKSPACE_SUBDOMAIN": "your-subdomain", "NODE_ENV": "production", "MCP_LOG_LEVEL": "debug", "MCP_LOG_TO_CONSOLE": "true", "MCP_LOG_TO_FILE": "true", "MCP_LOG_DIR": "/absolute/path/to/click-funnels-mcp-shared/logs", "NODE_OPTIONS": "--max-old-space-size=256" }, "cwd": "/absolute/path/to/click-funnels-mcp-shared" } }, "mcpServerConnections": [ { "url": "http://localhost:3002/sse" } ] }
If you encounter any issues, check the logs at:
/Users/username/Library/Logs/Claude/mcp-server-clickfunnels-mcp-framework.log
Common issues:
"No such file or directory" error:
claude_desktop_config.json
matches the absolute path to your serverServer disconnects immediately:
API connection errors:
If all else fails, run the TROUBLESHOOTING.md
script to collect diagnostic information.
This MCP server provides the following tools:
debug
- Provides debugging information about the current environmentlist_funnels
- Lists all funnels from your ClickFunnels accountget_funnel
- Gets a specific funnel by IDlist_contacts
- Lists contacts from your ClickFunnels accountIf you encounter any issues or have suggestions, please open an issue or submit a pull request.
MIT
Discover shared experiences
Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!