Fix npm package deployment and usage documentation
🔧 Resolve npmjs deployment issue: - Add npm global installation guide (npm install -g @ironclads/incus-mcp) - Update Claude Desktop configuration with two options - Fix mcp-config-example.json to use global binary - Update CLAUDE.md with correct remote server list (removed lambda) ✅ npm package now works correctly with global installation 📚 Documentation updated with clear installation options 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -56,8 +56,8 @@ The `.claude/settings.local.json` file enables all configured MCP servers for Cl
|
||||
|
||||
### Remote Server Support
|
||||
The server automatically works with all configured Incus remotes:
|
||||
- **remote1**: Example primary remote server
|
||||
- **remote2**: Example secondary remote server
|
||||
- **jp1**: Japan remote server (100.109.123.1:8443)
|
||||
- **kr1**: Korea remote server (100.84.111.28:8443)
|
||||
- **local**: Local Incus daemon
|
||||
- **images**: LinuxContainers.org image server
|
||||
- **docker**: Docker Hub OCI registry
|
||||
|
||||
25
README.md
25
README.md
@@ -36,6 +36,16 @@ Seamlessly works with all your configured Incus remotes:
|
||||
|
||||
## 🚀 Quick Start
|
||||
|
||||
### Installation from NPM (Recommended)
|
||||
```bash
|
||||
# Global installation (recommended for Claude Desktop)
|
||||
npm install -g @ironclads/incus-mcp
|
||||
|
||||
# Verify installation
|
||||
incus-mcp --version
|
||||
which incus-mcp
|
||||
```
|
||||
|
||||
### Installation from Source
|
||||
```bash
|
||||
# Clone the repository
|
||||
@@ -78,6 +88,21 @@ npm start
|
||||
|
||||
Add to your Claude Desktop MCP configuration (`~/.config/claude-desktop/config.json`):
|
||||
|
||||
#### Option 1: Using Global NPM Installation (Recommended)
|
||||
```json
|
||||
{
|
||||
"mcpServers": {
|
||||
"incus": {
|
||||
"command": "incus-mcp",
|
||||
"env": {
|
||||
"PATH": "/usr/local/bin:/opt/homebrew/bin:/usr/bin:/bin"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
#### Option 2: Using Local Installation
|
||||
```json
|
||||
{
|
||||
"mcpServers": {
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
{
|
||||
"mcpServers": {
|
||||
"incus": {
|
||||
"command": "node",
|
||||
"args": ["/Users/kaffa/mcp-servers/incus-mcp/build/index.js"],
|
||||
"command": "incus-mcp",
|
||||
"env": {
|
||||
"PATH": "/usr/local/bin:/opt/homebrew/bin:/usr/bin:/bin"
|
||||
}
|
||||
|
||||
16
test-npmjs/package.json
Normal file
16
test-npmjs/package.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"name": "test-npmjs",
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"type": "commonjs",
|
||||
"dependencies": {
|
||||
"@ironclads/incus-mcp": "^0.1.6"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user