Skip to content

v0.7.3 - NPX Compatibility Fix

Choose a tag to compare

@vespo92 vespo92 released this 07 Aug 14:33

πŸ› Bug Fixes

  • Fixed ESM import paths missing .js extensions
  • Updated npx command to use --yes flag for better compatibility
  • Added @latest to ensure newest version is fetched

πŸ“š Documentation

  • Updated all configuration examples with working syntax
  • Added troubleshooting section for connection issues
  • Improved Claude Code/Desktop setup instructions

πŸ”§ Configuration

Working Claude Code configuration:

{
  "mcpServers": {
    "opnsense": {
      "command": "npx",
      "args": ["--yes", "opnsense-mcp-server@latest"],
      "env": {
        "OPNSENSE_HOST": "https://192.168.1.1",
        "OPNSENSE_API_KEY": "your-api-key",
        "OPNSENSE_API_SECRET": "your-api-secret",
        "OPNSENSE_VERIFY_SSL": "false"
      }
    }
  }
}

πŸ“¦ Installation

npm i opnsense-mcp-server
# or use directly with npx
npx --yes opnsense-mcp-server@latest