Skip to content

Commit 7f6c2a6

Browse files
committed
feat: restore all custom configurations and multi-client support
Restored stashed changes including: - manifest.json with custom user_config (profile, config_path, enable_global_cli, auto_import_client_mcps, enable_debug_logging) - Author changed to Portel - Multi-client auto-import support (desktop clients, IDEs, editors) - Enhanced profile-manager with tryAutoImportFromClient() - OAuth authentication support in MCPConfig - Updated build scripts and documentation - Download stats tracking
1 parent 287260b commit 7f6c2a6

11 files changed

Lines changed: 839 additions & 1978 deletions

File tree

.mcpbignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ dist/index.js.map
2828

2929
# Build artifacts
3030
*.tgz
31-
*.mcpb
31+
*.dxt
3232
*.backup
3333

3434
# IDE

README.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
[![npm version](https://img.shields.io/npm/v/@portel/ncp.svg)](https://www.npmjs.com/package/@portel/ncp)
22
[![npm downloads](https://img.shields.io/npm/dm/@portel/ncp.svg)](https://www.npmjs.com/package/@portel/ncp)
3+
[![GitHub release downloads](https://img.shields.io/github/downloads/portel-dev/ncp/total?label=.mcpb%20downloads)](https://github.com/portel-dev/ncp/releases)
4+
[![Latest release](https://img.shields.io/github/downloads/portel-dev/ncp/latest/total?label=latest%20.mcpb)](https://github.com/portel-dev/ncp/releases/latest)
35
[![License: Elastic-2.0](https://img.shields.io/badge/License-Elastic--2.0-blue.svg)](https://www.elastic.co/licensing/elastic-license)
46
[![MCP Compatible](https://img.shields.io/badge/MCP-Compatible-blue.svg)](https://modelcontextprotocol.io/)
57

@@ -123,9 +125,16 @@ With NCP's orchestration:
123125
- **npm** (included with Node.js) or **npx** for running packages
124126
- **Command line access** (Terminal on Mac/Linux, Command Prompt/PowerShell on Windows)
125127

126-
## 🚀 **2-Minute Setup for Existing MCP Users**
128+
## 🚀 **Installation**
127129

128-
### **⚡ The Easy Way: One-Click Installation** (Claude Desktop Only)
130+
Choose your preferred installation method:
131+
132+
| Method | Best For | Downloads |
133+
|--------|----------|-----------|
134+
| **📦 .mcpb Bundle** | Claude Desktop users | ![.mcpb downloads](https://img.shields.io/github/downloads/portel-dev/ncp/total?label=downloads&color=green) |
135+
| **📥 npm Package** | All MCP clients, CLI users | ![npm downloads](https://img.shields.io/npm/dt/@portel/ncp?label=downloads&color=blue) |
136+
137+
### **⚡ Option 1: One-Click Installation (.mcpb)** - Claude Desktop Only
129138

130139
**For Claude Desktop users** - Download and double-click to install:
131140

@@ -178,7 +187,7 @@ nano ~/.ncp/profiles/all.json
178187
179188
---
180189

181-
### **🔧 The Manual Way: For All MCP Clients**
190+
### **🔧 Option 2: npm Installation** - All MCP Clients (Cursor, Cline, Continue, etc.)
182191

183192
### **Step 1: Import Your Existing MCPs**
184193

manifest.json

Lines changed: 50 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,63 @@
22
"manifest_version": "0.2",
33
"name": "ncp",
44
"display_name": "NCP - Natural Context Provider",
5-
"version": "1.4.3",
6-
"description": "N-to-1 MCP Orchestration. Unified gateway for multiple MCP servers with intelligent tool discovery.",
7-
"long_description": "NCP transforms N scattered MCP servers into 1 intelligent orchestrator. Your AI sees just 2 simple tools instead of 50+ complex ones, while NCP handles all the routing, discovery, and execution behind the scenes. Features semantic search, token optimization (97% reduction), and automatic tool discovery across all your MCP servers.",
5+
"version": "1.5.0",
6+
"description": "N-to-1 MCP Orchestration. Unified gateway for multiple MCP servers with intelligent tool discovery and auto-import.",
7+
"long_description": "NCP transforms N scattered MCP servers into 1 intelligent orchestrator. Your AI sees just 2 simple tools instead of 50+ complex ones, while NCP handles all the routing, discovery, and execution behind the scenes. Features: semantic search, token optimization (97% reduction), automatic tool discovery, multi-client auto-import (Claude Desktop, Perplexity, Cursor, Cline, Continue), dynamic runtime detection, and optional global CLI access.",
88
"author": {
9-
"name": "NCP Team",
9+
"name": "Portel",
1010
"url": "https://github.com/portel-dev/ncp"
1111
},
12+
"user_config": {
13+
"profile": {
14+
"type": "string",
15+
"title": "Profile Name",
16+
"description": "Which NCP profile to use (e.g., 'all', 'development', 'minimal'). Auto-imported MCPs from your MCP client will be added to this profile.",
17+
"default": "all"
18+
},
19+
"config_path": {
20+
"type": "string",
21+
"title": "Configuration Path",
22+
"description": "Where to store NCP configurations. Use '~/.ncp' for global (shared across projects), '.ncp' for local (per-project), or specify custom path.",
23+
"default": "~/.ncp"
24+
},
25+
"enable_global_cli": {
26+
"type": "boolean",
27+
"title": "Enable Global CLI Access",
28+
"description": "Create a global 'ncp' command for terminal usage. Allows running NCP from command line anywhere on your system.",
29+
"default": false
30+
},
31+
"auto_import_client_mcps": {
32+
"type": "boolean",
33+
"title": "Auto-import Client MCPs",
34+
"description": "Automatically import all MCPs from your MCP client (Claude Desktop, Perplexity, Cursor, etc.) on startup. Syncs both config files and extensions.",
35+
"default": true
36+
},
37+
"enable_debug_logging": {
38+
"type": "boolean",
39+
"title": "Enable Debug Logging",
40+
"description": "Show detailed logs for troubleshooting (runtime detection, MCP loading, etc.)",
41+
"default": false
42+
}
43+
},
1244
"server": {
1345
"type": "node",
1446
"entry_point": "dist/index-mcp.js",
1547
"mcp_config": {
1648
"command": "node",
17-
"args": ["${__dirname}/dist/index-mcp.js"],
18-
"env": {}
49+
"args": [
50+
"${__dirname}/dist/index-mcp.js",
51+
"--profile=${user_config.profile}",
52+
"--config-path=${user_config.config_path}"
53+
],
54+
"env": {
55+
"NCP_PROFILE": "${user_config.profile}",
56+
"NCP_CONFIG_PATH": "${user_config.config_path}",
57+
"NCP_ENABLE_GLOBAL_CLI": "${user_config.enable_global_cli}",
58+
"NCP_AUTO_IMPORT": "${user_config.auto_import_client_mcps}",
59+
"NCP_DEBUG": "${user_config.enable_debug_logging}",
60+
"NCP_MODE": "extension"
61+
}
1962
}
2063
},
2164
"tools": [
@@ -28,6 +71,6 @@
2871
"description": "Execute tools from managed MCP servers. Requires exact format 'mcp_name:tool_name' with required parameters. System provides suggestions if tool not found and automatic fallbacks when tools fail."
2972
}
3073
],
31-
"keywords": ["mcp", "model-context-protocol", "ai-orchestration", "tool-discovery", "multi-mcp", "claude", "ai-gateway"],
74+
"keywords": ["mcp", "model-context-protocol", "ai-orchestration", "tool-discovery", "multi-mcp", "claude", "ai-gateway", "auto-import"],
3275
"license": "Elastic-2.0"
3376
}

0 commit comments

Comments
 (0)