Sponsored by Deepsite.site

Knotie AI Pro MCP Server

Created By
avijeett0078 months ago
The Model Context Protocol (MCP) server that enables AI agents like Claude Desktop to interact with the Knotie AI Pro platform for automated customer and voice AI agent management.
Content

Knotie AI Pro MCP Server

A Model Context Protocol (MCP) server that enables AI agents like Claude Desktop to interact with the Knotie AI Pro platform for automated customer and voice AI agent management.

🚀 Features

  • Customer Management: Create customers, enable portal access, reset passwords
  • Agent Management: Map AI agents to customers, update configurations, manage profit multipliers
  • Multi-Platform Support: Works with Retell, VAPI, ElevenLabs, GoHighLevel
  • Secure Local Configuration: API keys stored locally, never transmitted to third parties
  • Claude Desktop Integration: Seamless integration with Claude Desktop and other MCP clients

📋 Prerequisites

  • Node.js 18+ installed
  • A Knotie AI Pro partner account with API access
  • Claude Desktop or another MCP-compatible client

🚀 Quick Start

# 1. Install globally
npm install -g knotie-ai-mcp

# 2. Run interactive setup
npm run setup
# OR manually create config:
mkdir -p ~/.knotie
echo '{"apiKey":"your-key","partnerEmail":"your-email@example.com","baseUrl":"https://knotie-ai.pro"}' > ~/.knotie/config.json

# 3. Test the server
npx knotie-ai-mcp

# 4. Add to Claude Desktop config and restart Claude

For Developers (From Source)

# 1. Clone and setup
git clone https://github.com/your-username/knotie-ai-mcp.git
cd knotie-ai-mcp
npm install && npm run build

# 2. Configure
cp config/knotie-config.example.json config/knotie-config.json
# Edit config/knotie-config.json with your credentials

# 3. Test
npm run dev

# 4. Add to Claude Desktop with full path to build/index.js

🛠️ Installation

# 1. Install globally
npm install -g knotie-ai-mcp

# 2. Run interactive setup
npm run setup
# OR manually create config:
mkdir -p ~/.knotie
echo '{"apiKey":"your-key","partnerEmail":"your-email@example.com","baseUrl":"https://knotie-ai.pro"}' > ~/.knotie/config.json

# 3. Test the server
npx knotie-ai-mcp

# 4. Add to Claude Desktop config and restart Claude

For Developers (From Source)

# 1. Clone and setup
git clone https://github.com/your-username/knotie-ai-mcp.git
cd knotie-ai-mcp
npm install && npm run build

# 2. Configure
cp config/knotie-config.example.json config/knotie-config.json
# Edit config/knotie-config.json with your credentials

# 3. Test
npm run dev

# 4. Add to Claude Desktop with full path to build/index.js

� Quick Start

# 1. Install globally
npm install -g knotie-ai-mcp

# 2. Run interactive setup
npm run setup
# OR manually create config:
mkdir -p ~/.knotie
echo '{"apiKey":"your-key","partnerEmail":"your-email@example.com","baseUrl":"https://knotie-ai.pro"}' > ~/.knotie/config.json

# 3. Test the server
npx knotie-ai-mcp

# 4. Add to Claude Desktop config and restart Claude

For Developers (From Source)

# 1. Clone and setup
git clone https://github.com/your-username/knotie-ai-mcp.git
cd knotie-ai-mcp
npm install && npm run build

# 2. Configure
cp config/knotie-config.example.json config/knotie-config.json
# Edit config/knotie-config.json with your credentials

# 3. Test
npm run dev

# 4. Add to Claude Desktop with full path to build/index.js

🛠️ Installation

# Install globally
npm install -g knotie-ai-mcp

# Or install locally
npm install knotie-ai-mcp

Troubleshooting Global Installation

If you encounter permission errors when installing globally, you have several options:

Option A: Use npm's prefix flag (Recommended)

# Create a directory for global packages
mkdir -p ~/npm-packages

# Install with custom prefix
npm install --prefix ~/npm-packages -g knotie-ai-mcp

# Add to your PATH (add this line to your ~/.bashrc or ~/.zshrc)
export PATH="$HOME/npm-packages/bin:$PATH"

Option B: Configure npm to use a different directory

# Create directory and configure npm
mkdir -p ~/.npm-global
npm config set prefix ~/.npm-global

# Add to your PATH (add this line to your ~/.bashrc or ~/.zshrc)
export PATH="$HOME/.npm-global/bin:$PATH"

# Then install
npm install -g knotie-ai-mcp

Option C: Use npx (No installation required)

# Run directly with npx
npx knotie-ai-mcp

Option 2: From Source

# Clone the repository
git clone https://github.com/knotie-ai/knotie-ai-mcp.git
cd knotie-ai-mcp

# Install dependencies
npm install

# Build the project
npm run build

⚙️ Configuration

The MCP server requires your Knotie AI Pro API credentials. You can configure these in two ways:

Set environment variables directly in your Claude Desktop configuration:

{
  "mcpServers": {
    "knotie-ai-pro": {
      "command": "node",
      "args": ["/absolute/path/to/knotie-ai-mcp/build/index.js"],
      "env": {
        "KNOTIE_API_KEY": "your-api-key-here",
        "KNOTIE_PARTNER_EMAIL": "your-partner-email@example.com",
        "KNOTIE_BASE_URL": "https://analytics.knotie-ai.pro"
      }
    }
  }
}

Environment Variables:

  • KNOTIE_API_KEY - Your partner API key (required)
  • KNOTIE_PARTNER_EMAIL - Your registered partner email (required)
  • KNOTIE_BASE_URL - Base URL for analytics service (optional, defaults to https://analytics.knotie-ai.pro)

Benefits:

  • ✅ No config files needed
  • ✅ Credentials stored securely in Claude Desktop
  • ✅ Works with any installation method
  • ✅ Similar to other MCP servers (GitHub, etc.)

Method 2: Configuration Files (Alternative)

Option A: NPM Installation

If you installed via NPM (npm install -g knotie-ai-mcp):

  1. Create config directory:

    mkdir -p ~/.knotie
    
  2. Create configuration file:

    # Create the config file
    touch ~/.knotie/config.json
    
  3. Add your credentials:

    {
      "apiKey": "your-api-key-here",
      "partnerEmail": "your-partner-email@example.com",
      "baseUrl": "https://analytics.knotie-ai.pro"
    }
    

Method 2: From Source (Cloned Repository)

If you cloned the repository:

  1. Copy the example config:

    cp config/knotie-config.example.json config/knotie-config.json
    
  2. Edit the configuration:

    # Edit the file with your credentials
    nano config/knotie-config.json
    # or
    code config/knotie-config.json
    
  3. Update with your credentials:

    {
      "apiKey": "your-actual-api-key",
      "partnerEmail": "your-actual-email@example.com",
      "baseUrl": "https://analytics.knotie-ai.pro"
    }
    

Configuration File Locations (Priority Order)

The server looks for configuration in this order:

  1. ./knotie-config.json (current directory)
  2. ~/.knotie/config.json (home directory) - Recommended for NPM installs
  3. ./config/knotie-config.json (relative to installation) - For source installs

Get Your API Credentials

  1. Log in to your Knotie AI Pro partner dashboard
  2. Navigate to Settings → API Keys
  3. Create a new API key
  4. Copy your API key and partner email to the config file

🔧 Claude Desktop Setup

1. Install Claude Desktop

Download and install Claude Desktop if you haven't already.

2. Configure Claude Desktop

Edit your Claude Desktop configuration file:

macOS/Linux:

code ~/Library/Application\ Support/Claude/claude_desktop_config.json

Windows:

code %APPDATA%\Claude\claude_desktop_config.json

3. Add Knotie AI Pro Server

{
  "mcpServers": {
    "knotie-ai-pro": {
      "command": "node",
      "args": ["/Users/avijitsarkar/Projects/Knotie-AI/knotie-ai-pro/knotie-ai-mcp/build/index.js"],
      "env": {
        "KNOTIE_API_KEY": "pkt_48405b5a31fec30a3be3480f7d2a56552488bb61fc81d63100ab83e8d792d3b6",
        "KNOTIE_PARTNER_EMAIL": "avijeett007@gmail.com",
        "KNOTIE_BASE_URL": "https://analytics.knotie-ai.pro"
      }
    }
  }
}

Option B: NPM Installation with Config File

{
  "mcpServers": {
    "knotie-ai-pro": {
      "command": "npx",
      "args": ["knotie-ai-mcp"]
    }
  }
}

Option C: From Source with Config File

{
  "mcpServers": {
    "knotie-ai-pro": {
      "command": "node",
      "args": ["/absolute/path/to/knotie-ai-mcp/build/index.js"]
    }
  }
}

Note: Replace /absolute/path/to/knotie-ai-mcp with the actual path where you cloned the repository.

Why index.js? The TypeScript source (src/index.ts) is compiled to JavaScript (build/index.js) during the build process. Node.js runs the compiled JavaScript file.

4. Restart Claude Desktop

Restart Claude Desktop to load the new MCP server.

🎯 Available Tools

System Tools

  • get-capabilities: Get system capabilities and available features
  • get-health: Check API health status

Customer Management

  • create-customer: Create a new customer account

    • email (required): Customer's email address
    • businessName (required): Customer's business name
    • contactName (optional): Primary contact name
    • phone (optional): Contact phone number
    • subscriptionTier (optional): starter, professional, or enterprise
  • enable-portal-access: Enable portal access for a customer

    • customerEmail (required): Customer's email address
    • sendWelcomeEmail (optional): Send welcome email (default: true)
  • reset-customer-password: Reset a customer's password

    • customerEmail (required): Customer's email address
    • sendEmail (optional): Send password reset email (default: true)

Agent Management

  • map-agent: Map an AI agent to a customer

    • customerEmail (required): Customer's email address
    • agentId (required): Agent ID from AI platform
    • platform (required): retell, vapi, elevenlabs, or gohighlevel
    • profitMultiplier (optional): Profit multiplier 1.0-10.0 (default: 1.5)
    • agentName (optional): Custom name for the agent
  • update-agent: Update agent configuration

    • customerEmail (required): Customer's email address
    • agentId (required): Agent ID to update
    • profitMultiplier (optional): New profit multiplier
    • agentName (optional): New agent name
    • isActive (optional): Enable/disable the agent
  • unmap-agent: Remove agent mapping from customer

    • customerEmail (required): Customer's email address
    • agentId (required): Agent ID to unmap

💡 Usage Examples

In Claude Desktop

Once configured, you can use natural language commands in Claude Desktop:

"Create a new customer with email john@example.com and business name 'John's Restaurant'"

"Map a Retell agent with ID 'agent_123' to customer john@example.com with a 2.0 profit multiplier"

"Enable portal access for customer john@example.com and send them a welcome email"

"Check the health status of the Knotie AI Pro API"

Command Line Testing

Test the server directly:

# Test the server
npm run dev

# Or if installed globally
knotie-ai-mcp

🔒 Security

  • Local Configuration: API keys are stored locally and never transmitted to third parties
  • Secure Communication: All API calls use HTTPS with proper authentication
  • Partner Verification: Each request includes partner email verification
  • No Data Storage: The MCP server doesn't store any customer or agent data

🐛 Troubleshooting

Server Not Showing in Claude Desktop

  1. Check your claude_desktop_config.json syntax
  2. Ensure the path to the server is correct
  3. Restart Claude Desktop completely
  4. Check Claude's logs: ~/Library/Logs/Claude/mcp*.log

Configuration Errors

  1. Verify your API key is correct
  2. Ensure your partner email matches your account
  3. Check that the config file is in a supported location
  4. Validate JSON syntax in your config file

API Connection Issues

Important: The MCP server connects to the Analytics Service, not the main Knotie AI Pro website.

Correct Base URLs:

  • Production: https://analytics.knotie-ai.pro
  • Development: http://localhost:8000 (if running analytics service locally)

Common Issues:

  1. 404 Not Found: Using wrong base URL (should be analytics.knotie-ai.pro, not knotie-ai.pro)
  2. Connection Refused: Analytics service may be down or URL incorrect
  3. 401 Unauthorized: Invalid API key or partner email
  4. 403 Forbidden: Valid credentials but insufficient permissions

Debug Steps:

  1. Test your internet connection
  2. Verify the base URL points to the analytics service
  3. Check if your API key has the necessary permissions
  4. Ensure your partner account is active
  5. Try connecting to the health endpoint manually:
    curl -H "X-API-Key: your-api-key" \
         -H "X-Partner-Email: your-email@example.com" \
         https://analytics.knotie-ai.pro/health
    

📚 Documentation

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

📄 License

MIT License - see the LICENSE file for details.

🆘 Support


Made with ❤️ by the Knotie AI Pro team

Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
ChatWiseThe second fastest AI chatbot™
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright McpPlaywright MCP server
Amap Maps高德地图官方 MCP Server
CursorThe AI Code Editor
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Tavily Mcp
Y GuiA web-based graphical interface for AI chat interactions with support for multiple AI models and MCP (Model Context Protocol) servers.
WindsurfThe new purpose-built IDE to harness magic
Serper MCP ServerA Serper MCP Server
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
DeepChatYour AI Partner on Desktop