Skip to main content
Glama

FluentCRM MCP Server

by netflyapp
PODSUMOWANIE.md5.87 kB
# ✅ SUMMARY: MCP Server for FluentCRM ## 🎉 WHAT WAS CREATED Complete **MCP Server for FluentCRM** that allows you to manage the entire marketing automation of Korki AI Autowebinar directly from Cursor! --- ## 📁 Project Structure ``` 12_MCP_fluent_crm/ ├── src/ │ └── fluentcrm-mcp-server.ts ← Main MCP Server code (500+ lines) ├── dist/ ← Compiled code (after npm run build) ├── package.json ← Dependencies and scripts ├── tsconfig.json ← TypeScript configuration ├── .env ← Environment variables (TO EDIT) ├── .env.example ← .env template ├── .gitignore ← File ignoring ├── README.md ← Main documentation ├── SETUP_CURSOR.md ← Cursor setup instructions ├── TOOLS_REFERENCE.md ← Complete tools documentation └── PODSUMOWANIE.md ← This file ``` --- ## 🛠️ What It Contains ### ✅ Full Integration with FluentCRM API Based on official documentation: [https://rest-api.fluentcrm.com/#introduction](https://rest-api.fluentcrm.com/#introduction) **35+ available tools** for: - 👤 Contacts (subscribers) - 🏷️ Tags - �� List - 📧 Campaigns - 📨 Email templates - 🤖 Automations (funnels) - 🔗 Webhooks - 📊 Reports ### ✅ Security - Basic Auth for API - Environment variables for credentials - `.gitignore` to not commit secrets - Error handling with messages ### ✅ TypeScript + MCP SDK - Strict TypeScript configuration - Full typing for FluentCRM API - Compatible with MCP Protocol ### ✅ Documentation - `README.md` - Quick start in 5 minutes - `SETUP_CURSOR.md` - Step by step setup - `TOOLS_REFERENCE.md` - Complete documentation for each tool - Inline code comments --- ## 🚀 Quick Start ### 1. Install dependencies ```bash cd 12_MCP_fluent_crm npm install npm run build ``` ### 2. Set credentials ```bash cp .env.example .env nano .env # Enter username and password from FluentCRM API ``` ### 3. Configure Cursor - Open Cursor Settings - Search for "MCP" - Add configuration (see SETUP_CURSOR.md) ### 4. Test In Cursor Chat: ``` Show me all tags in FluentCRM ``` Claude will return a list of tags! ✅ --- ## 📊 Capabilities ### What You Can Do Now in Cursor **Manage tags:** ``` "Create tag AW-hot-lead" "Assign tag to jan@example.com" "Pokaż mi wszystkie tagi" ``` **Manage lists:** ``` "Create list AW-Hot-Leads" "Add contacts with tag AW-progress-75 to list" ``` **Manage contacts:** ``` "Create new contact: Jan Kowalski, jan@example.com" "Update phone for contact 123" "Delete contact 456" ``` **Send campaigns:** ``` "Create campaign: 'Follow-up for hot leads'" "Resume campaign 42" ``` **Get reports:** ``` "Show me dashboard statistics" "What custom fields do we have?" ``` --- ## 💡 Practical Applications ### Use Case 1: Automatic Tagging ``` "Assign tag AW-progress-75 to all contacts who watched 75% of the webinar" ``` Claude automatically: 1. Uses tool to find contacts 2. Assigns tag to each 3. Returns report ### Use Case 2: Building Hot Leads List ``` "Create list 'AW-Hot-Leads' and add all contacts with tags AW-progress-75 and AW-kliknal-cta" ``` ### Use Case 3: Batch Operations ``` "Add tag STATUS-reactivation to all contacts who signed up but didn't watch the webinar" ``` --- ## 🔐 Security ⚠️ **IMPORTANT:** - ❌ Don't commit `.env` with credentials to git - ✅ `.gitignore` protects secrets - ✅ Credentials can be changed in Cursor settings without editing files - ✅ API Key can be changed in FluentCRM → Settings → Rest API --- ## 📚 Documentation | File | Purpose | |------|---------------| | **README.md** | General description, quick start | | **SETUP_CURSOR.md** | Cursor configuration instructions (READ FIRST!) | | **TOOLS_REFERENCE.md** | Complete documentation for each tool | | **PODSUMOWANIE.md** | This file - overview of everything | --- ## 🎯 Next Steps 1. ✅ **Install** - `npm install && npm run build` 2. ✅ **Configure** - Edit `.env` with credentials 3. ✅ **Setup Cursor** - Follow `SETUP_CURSOR.md` 4. ✅ **Test** - "Show me all tags" in Cursor Chat 5. ✅ **Use** - Start managing automation! --- ## 📞 Troubleshooting ### Problem: "MCP server not found" - Check path in Cursor settings - Make sure `npm run build` succeeded ### Problem: "Authorization failed" - Check credentials in `.env` - Try generating new API Key in FluentCRM ### Problem: "Connection refused" - Check if your WordPress domain is accessible - Ping: `ping your-domain.com` → Full troubleshooting in README.md --- ## 📝 Technical Details ### Stack - **Runtime**: Node.js 18+ - **Language**: TypeScript - **Framework**: MCP SDK v0.5.1 - **API Client**: Axios - **Auth**: HTTP Basic Auth ### Number of Tools - Contacts: 6 - Tags: 5 - 📋 Lists: 5 - Campaigns: 5 - Templates: 3 - Automations: 3 - Webhooks: 3 - Reports: 2 - **Total: 35+ tools** ### Lines of Code - Server: ~500 lines TypeScript - Documentation: ~1000 lines Markdown - **Total: ~1500+ lines** --- ## ✨ Features ✅ Full integration with FluentCRM API ✅ 35+ available tools ✅ Secure credential management ✅ TypeScript with strict typing ✅ Error handling ✅ Step-by-step documentation ✅ Easy Cursor configuration ✅ Production ready --- ## 🎉 Ready to Use! MCP Server is fully functional and ready to use! **Next step is:** 1. Read `SETUP_CURSOR.md` 2. Install and configure 3. Start using in Cursor! 🚀 --- ## 📄 License MIT --- ## 👨‍💻 Author Miłosz Zając **Date**: 2025-10-20 **Version**: 1.0.0 **Status**: ✅ Ready for Production --- Made with ❤️ by Miłosz Zając

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/netflyapp/fluentcrm-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server