1.7 KiB
1.7 KiB
Final Step: Create API Token
Your .env file is configured with your Proxmox connection details. You now need to create the API token and add it to the .env file.
Quick Steps
Option 1: Via Proxmox Web UI (Recommended - 2 minutes)
-
Open Proxmox Web Interface:
https://192.168.11.10:8006 -
Login with:
- User:
root - Password:
L@kers2010
- User:
-
Navigate to API Tokens:
- Click Datacenter (left sidebar)
- Click Permissions
- Click API Tokens
-
Create Token:
- Click Add button
- User: Select
root@pam - Token ID: Enter
mcp-server - Privilege Separation: Leave unchecked (for full permissions)
- Click Add
-
Copy the Secret:
- ⚠️ IMPORTANT: The secret is shown only once!
- Copy the entire secret value
-
Update .env file:
nano ~/.envReplace this line:
PROXMOX_TOKEN_VALUE=your-token-secret-hereWith:
PROXMOX_TOKEN_VALUE=<paste-the-secret-here> -
Save and verify:
./scripts/verify-setup.sh
Option 2: Delete Existing Token First (if it exists)
If the token mcp-server already exists:
- In Proxmox UI: Datacenter → Permissions → API Tokens
- Find
root@pam!mcp-server - Click Remove to delete it
- Then create it again using Option 1 above
After Token is Configured
Test the connection:
# Verify setup
./scripts/verify-setup.sh
# Test MCP server
pnpm test:basic
Your Current Configuration:
- Host: 192.168.11.10 (ml110.sankofa.nexus)
- User: root@pam
- Token Name: mcp-server
- Status: ⚠️ Token value needed