1Panel + JetBrains AI Assistant: Complete MCP Integration
1Panel is a MCP server that MCP server implementation that provides 1Panel interaction.
When integrated with JetBrains AI Assistant, 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 JetBrains AI Assistant, 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 JetBrains AI Assistant
- 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
- JetBrains AI Assistant installed and configured
- Compatible operating system (Windows, macOS, Linux)
Installation
Step 1: Install 1Panel
Configuration
Step 2: Configure JetBrains AI Assistant
-
Locate your configuration file:
- Windows:
Settings > Tools > AI Assistant > Model Context Protocol (MCP) - macOS:
Preferences > Tools > AI Assistant > Model Context Protocol (MCP) - Linux:
Settings > Tools > AI Assistant > Model Context Protocol (MCP)
- Windows:
-
Add server configuration:
{
"mcpServers": {
"1panel": {
"command": "npx",
"args": ["-y", "1panel"],
"env": {
"PANEL_ACCESS_TOKEN": "your-1panel-access-token-here",
"PANEL_HOST": "http://localhost:8080"
}
}
}
}
- Restart JetBrains AI Assistant
Completely quit and restart JetBrains AI Assistant to load the new configuration.
Examples
Once configured, you can use 1Panel in JetBrains AI Assistant:
Get System Overview
Check 1Panel server status and system information
Ask JetBrains AI Assistant: "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 JetBrains AI Assistant: "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 JetBrains AI Assistant: "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 JetBrains AI Assistant: "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 JetBrains AI Assistant
- Ask JetBrains AI Assistant to list available tools
- Try using 1Panel functionality
Test prompts:
- "Type / and look for 1Panel tools in the command list"
- "Ask AI Assistant to use 1Panel for a specific task"
- "Check the MCP settings page for connection status indicator"
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 status shows disconnected, Tools not appearing in chat, Connection timeout
Cause: Server configuration incorrect or server not starting
Solution:
- Verify server command is correct and executable
- Check environment variables are set properly
- View MCP logs: Help > Show Log in Explorer > mcp folder
- Test server command in terminal manually
Remote Server Not Supported
Symptoms: HTTP server not connecting, SSE transport errors
Cause: AI Assistant only supports stdio transport for client connections
Solution:
- Use mcp-remote proxy for remote servers
- Configuration: npx -y mcp-remote@latest https://server-url/endpoint
- This wraps HTTP/SSE in stdio transport
Import from Claude Not Working
Symptoms: No servers imported, Configuration empty after import
Cause: Claude Desktop config file not found or in unexpected location
Solution:
- Verify Claude Desktop is installed
- Check config exists at ~/Library/Application Support/Claude/claude_desktop_config.json (macOS)
- Or %APPDATA%/Claude/claude_desktop_config.json (Windows)
- Manually copy configuration if auto-import fails
External Client Cannot Connect to IDE Server
Symptoms: Client shows MCP server unavailable, Connection refused
Cause: IDE MCP server not enabled or client not configured
Solution:
- Enable MCP Server in Settings > Tools > MCP Server
- Use Auto-Configure for supported clients
- Restart both IDE and external client
- Check firewall allows local connections
Brave Mode Commands Not Running
Symptoms: Terminal commands require confirmation, Workflow interrupted by prompts
Cause: Brave mode not enabled
Solution:
- Enable in Settings > Tools > MCP Server
- Check "Run shell commands without confirmation (brave mode)"
- Use with caution - commands run without confirmation
1Panel not appearing in JetBrains AI Assistant
Symptoms: Server not listed, Tools not available
Cause: Configuration or installation issue
Solution:
- Verify configuration syntax
- Check 1Panel installation
- Restart JetBrains AI Assistant
- Check logs for error messages
Next Steps
Now that 1Panel is integrated with JetBrains AI Assistant:
- Explore all 1Panel capabilities through JetBrains AI Assistant
- Check out other MCP servers that work with JetBrains AI Assistant
- Join the MCP community for tips and support
- Consider contributing to 1Panel development
Need Help?
- Search for 1Panel documentation
- Check the JetBrains AI Assistant MCP guide
- Join the MCP community discussions