Logo
AI connectors

Overview

Set up AI assistants to access your Lemonado data using the Model Context Protocol (MCP)

Connect AI Tools to Your Data

Connect your favorite AI assistants to Lemonado using the Model Context Protocol (MCP). This allows AI tools to securely query and analyze your business data using natural language.

Client Guides for AI Tools

AI Assistants

Automation Tools

  • n8n - Workflow automation with AI capabilities

Quick Setup

1. Create an AI Connector

First, create an AI Connector in Lemonado:

  1. Navigate to AI Connectors in your Lemonado dashboard
  2. Click Create New Connector
  3. Name your connector (e.g., "Production Data Access")
  4. Select the data sources this connector can access
  5. Choose your authentication method:
    • OAuth: Best for web-based tools like ChatGPT
    • Bearer Token: Best for desktop apps like Claude Desktop

2. Get Your Connection Details

After creating your connector, you'll receive:

  • MCP Server URL: https://api.lemonado.ai/mcp/your-connector-id
  • Authentication Token or OAuth Credentials

3. Configure Your AI Tool

Each AI tool has its own configuration process. Click on your tool above for detailed setup instructions.

How MCP Works

The Model Context Protocol (MCP) creates a secure bridge between your data in Lemonado and AI tools:

  1. AI Tool sends a natural language query
  2. MCP Server translates the query into SQL
  3. Lemonado executes the query with proper permissions
  4. Results are returned to the AI tool for analysis

Security Features

  • Granular Permissions: Control exactly which data each connector can access
  • Read-Only Access: AI tools can only query data, not modify it
  • Audit Logging: Every query is logged for security and compliance
  • Token Rotation: Bearer tokens can be regenerated at any time
  • OAuth Scopes: Fine-grained control for OAuth-based connections

Common Use Cases

Business Intelligence

Ask questions like:

  • "What were our top revenue drivers last quarter?"
  • "Show me customer churn trends by segment"
  • "Compare sales performance across regions"

Customer Support

  • "Find all support tickets from enterprise customers"
  • "What are the most common customer complaints?"
  • "Show unresolved issues older than 48 hours"

Development & Operations

  • "Generate a SQL query to find duplicate records"
  • "What database tables have the most rows?"
  • "Show me the schema for the orders table"

Best Practices

  1. Create Separate Connectors for different use cases (e.g., one for customer data, another for financial data)
  2. Use Descriptive Names for your connectors to easily identify their purpose
  3. Regularly Review Access Logs to monitor how AI tools are using your data
  4. Rotate Tokens Periodically for enhanced security
  5. Start with Limited Access and gradually expand permissions as needed

Troubleshooting

Connection Issues

  • Verify your MCP server URL is correct
  • Check that your authentication token hasn't expired
  • Ensure your AI tool has internet access

Permission Errors

  • Confirm the connector has access to the requested data sources
  • Check that the data sources are properly connected in Lemonado

No Results

  • Verify the data exists in your connected sources
  • Try a simpler query first
  • Check the audit logs for error messages

Need Help?