ClickFunnels MCP Framework

ClickFunnels MCP Framework

This is a Model Context Protocol (MCP) server for integrating ClickFunnels with Claude Desktop.

Setup Instructions

  1. Clone this repository:
git clone https://github.com/illGATESmusic/click-funnels-mcp-shared.git cd click-funnels-mcp-shared
  1. Install dependencies:
npm install
  1. Update the .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
  1. Build the project:
npm run build
  1. Update your Claude Desktop config:

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" } ] }
  1. Restart Claude Desktop to apply the changes.

Troubleshooting

If you encounter any issues, check the logs at:

  • /Users/username/Library/Logs/Claude/mcp-server-clickfunnels-mcp-framework.log

Common issues:

  1. "No such file or directory" error:
    • Make sure all required directories exist (logs, tools, prompts, resources)
    • Ensure the path in claude_desktop_config.json matches the absolute path to your server
    • The "cwd" field in the configuration is critical for proper path resolution
  2. Server disconnects immediately:
    • Check that you're using the correct server name in the configuration
    • Verify all environment variables are correctly set
    • Make sure logs directory exists and is writable
  3. API connection errors:
    • Verify your ClickFunnels API credentials are correct
    • Check if you've reached any API rate limits

If all else fails, run the TROUBLESHOOTING.md script to collect diagnostic information.

Available Tools

This MCP server provides the following tools:

  • debug - Provides debugging information about the current environment
  • list_funnels - Lists all funnels from your ClickFunnels account
  • get_funnel - Gets a specific funnel by ID
  • list_contacts - Lists contacts from your ClickFunnels account

Contributing

If you encounter any issues or have suggestions, please open an issue or submit a pull request.

License

MIT

-
security - not tested
-
license - not tested
-
quality - not tested

local-only server

The server can only run on the client's local machine because it depends on local resources.

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.

  1. Setup Instructions
    1. Troubleshooting
      1. Available Tools
        1. Contributing
          1. License

            Related MCP Servers

            • -
              security
              A
              license
              -
              quality
              A Model Context Protocol server that enables Large Language Models to seamlessly interact with ClickHouse databases, supporting resource listing, schema retrieval, and query execution.
              Last updated -
              1
              Python
              MIT License
              • Linux
              • Apple
            • -
              security
              A
              license
              -
              quality
              A Model Context Protocol server that enables Claude to interact with the ConnectWise Manage API to perform operations like retrieving, creating, updating, and deleting tickets, companies, contacts, and other entities.
              Last updated -
              JavaScript
              MIT License
              • Apple
            • -
              security
              F
              license
              -
              quality
              A Model Context Protocol server implementation that provides a standardized interface for interacting with Spiral's language models, offering tools to generate text from prompts, files, or web URLs.
              Last updated -
              14
              Python
              • Linux
              • Apple
            • -
              security
              A
              license
              -
              quality
              A Model Context Protocol server that enables Large Language Models to interact with ClickUp workspace tasks and data, allowing creation and retrieval of tasks through natural language.
              Last updated -
              59
              TypeScript
              MIT License
              • Apple

            View all related MCP servers

            ID: jdgeilxf62