kimi-mcp-hub 0.2.0 → 0.2.1

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
@@ -10,7 +10,6 @@ One-click MCP server and skills manager for **Kimi CLI** -- like `claude-mem` bu
10
10
  - [One-liner with npx (recommended)](#one-liner-with-npx-recommended)
11
11
  - [One-liner (curl / PowerShell)](#one-liner-curl-powershell)
12
12
  - [From GitHub (pip) inside a venv](#from-github-pip-inside-a-venv)
13
- - [From PyPI (when published)](#from-pypi-when-published)
14
13
  - [Clone + Install (development)](#clone-install-development)
15
14
  - [Requirements](#requirements)
16
15
  - [Verify](#verify)
@@ -74,14 +73,6 @@ python3 -m venv ~/.kimi-mcp-hub/.venv
74
73
  ln -s ~/.kimi-mcp-hub/.venv/bin/kimi-mcp-hub ~/.local/bin/kimi-mcp-hub
75
74
  ```
76
75
 
77
- ### From PyPI (when published)
78
-
79
- ```bash
80
- python3 -m venv ~/.kimi-mcp-hub/.venv
81
- ~/.kimi-mcp-hub/.venv/bin/pip install --upgrade kimi-mcp-hub
82
- ln -s ~/.kimi-mcp-hub/.venv/bin/kimi-mcp-hub ~/.local/bin/kimi-mcp-hub
83
- ```
84
-
85
76
  ### Clone + Install (development)
86
77
 
87
78
  ```bash
@@ -253,7 +244,7 @@ Update `kimi-mcp-hub` to the latest version in the isolated venv:
253
244
  kimi-mcp-hub update
254
245
  ```
255
246
 
256
- This upgrades the package from GitHub (preferred) or PyPI and refreshes the `~/.local/bin` symlinks. Development installs (git checkouts) are detected and skipped.
247
+ This upgrades the package from GitHub and refreshes the `~/.local/bin` symlinks. Development installs (git checkouts) are detected and skipped.
257
248
 
258
249
  ---
259
250
 
@@ -742,7 +733,7 @@ pytest -q
742
733
  | kimi-mcp-hub CLI |
743
734
  | +---------------------------------+ |
744
735
  | | (no args) -> welcome banner | |
745
- | | install -> PyPI/GitHub update | |
736
+ | | install -> GitHub update | |
746
737
  | | init -> interactive wizard | |
747
738
  | | add -> writes ~/.kimi-code/...| |
748
739
  | | add --project -> writes ./.kimi| |
@@ -151,14 +151,6 @@ link_binaries() {
151
151
  fi
152
152
  }
153
153
 
154
- install_from_pypi() {
155
- print_info "Installing kimi-mcp-hub from PyPI..."
156
- create_venv
157
- "$VENV_DIR/bin/pip" install --upgrade kimi-mcp-hub
158
- link_binaries
159
- print_success "Installed from PyPI"
160
- }
161
-
162
154
  install_from_github() {
163
155
  print_info "Cloning repository..."
164
156
 
@@ -316,7 +308,7 @@ main() {
316
308
  OBSIDIAN_VAULT="$2"
317
309
  shift 2
318
310
  ;;
319
- --pip|--clone|--pypi|pip|clone|pypi)
311
+ --pip|--clone|pip|clone)
320
312
  METHOD="$1"
321
313
  shift
322
314
  ;;
@@ -334,18 +326,8 @@ main() {
334
326
  --clone|clone)
335
327
  install_from_github
336
328
  ;;
337
- --pypi|pypi)
338
- install_from_pypi
339
- ;;
340
329
  *)
341
- # Try PyPI first, fallback to pip+git
342
- create_venv
343
- if "$VENV_DIR/bin/pip" install --dry-run kimi-mcp-hub &>/dev/null 2>&1; then
344
- install_from_pypi
345
- else
346
- print_info "PyPI package not found, installing from GitHub..."
347
- install_pip_git
348
- fi
330
+ install_pip_git
349
331
  ;;
350
332
  esac
351
333
 
@@ -8,7 +8,6 @@ const path = require("path");
8
8
  const os = require("os");
9
9
 
10
10
  const REPO = "KalimeroMK/kimi-mcp-hub";
11
- const PYPI_NAME = "kimi-mcp-hub";
12
11
  const PYTHON_MODULE = "kimi_mcp_hub";
13
12
  const INSTALL_DIR = path.join(os.homedir(), ".kimi-mcp-hub");
14
13
  const VENV_DIR = process.env.KIMI_MCP_HUB_VENV || path.join(INSTALL_DIR, ".venv");
@@ -100,22 +99,9 @@ function installPackage(python) {
100
99
  run(venvPy, ["-m", "pip", "install", "--upgrade", "pip"]);
101
100
 
102
101
  const installSpec = getInstallSpec();
103
-
104
- // Prefer PyPI when the package is published and not running from a local repo.
105
- let installArgs;
106
- if (installSpec === LOCAL_REPO_DIR) {
107
- installArgs = ["-m", "pip", "install", "--no-cache-dir", "--force-reinstall", "--upgrade", installSpec];
108
- } else {
109
- const pypiDry = spawnSync(
110
- venvPy,
111
- ["-m", "pip", "install", "--dry-run", PYPI_NAME],
112
- { stdio: "pipe", shell: false }
113
- );
114
- installArgs =
115
- pypiDry.status === 0
116
- ? ["-m", "pip", "install", "--no-cache-dir", "--force-reinstall", "--upgrade", PYPI_NAME]
117
- : ["-m", "pip", "install", "--no-cache-dir", "--force-reinstall", "--upgrade", installSpec];
118
- }
102
+ const installArgs = [
103
+ "-m", "pip", "install", "--no-cache-dir", "--force-reinstall", "--upgrade", installSpec,
104
+ ];
119
105
 
120
106
  const installResult = run(venvPy, installArgs);
121
107
  if (installResult !== 0) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kimi-mcp-hub",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "One-click MCP server and skills manager for Kimi CLI",
5
5
  "main": "install/npm-wrapper.js",
6
6
  "bin": {