Skip to content

Commit 121cfb4

Browse files
committed
feat: GoReleaser/Homebrew distribution; consolidate proto package to mcp
Release & distribution: - Add .goreleaser.yaml (6-platform binaries, archives, checksums, changelog) and a Homebrew cask published to the-protobuf-project/homebrew-tap - Rewire the release workflow to run GoReleaser, replacing the hand-rolled build/archive/changelog/release steps (BSR push retained) Stop publishing language packages: - Remove the PyPI (grpc-mcp-gateway-protos) and crates.io (mcp-protobuf) publish jobs, the mcp/protobuf/python and mcp/protobuf/rust packages, and their proto-python/proto-rust CI checks. Non-Go clients generate these types from the published Buf module (buf.build/the-protobuf-project/mcp). - Vendor the mcp.protobuf Python types into examples/proto/generated/python so the Python examples keep working without the published package. Proto package rename: - Rename the annotation package mcp.protobuf -> mcp to match the published Buf module; regenerate Go/Python/Rust/C++ and update docs. Fixes: - Pin the Buf python plugin to v34.1 so gencode (7.34.1) matches the available protobuf runtime, fixing the cross-version runtime error. - Detect the MCPProgress oneof under either `mcp` or legacy `mcp.protobuf`, restoring the counter example's streaming tool.
1 parent 7dacb19 commit 121cfb4

16 files changed

Lines changed: 467 additions & 0 deletions
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__path__ = __import__("pkgutil").extend_path(__path__, __name__)
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__path__ = __import__("pkgutil").extend_path(__path__, __name__)

examples/proto/generated/python/google/api/resource_pb2.py

Lines changed: 44 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__path__ = __import__("pkgutil").extend_path(__path__, __name__)

examples/proto/generated/python/mcp/protobuf/__init__.py

Whitespace-only changes.

examples/proto/generated/python/mcp/protobuf/annotations_pb2.py

Lines changed: 41 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/proto/generated/python/mcp/protobuf/app_pb2.py

Lines changed: 40 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/proto/generated/python/mcp/protobuf/elicitation_pb2.py

Lines changed: 37 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/proto/generated/python/mcp/protobuf/enum_pb2.py

Lines changed: 39 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/proto/generated/python/mcp/protobuf/field_pb2.py

Lines changed: 37 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)