Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions projects/github.com/promptexecution/just-mcp/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# just-mcp pkgx package

This pantry entry installs the Just MCP server built by `just-mcp` releases. The package manifest downloads a tarball whose name matches the target triple (`just-mcp-${target}.tar.gz`) from the GitHub release corresponding to the current tag (see `.github/workflows/build-binaries.yml` for the artifact names).

## Packaging requirements

- Every release must publish the archives `just-mcp-x86_64-unknown-linux-gnu.tar.gz`, `just-mcp-aarch64-unknown-linux-gnu.tar.gz`, `just-mcp-x86_64-apple-darwin.tar.gz`, `just-mcp-aarch64-apple-darwin.tar.gz`, and `just-mcp-x86_64-pc-windows-msvc.tar.gz` so pkgx can download them per host/arch.
- The manifest pulls the version from GitHub tags (it strips the leading `v`) and places the extracted binary under `${PKGX_DIR:-$HOME/.pkgx}/bin` (with `.exe` for Windows) so subsequent `pkgx just-mcp` invocations run the installed CLI.
- Run `pkgx just-mcp --version` after merging the pantry PR to make sure the release assets are reachable.
21 changes: 21 additions & 0 deletions projects/github.com/promptexecution/just-mcp/package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
distributable:
url: https://github.com/PromptExecution/just-mcp/archive/refs/tags/{{version.tag}}.tar.gz
strip-components: 1

versions:
github: PromptExecution/just-mcp/tags

description: Production-ready MCP server that exposes Justfile recipes over MCP.

build:
dependencies:
rust-lang.org: '>=1.89'
script:
# missed version bump
- sed -i '1,20s/^version = ".*"$/version = "{{version}}"/' Cargo.toml
- cargo install --path . --root {{prefix}}

provides:
- bin/just-mcp

test: test "$(just-mcp --version)" = "just-mcp {{version}}"