1Panel + Lutra AI: Complete MCP Integration
1Panel is a MCP server that MCP server implementation that provides 1Panel interaction.
When integrated with Lutra AI, you can:
- Monitor system status and dashboard information
- Create and manage websites on 1Panel
- Handle SSL certificates and HTTPS configuration
This guide provides step-by-step instructions to set up 1Panel in Lutra AI, including configuration, examples, and troubleshooting.
What You'll Achieve
After completing this setup:
- 1Panel will be fully integrated and operational
- You can use 1Panel tools directly in Lutra AI
- All 1Panel capabilities will be available for your workflows
- Access to 5 different tools
Prerequisites
Before starting, ensure you have:
- 1Panel access token for authentication
- 1Panel server address
- Lutra AI installed and configured
- Compatible operating system (Web Platform, Mobile Web)
Installation
Step 1: Install 1Panel
Configuration
Step 2: Configure Lutra AI
- Open Lutra AI settings
- Navigate to MCP server configuration
- Add 1Panel server with appropriate settings
- Save and restart if needed
Examples
Once configured, you can use 1Panel in Lutra AI:
Get System Overview
Check 1Panel server status and system information
Ask Lutra AI: "Show me the dashboard information and system status"
Expected Result: Dashboard data including CPU, memory, disk usage, and running services
Create New Website
Set up a new website with domain configuration
Ask Lutra AI: "Create a website for domain example.com with PHP support"
Expected Result: Website created with virtual host configuration and PHP environment
Install Database Server
Install and configure MySQL server
Ask Lutra AI: "Install MySQL and create a database called myapp_db"
Expected Result: MySQL installed, database created, and connection details provided
SSL Certificate Setup
Generate and configure SSL certificate for website
Ask Lutra AI: "Create an SSL certificate for my website example.com"
Expected Result: SSL certificate generated and configured for HTTPS access
Testing Your Setup
- Start a new conversation in Lutra AI
- Ask Lutra AI to list available tools
- Try using 1Panel functionality
Troubleshooting
Common Issues
Authentication Failed
Symptoms: Access denied errors, Invalid token messages, Connection refused
Cause: Invalid or missing PANEL_ACCESS_TOKEN
Solution:
- Verify PANEL_ACCESS_TOKEN is set correctly
- Check token validity in 1Panel admin interface
- Ensure token has sufficient permissions
Connection to 1Panel Failed
Symptoms: Connection timeout, Server unreachable, Network errors
Cause: Invalid PANEL_HOST or 1Panel server not running
Solution:
- Verify PANEL_HOST URL is correct
- Check 1Panel server is running on specified port
- Test network connectivity to 1Panel server
- Ensure firewall allows connections
SSE Mode Not Working
Symptoms: SSE endpoint not responding, Transport errors
Cause: Incorrect SSE configuration or port conflicts
Solution:
- Verify -addr parameter is accessible
- Check port is not in use by another service
- Ensure SSE transport is specified correctly
- Test SSE endpoint with curl
Binary Not Found
Symptoms: Command not found, mcp-1panel: command not found
Cause: Binary not in PATH or not properly installed
Solution:
- Verify binary is in /usr/local/bin or system PATH
- Check file permissions (executable bit)
- Re-download and reinstall binary
- Use full path to binary if needed
MCP Server Not Connecting
Symptoms: Server not appearing in connections, Connection timeout, Unable to reach server
Cause: Invalid server URL or server not accessible
Solution:
- Verify MCP server URL is correct and accessible
- Check server is running and responding to requests
- Ensure server supports HTTP/SSE transport (Lutra requirement)
- Test server URL in browser or with curl to confirm accessibility
- Contact Lutra support if server should be compatible
Authentication Failures
Symptoms: OAuth errors, Permission denied, Unauthorized access
Cause: OAuth not configured or credentials expired
Solution:
- Complete OAuth authorization flow for connected apps
- Refresh expired credentials through connections panel
- Verify required permissions are granted for each app
- Disconnect and reconnect app if authentication persists
Lutra Not Understanding Tasks
Symptoms: Incorrect task execution, Lutra asks for clarification repeatedly, Wrong app or tool used
Cause: Ambiguous instructions or insufficient context
Solution:
- Provide clear, specific instructions with context
- Specify which app or MCP server to use if ambiguous
- Break complex tasks into smaller, clearer steps
- Use examples or reference previous successful tasks
Playbooks Not Working
Symptoms: Playbook execution fails, Different results than expected, Missing steps
Cause: Changed app configurations or unavailable resources
Solution:
- Review playbook steps to ensure they are still valid
- Update playbook if app configurations have changed
- Verify all connected apps and MCP servers are accessible
- Test playbook step-by-step to identify failure point
Workflow Automation Limits
Symptoms: Task quota exceeded, Automation disabled, Rate limiting
Cause: Plan limits reached or service rate limits
Solution:
- Check Lutra plan limits and current usage
- Upgrade plan if automation needs exceed current tier
- Optimize workflows to reduce unnecessary API calls
- Implement delays between rapid successive automations
1Panel not appearing in Lutra AI
Symptoms: Server not listed, Tools not available
Cause: Configuration or installation issue
Solution:
- Verify configuration syntax
- Check 1Panel installation
- Restart Lutra AI
- Check logs for error messages
Next Steps
Now that 1Panel is integrated with Lutra AI:
- Explore all 1Panel capabilities through Lutra AI
- Check out other MCP servers that work with Lutra AI
- Join the MCP community for tips and support
- Consider contributing to 1Panel development
Need Help?
- Search for 1Panel documentation
- Check the Lutra AI MCP guide
- Join the MCP community discussions