{"id":28547555,"url":"https://github.com/1panel-dev/mcp-1panel","last_synced_at":"2025-06-29T11:07:57.226Z","repository":{"id":283790787,"uuid":"950414152","full_name":"1Panel-dev/mcp-1panel","owner":"1Panel-dev","description":"mcp-1panel is an implementation of the Model Context Protocol (MCP) server for 1Panel.","archived":false,"fork":false,"pushed_at":"2025-04-14T06:50:28.000Z","size":73,"stargazers_count":127,"open_issues_count":4,"forks_count":17,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-06-17T13:11:58.493Z","etag":null,"topics":["1panel","mcp","mcp-server"],"latest_commit_sha":null,"homepage":"https://1panel.pro","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/1Panel-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-03-18T05:55:42.000Z","updated_at":"2025-06-11T21:00:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"d0d0b64e-1d38-4625-98c1-04e8c6221a9f","html_url":"https://github.com/1Panel-dev/mcp-1panel","commit_stats":null,"previous_names":["1panel-dev/mcp-1panel"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/1Panel-dev/mcp-1panel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1Panel-dev%2Fmcp-1panel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1Panel-dev%2Fmcp-1panel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1Panel-dev%2Fmcp-1panel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1Panel-dev%2Fmcp-1panel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/1Panel-dev","download_url":"https://codeload.github.com/1Panel-dev/mcp-1panel/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1Panel-dev%2Fmcp-1panel/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262581393,"owners_count":23331914,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["1panel","mcp","mcp-server"],"created_at":"2025-06-10T00:37:19.859Z","updated_at":"2025-06-29T11:07:57.212Z","avatar_url":"https://github.com/1Panel-dev.png","language":"Go","funding_links":[],"categories":["Developer Tools"],"sub_categories":["How to Submit"],"readme":"[\u003ca href=\"/README.md\"\u003eEnglish\u003c/a\u003e] | [\u003ca href=\"/docs/README.zh-Hans.md\"\u003e中文(简体)\u003c/a\u003e]\n\n# 1Panel MCP Server\n\n**1Panel MCP Server** is an implementation of the Model Context Protocol (MCP) server for [1Panel](https://github.com/1Panel-dev/1Panel).\n\n## Installation Methods\n\n### Method 1: Download from Release Page (Recommended)\n\n1. Visit the [Releases Page](https://github.com/1Panel-dev/mcp-1panel/releases) and download the executable file corresponding to your system.\n\n2. Example installation (for amd64):\n\n```bash\nchmod +x mcp-1panel-linux-amd64\nmv mcp-1panel-linux-amd64 /usr/local/bin/mcp-1panel\n```\n\n### Method 2: Build from Source\n\nMake sure Go 1.23 or later is installed locally. Then run:\n\n1. Clone the repository:\n\n```bash\ngit clone https://github.com/1Panel-dev/mcp-1panel.git\ncd mcp-1panel\n```\n\n2. Build the executable:\n\n```bash\nmake build\n```\n\n\u003e Move ./build/mcp-1panel to a directory included in your system's PATH.\n\n### Method 3: Install via go install\n\nMake sure Go 1.23 or later is installed locally. Then run:\n\n```bash\ngo install github.com/1Panel-dev/mcp-1panel@latest\n```\n\n### Method 4: Install via Docker\n\nMake sure Docker is correctly installed and configured on your machine.\n\nThe official image supports the following architectures:\n\n- amd64\n- arm64\n- arm/v7\n- s390x\n- ppc64le\n\n## Usage\n\n1Panel MCP Server supports two running modes: `stdio` and `sse`.\n\n### stdio Mode\n\n#### Using Local Binary\n\nIn the configuration file of Cursor or Windsurf, add:\n\n```json\n{\n  \"mcpServers\": {\n    \"mcp-1panel\": {\n      \"command\": \"mcp-1panel\",\n      \"env\": {\n        \"PANEL_ACCESS_TOKEN\": \"\u003cyour 1Panel access token\u003e\",\n        \"PANEL_HOST\": \"such as http://localhost:8080\"\n      }\n    }\n  }\n}\n```\n\n#### Running in Docker\n\n```json\n{\n  \"mcpServers\": {\n    \"mcp-1panel\": {\n      \"command\": \"docker\",\n      \"args\": [\n        \"run\",\n        \"-i\",\n        \"--rm\",\n        \"-e\",\n        \"PANEL_HOST\",\n        \"-e\",\n        \"PANEL_ACCESS_TOKEN\",\n        \"1panel/1panel-mcp-server\"\n      ],\n      \"env\": {\n        \"PANEL_HOST\": \"such as http://localhost:8080\",\n        \"PANEL_ACCESS_TOKEN\": \"\u003cyour 1Panel access token\u003e\"\n      }\n    }\n  }\n}\n```\n\n### sse Mode\n\n1. Start the MCP Server:\n\n```bash\nmcp-1panel -host http://localhost:8080 -token \u003cyour 1Panel access token\u003e -transport sse -addr http://localhost:8000\n```\n\n2. Configure in Cursor or Windsurf:\n\n```json\n{\n  \"mcpServers\": {\n    \"mcp-1panel\": {\n      \"url\": \"http://localhost:8000/sse\"\n    }\n  }\n}\n```\n\n#### Command Line Options\n\n- `-token`: 1Panel access token\n- `-host`: 1Panel access address\n- `-transport`: Transport type (stdio or sse, default: stdio)\n- `-addr`: Start SSE server address (default: http://localhost:8000)\n\n## Available Tools\n\nThe server provides various tools for interacting with 1Panel:\n\n| Tool                        | Category     | Description               |\n|-----------------------------|--------------|---------------------------|\n| **get_dashboard_info**      | System       | List dashboard status     |\n| **get_system_info**         | System       | Get system information    |\n| **list_websites**           | Website      | List all websites         |\n| **create_website**          | Website      | Create a website          |\n| **list_ssls**               | Certificate  | List all certificates     |\n| **create_ssl**              | Certificate  | Create a certificate      |\n| **list_installed_apps**     | Application  | List installed apps       |\n| **install_openresty**       | Application  | Install OpenResty         |\n| **install_mysql**           | Application  | Install MySQL             |\n| **list_databases**          | Database     | List all databases        |\n| **create_database**         | Database     | Create a database         |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1panel-dev%2Fmcp-1panel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F1panel-dev%2Fmcp-1panel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1panel-dev%2Fmcp-1panel/lists"}