feat(cli): Replace mcp run with click CLI and runtime options

BREAKING CHANGE: FASTMCP_-prefixed env vars have been replaced by CLI
arguments. Refer to the README for updated usage.

Usage: python -m nextcloud_mcp_server.app [OPTIONS]

Options:
  -h, --host TEXT
  -p, --port INTEGER
  -w, --workers INTEGER
  -r, --reload
  --log-level [critical|error|warning|info|debug|trace]
  -t, --transport [sse|streamable-http]
  -e, --enable-app [notes|tables|webdav|calendar|contacts]
                                  Enable specific Nextcloud app APIs. Can be
                                  specified multiple times. If not specified,
                                  all apps are enabled.
  --help                          Show this message and exit.
This commit is contained in:
Chris Coutinho
2025-09-10 17:19:12 +02:00
parent d01c6ee0d0
commit bbd8d1cf63
7 changed files with 317 additions and 135 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/commitizen-tools/commitizen
rev: v4.8.3
rev: v4.9.0
hooks:
- id: commitizen
- id: commitizen-branch