From unifi-access
Walk the user through setting up UniFi Access controller credentials and persist them to `~/.mcp.json` so the MCP server can authenticate on every Claude Code launch.
How this skill is triggered — by the user, by Claude, or both
Slash command
/unifi-access:configureThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Walk the user through setting up UniFi Access controller credentials and persist them to `~/.mcp.json` so the MCP server can authenticate on every Claude Code launch.
Walk the user through setting up UniFi Access controller credentials and persist them to ~/.mcp.json so the MCP server can authenticate on every Claude Code launch.
Say: "What is the URL of your UniFi Access controller? (e.g. https://192.168.1.1 or https://unifi.local)"
Store as UNIFI_HOST.
Say: "What is your UniFi Access admin username?"
Store as UNIFI_USERNAME.
Say: "What is your UniFi Access admin password?"
Store as UNIFI_PASSWORD.
Say: "Should SSL certificates be verified? Most homelabs use self-signed certs. Enter true or false (default: false)."
Default to false if unsure. Store as UNIFI_VERIFY_SSL.
Use Python to read ~/.mcp.json (create if missing), set the env vars under the unifi-access server, and write it back:
import json, os
path = os.path.expanduser("~/.mcp.json")
config = {}
if os.path.exists(path):
with open(path) as f:
config = json.load(f)
config.setdefault("mcpServers", {}).setdefault("unifi-access", {}).setdefault("env", {}).update({
"UNIFI_HOST": "<value from step 1>",
"UNIFI_USERNAME": "<value from step 2>",
"UNIFI_PASSWORD": "<value from step 3>",
"UNIFI_VERIFY_SSL": "<value from step 4>"
})
with open(path, "w") as f:
json.dump(config, f, indent=2)
print("Saved.")
Say: "UniFi Access credentials saved to ~/.mcp.json. Run /reload-plugins to apply them."
~/.mcp.json is missing, create it with the full structure.Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub pzharyuk/ai-claude-plugins --plugin unifi-access