panelica-mcp 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -30,8 +30,10 @@ SSL, email, MySQL, FTP, security, backups, server resources, and more.
30
30
  - [2. Generate an API key in the panel](#2-generate-an-api-key-in-the-panel)
31
31
  - [3. Verify the credentials with curl](#3-verify-the-credentials-with-curl)
32
32
  - [Wire it into your MCP client](#wire-it-into-your-mcp-client)
33
+ - [Claude Code (one command)](#claude-code-one-command)
33
34
  - [Claude Desktop](#claude-desktop)
34
35
  - [Cursor](#cursor)
36
+ - [OpenAI Codex CLI](#openai-codex-cli)
35
37
  - [Continue.dev, Cline, Zed](#continuedev-cline-zed)
36
38
  - [Generic stdio client](#generic-stdio-client)
37
39
  - [Tool catalogue](#tool-catalogue)
@@ -248,6 +250,19 @@ You should get back JSON listing your API keys. Common 401 responses:
248
250
 
249
251
  ## Wire it into your MCP client
250
252
 
253
+ ### Claude Code (one command)
254
+
255
+ ```bash
256
+ claude mcp add panelica \
257
+ -e PANELICA_BASE_URL=https://your-panel:8443/api/external \
258
+ -e PANELICA_API_KEY=pk_... \
259
+ -e PANELICA_API_SECRET=sk_... \
260
+ -- npx -y panelica-mcp
261
+ ```
262
+
263
+ That's it — ask Claude Code to "list my domains" or "create a database for
264
+ example.com" and it will drive the panel through the scoped API key.
265
+
251
266
  ### Claude Desktop
252
267
 
253
268
  Edit your Claude Desktop config:
@@ -294,6 +309,21 @@ In **Settings → MCP → Add new server**:
294
309
  }
295
310
  ```
296
311
 
312
+ ### OpenAI Codex CLI
313
+
314
+ Add to `~/.codex/config.toml`:
315
+
316
+ ```toml
317
+ [mcp_servers.panelica]
318
+ command = "npx"
319
+ args = ["-y", "panelica-mcp"]
320
+
321
+ [mcp_servers.panelica.env]
322
+ PANELICA_BASE_URL = "https://your-panel:8443/api/external"
323
+ PANELICA_API_KEY = "pk_..."
324
+ PANELICA_API_SECRET = "sk_..."
325
+ ```
326
+
297
327
  ### Continue.dev, Cline, Zed
298
328
 
299
329
  Any MCP-aware editor that accepts a stdio command works the same way — give it
package/dist/index.js CHANGED
@@ -84,7 +84,7 @@ async function callPanelica(tool, args) {
84
84
  "X-Timestamp": timestamp,
85
85
  "X-Signature": signature,
86
86
  "Accept": "application/json",
87
- "User-Agent": "panelica-mcp/0.2.1",
87
+ "User-Agent": "panelica-mcp/0.2.2",
88
88
  };
89
89
  if (bodyString)
90
90
  headers["Content-Type"] = "application/json";
@@ -112,7 +112,7 @@ async function callPanelica(tool, args) {
112
112
  }
113
113
  return text;
114
114
  }
115
- const server = new Server({ name: "panelica-mcp", version: "0.2.1" }, { capabilities: { tools: {} } });
115
+ const server = new Server({ name: "panelica-mcp", version: "0.2.2" }, { capabilities: { tools: {} } });
116
116
  server.setRequestHandler(ListToolsRequestSchema, async () => ({
117
117
  tools: tools.map(t => ({
118
118
  name: t.name,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "panelica-mcp",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "MCP server exposing the Panelica hosting panel External API to AI assistants. Manage accounts, domains, databases, email, DNS, SSL, FTP, security, and server resources through natural language.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -51,5 +51,5 @@
51
51
  "@types/node": "^22.10.0",
52
52
  "typescript": "^5.6.3"
53
53
  },
54
- "mcpName": "io.github.panelica/panelica-mcp"
54
+ "mcpName": "io.github.Panelica/panelica-mcp"
55
55
  }