AtlatestRepositoryparlor
1
;;; parlor - Discourse forum management CLI and MCP server2
;;;3
;;; A dual-mode tool for managing topics, posts, categories, users, groups,4
;;; and messages on Discourse forums. Usable as a CLI by humans and as an5
;;; MCP server by AI agents.7
(package8
name: "parlor"9
version: "0.1.0"10
sigil: "0.20"11
description: "Discourse forum management CLI and MCP server"12
url: "https://codeberg.org/sigil/parlor"13
license: "BSD-3-Clause"14
authors: (list "David Wilson <[email protected]>")16
entry: '(parlor main)17
bundle-name: "parlor"19
configs: (list20
(config21
name: 'dev22
output-dir: "build/dev"23
debug?: #t24
optimize: 025
bundle?: #t)26
(config27
name: 'release28
output-dir: "build/release"29
debug?: #f30
optimize: 231
bundle?: #t))33
provides: (list34
mcp-server: #{ name: "parlor"35
args: #["serve"]36
secret-env: #{ DISCOURSE_API_KEY: #t37
DISCOURSE_USERNAME: #t38
DISCOURSE_URL: #t } })40
dependencies: (list41
(from-git url: "codeberg:sigil/sigil" package: "sigil-run" version: ">=0.21")42
(from-git url: "codeberg:sigil/sigil" package: "sigil-stdlib" version: ">=0.21")43
(from-git url: "codeberg:sigil/sigil-mcp" version: "^0.17")44
(from-git url: "codeberg:sigil/sigil-discourse" version: "^0.9.0")45
;; (sigil env) is imported by the test suite. It resolved ambiently on a46
;; developer machine and NOT in a delivered CI tree, so the first CI run47
;; failed with "library not found: (sigil env)" while the local suite was48
;; green. Declared explicitly so both agree.49
(from-git url: "codeberg:sigil/sigil" package: "sigil-env" version: ">=0.21"))51
dev-dependencies: (list52
(from-git url: "codeberg:sigil/sigil" package: "sigil-test" version: ">=0.21")53
(from-git url: "codeberg:sigil/sigil" package: "sigil-test-runner" version: ">=0.21"))55
tasks: (list56
(task57
name: 'build58
description: "Compile parlor modules"59
steps: (list60
(compile-sigil-modules sources: "src/**/*.sgl"61
output-dir: (config-output-subdir "lib"))))))