FluentCRM MCP Server

FluentCRM MCP Server

Enables management of FluentCRM marketing automation directly from Cursor, including contact management, tags, lists, campaigns, automations, and webhooks. Allows users to interact with their FluentCRM WordPress plugin through natural language conversations with Claude.

Category
访问服务器

README

🚀 FluentCRM MCP Server

MCP Server for FluentCRM - manage your entire marketing automation directly from Cursor!


📋 Table of Contents


What is MCP Server?

MCP (Model Context Protocol) is a new standard from Anthropic that allows AI models (including Claude in Cursor) to connect to external systems.

This MCP Server allows you to:

Manage tags - create, delete, assign to contacts
Edit lists - create lists, add/remove contacts
Create campaigns - send emails to user segments
Automations - manage funnels (automations)
Webhooks - configure webhooks to FluentCRM
Reports - fetch statistics and metrics
Smart Links - manage smart links (when API becomes available)

Everything directly from Cursor, in conversation with Claude!


Requirements

  • ✅ Node.js 18+
  • ✅ npm or yarn
  • ✅ Access to FluentCRM API (your WordPress domain)
  • ✅ Cursor with MCP support
  • ✅ API Key from FluentCRM (generate in Settings → Rest API)

Installation

Step 1: Clone repository or copy files

cd /path/to/your/fluentcrm-mcp-server

Step 2: Install dependencies

npm install

Step 3: Build TypeScript

npm run build

You should see:

✅ dist/fluentcrm-mcp-server.js (compiled)

Step 4: Test connection

export FLUENTCRM_API_USERNAME="your_username"
export FLUENTCRM_API_PASSWORD="your_password"
npm start

You should see:

🚀 FluentCRM MCP Server running on stdio
📡 API URL: https://your-domain.com/wp-json/fluent-crm/v2
👤 Username: your_username

Press CTRL+C to stop.


Configuration

1. Get API Credentials from FluentCRM

Step by step:

  1. Log in to WordPress: https://your-domain.com/wp-admin

  2. Go to: FluentCRM → Settings → Managers

  3. Click Add New Manager

  4. Enter:

    • Name: MCP Server (or something else)
    • Role: Subscriber (sufficient)
    • Permissions: Check all FluentCRM permissions
  5. Click Save Manager

  6. Go to: FluentCRM → Settings → Rest API

  7. Click Create New Key

  8. Select the manager you just created

  9. Click Confirm

  10. Copy:

    • Username (API_USERNAME)
    • Application Password (API_PASSWORD)

2. Set environment variables

Option A: Edit .env file

# .env
FLUENTCRM_API_USERNAME=your_api_username
FLUENTCRM_API_PASSWORD=your_api_password
FLUENTCRM_API_URL=https://your-domain.com/wp-json/fluent-crm/v2

Option B: Export from terminal

export FLUENTCRM_API_USERNAME="your_api_username"
export FLUENTCRM_API_PASSWORD="your_api_password"

3. Cursor Configuration (MCP)

  1. Open Cursor
  2. Press Cmd+Shift+P (macOS) or Ctrl+Shift+P (Windows/Linux)
  3. Search for: "MCP settings" or "Preferences: Open MCP Settings"
  4. Edit configuration file:
{
  "mcpServers": {
    "fluentcrm": {
      "command": "node",
      "args": [
        "/path/to/your/fluentcrm-mcp-server/dist/fluentcrm-mcp-server.js"
      ],
      "env": {
        "FLUENTCRM_API_USERNAME": "your_api_username",
        "FLUENTCRM_API_PASSWORD": "your_api_password",
        "FLUENTCRM_API_URL": "https://your-domain.com/wp-json/fluent-crm/v2"
      }
    }
  }
}
  1. Save and restart Cursor

Usage

After configuration, open chat in Cursor and start asking questions!

Simple questions:

Show me all tags in FluentCRM

Claude will automatically use the MCP Server and return a list of tags.


Available Tools

👤 CONTACTS (Subscribers)

  • fluentcrm_list_contacts - Get list of contacts
  • fluentcrm_get_contact - Get contact details
  • fluentcrm_find_contact_by_email - Search by email
  • fluentcrm_create_contact - Create new contact
  • fluentcrm_update_contact - Update contact
  • fluentcrm_delete_contact - Delete contact

🏷️ TAGS

  • fluentcrm_list_tags - Get all tags
  • fluentcrm_create_tag - Create new tag
  • fluentcrm_delete_tag - Delete tag
  • fluentcrm_attach_tag_to_contact - Assign tag to contact
  • fluentcrm_detach_tag_from_contact - Remove tag from contact

📋 LISTS

  • fluentcrm_list_lists - Get all lists
  • fluentcrm_create_list - Create new list
  • fluentcrm_delete_list - Delete list
  • fluentcrm_attach_contact_to_list - Add contact to list
  • fluentcrm_detach_contact_from_list - Remove contact from list

📧 CAMPAIGNS

  • fluentcrm_list_campaigns - Get campaigns
  • fluentcrm_create_campaign - Create campaign
  • fluentcrm_pause_campaign - Pause campaign
  • fluentcrm_resume_campaign - Resume campaign
  • fluentcrm_delete_campaign - Delete campaign

📨 EMAIL TEMPLATES

  • fluentcrm_list_email_templates - Get templates
  • fluentcrm_create_email_template - Create template

🤖 AUTOMATIONS

  • fluentcrm_list_automations - Get automations (funnels)
  • fluentcrm_create_automation - Create automation

🔗 WEBHOOKS

  • fluentcrm_list_webhooks - Get webhooks
  • fluentcrm_create_webhook - Create webhook

📊 REPORTS

  • fluentcrm_dashboard_stats - Dashboard statistics
  • fluentcrm_custom_fields - Custom fields

Examples

Example 1: Show all tags

In Cursor:

Show me all tags in FluentCRM

Claude will return:

✅ Fetching tags from FluentCRM...

Found the following tags:
1. registered (ID: 1)
2. webinar-jit (ID: 2)
3. progress-75 (ID: 3)
4. participated (ID: 4)
... and 47 more

Example 2: Create new tag

In Cursor:

Create tag "hot-lead" with description "People who watched 75%+ and are interested"

Claude automatically:

  1. Uses fluentcrm_create_tag tool
  2. Returns confirmation

Example 3: Assign tag to contact

In Cursor:

Assign tag "progress-75" to contact with email "jan@example.com"

Claude:

  1. Finds contact by email
  2. Assigns tag
  3. Returns confirmation

Example 4: Create list

In Cursor:

Create new list "Hot-leads" with description "Participants who watched 75%+ of webinar"

Claude creates the list

Example 5: Add contact to list

In Cursor:

Add all contacts with tag "progress-75" to list "Hot-leads"

Troubleshooting

❌ Error: "Authorization failed"

Cause: Wrong API Username or Password

Solution:

  1. Go to FluentCRM → Settings → Rest API
  2. Check if API Key is active
  3. Copy credentials again
  4. Update .env file

❌ Error: "Connection refused"

Cause: FluentCRM API unavailable

Solution:

  1. Check if your WordPress domain is accessible
  2. Ping: ping your-domain.com
  3. Check if WordPress is running

❌ MCP Server won't start

Cause: Missing dependencies

Solution:

npm install
npm run build

❌ Cursor can't see MCP Server

Cause: Wrong file path or missing API credentials

Solution:

  1. Check path in MCP configuration (~/.cursor/settings.json)
  2. Check if file dist/fluentcrm-mcp-server.js exists
  3. Restart Cursor
  4. Check logs: cat ~/.cursor/logs.txt

API Reference

FluentCRM API Documentation: https://rest-api.fluentcrm.com/#introduction


Security

⚠️ IMPORTANT:

  • NEVER commit .env with real credentials to git
  • NEVER share API keys publicly
  • ✅ Use environment variables instead of hardcoding
  • ✅ Regularly rotate API keys

Update

To update MCP Server:

cd fluentcrm-mcp-server
git pull  # or download latest version manually
npm install
npm run build

Restart Cursor.


Support

If you encounter problems:

  1. Check the Troubleshooting section
  2. Check FluentCRM logs: FluentCRM → Logs
  3. Check Cursor logs: ~/.cursor/logs.txt
  4. Contact support

License

MIT


Author

Miłosz Zając
🌐 www.netfly.pl

Date: 2025-01-20
Version: 1.0.0


Made with ❤️ by Miłosz Zając

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选