Implements an MCP stdio server exposing 69 tools that cover every endpoint of the latest Nginx Proxy Manager swagger spec: - system (root, version-check, schema, low-level npm_request escape hatch) - tokens (login, refresh, 2FA validate) - users (CRUD, auth, permissions, sudo-login, full 2FA lifecycle) - proxy / redirection / dead / stream hosts (CRUD + enable/disable) - certificates (CRUD, download, renew, upload, validate, test-http, dns-providers) - access-lists (CRUD with clients + items) - audit-log (list, get) - reports (hosts) - settings (list, get, update) Auth: accepts NPM_TOKEN or auto-issues + refreshes a JWT from NPM_EMAIL/NPM_PASSWORD against NPM_BASE_URL. Distribution: npx-runnable via the @warnyin/nginx-proxy-manager-mcp scoped package; bin -> dist/index.js. Build with tsc, no runtime deps besides @modelcontextprotocol/sdk and zod.
21 lines
478 B
JSON
21 lines
478 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2022",
|
|
"module": "ES2022",
|
|
"moduleResolution": "Bundler",
|
|
"lib": ["ES2022"],
|
|
"outDir": "dist",
|
|
"rootDir": "src",
|
|
"strict": true,
|
|
"noImplicitAny": true,
|
|
"esModuleInterop": true,
|
|
"skipLibCheck": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"resolveJsonModule": true,
|
|
"declaration": false,
|
|
"sourceMap": false
|
|
},
|
|
"include": ["src/**/*.ts"],
|
|
"exclude": ["node_modules", "dist"]
|
|
}
|