npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

1panel-mcp-server

v1.0.0

Published

MCP server for 1Panel - Model Context Protocol server for managing 1Panel through AI agents

Readme

1Panel MCP

npm version License: MIT

MCP (Model Context Protocol) server for 1Panel - Manage your 1Panel through AI agents like Claude, Cursor, or any MCP-compatible client.

Features

  • 264 Tools covering 1Panel's complete API
  • 100% Open Source version coverage
  • ~90% Professional (XPack) version coverage
  • Modular architecture with TypeScript

Supported Modules

Core: Containers, Images, Networks, Volumes, Docker Compose Applications: App Store, Runtime Environments, PHP, Node.js Files: File Management, Backup, Recycle Bin, Snapshots Database: MySQL, PostgreSQL, Redis Website: Websites, SSL, Nginx, AntiLeech System: Monitor, Processes, Cronjobs, Firewall, Fail2ban Security: SSH, Terminal, ClamAV Antivirus AI & Advanced: AI Agent, MCP Server, Ollama, GPU, OpenResty Host Management: Remote Hosts, SSH Keys

Installation

Global Installation (Recommended)

npm install -g 1panel-mcp

Local Installation

npm install 1panel-mcp

Usage

Quick Start

  1. Get your 1Panel API key:

    • Login to 1Panel web interface
    • Go to Profile → API
    • Generate or copy your API key
  2. Start the MCP server:

# Using environment variables
export ONEPANEL_API_KEY=your-api-key
export ONEPANEL_HOST=localhost
export ONEPANEL_PORT=8080
1panel-mcp start

# Using command line options
1panel-mcp start --host 192.168.1.100 --port 8080 --key your-api-key

# Using HTTPS
1panel-mcp start --host panel.example.com --secure --key your-api-key

Commands

1panel-mcp --help              # Show help
1panel-mcp start --help        # Show start options
1panel-mcp config              # Show configuration guide
1panel-mcp tools               # List available tools

Environment Variables

| Variable | Description | Default | |----------|-------------|---------| | ONEPANEL_HOST | 1Panel host | localhost | | ONEPANEL_PORT | 1Panel port | 8080 | | ONEPANEL_API_KEY | 1Panel API key (required) | - | | ONEPANEL_PROTOCOL | http or https | http |

MCP Configuration

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "1panel": {
      "command": "1panel-mcp",
      "args": ["start"],
      "env": {
        "ONEPANEL_HOST": "localhost",
        "ONEPANEL_PORT": "8080",
        "ONEPANEL_API_KEY": "your-api-key"
      }
    }
  }
}

Cursor

Add to Cursor MCP settings:

{
  "mcpServers": {
    "1panel": {
      "command": "1panel-mcp",
      "args": ["start", "--host", "localhost", "--port", "8080", "--key", "your-api-key"]
    }
  }
}

Development

# Clone the repository
git clone https://github.com/EaveLuo/1panel-mcp.git
cd 1panel-mcp

# Install dependencies
npm install

# Build
npm run build

# Development mode
npm run dev

# Start locally
npm start

API Coverage

| Category | Tools | Coverage | |----------|-------|----------| | Open Source | 205 | 100% | | XPack (Pro) | 59 | ~90% | | Total | 264 | ~98% |

License

MIT

Links