Compare commits
3 Commits
a1b154ac44
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c4a32aedf0 | ||
|
|
868141876e | ||
|
|
31d0e9b97f |
@@ -56,8 +56,8 @@ The `.claude/settings.local.json` file enables all configured MCP servers for Cl
|
|||||||
|
|
||||||
### Remote Server Support
|
### Remote Server Support
|
||||||
The server automatically works with all configured Incus remotes:
|
The server automatically works with all configured Incus remotes:
|
||||||
- **remote1**: Example primary remote server
|
- **jp1**: Japan remote server (100.109.123.1:8443)
|
||||||
- **remote2**: Example secondary remote server
|
- **kr1**: Korea remote server (100.84.111.28:8443)
|
||||||
- **local**: Local Incus daemon
|
- **local**: Local Incus daemon
|
||||||
- **images**: LinuxContainers.org image server
|
- **images**: LinuxContainers.org image server
|
||||||
- **docker**: Docker Hub OCI registry
|
- **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
|
## 🚀 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
|
### Installation from Source
|
||||||
```bash
|
```bash
|
||||||
# Clone the repository
|
# Clone the repository
|
||||||
@@ -78,6 +88,21 @@ npm start
|
|||||||
|
|
||||||
Add to your Claude Desktop MCP configuration (`~/.config/claude-desktop/config.json`):
|
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
|
```json
|
||||||
{
|
{
|
||||||
"mcpServers": {
|
"mcpServers": {
|
||||||
|
|||||||
@@ -1,8 +1,7 @@
|
|||||||
{
|
{
|
||||||
"mcpServers": {
|
"mcpServers": {
|
||||||
"incus": {
|
"incus": {
|
||||||
"command": "node",
|
"command": "incus-mcp",
|
||||||
"args": ["/Users/kaffa/mcp-servers/incus-mcp/build/index.js"],
|
|
||||||
"env": {
|
"env": {
|
||||||
"PATH": "/usr/local/bin:/opt/homebrew/bin:/usr/bin:/bin"
|
"PATH": "/usr/local/bin:/opt/homebrew/bin:/usr/bin:/bin"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@ironclads/incus-mcp",
|
"name": "@ironclads/incus-mcp",
|
||||||
"version": "0.1.6",
|
"version": "0.1.7",
|
||||||
"description": "MCP server for Incus container management",
|
"description": "MCP server for Incus container management",
|
||||||
"main": "build/index.js",
|
"main": "build/index.js",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
|||||||
@@ -343,9 +343,7 @@ async function main() {
|
|||||||
await server.run();
|
await server.run();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (import.meta.url === `file://${process.argv[1]}`) {
|
main().catch((error) => {
|
||||||
main().catch((error) => {
|
|
||||||
console.error('Server error:', error);
|
console.error('Server error:', error);
|
||||||
process.exit(1);
|
process.exit(1);
|
||||||
});
|
});
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user