golang-github-modelcontextprotocol-go-sdk 1.8.0-1
Package Information
| Description | Go SDK for Model Context Protocol servers and clients This package provides the Go SDK for Model Context Protocol, providing a framework for developing MCP servers and clients. It also includes features to help develop JSON-RPC-based transports, and OAuth protocol extensions such as ProtectedResourceMetadata. The SDK endevors to implement the full MCP spec. The SDK documentation details which version of the spec is supported by each release of the SDK. |
|---|---|
| Maintainer | Debian Go Packaging Team <team+pkg-go@tracker.debian.org> |
| Changed By | Stephen Kitt <skitt@debian.org> |
| Sponsor | skitt@debian.org |
| Distribution | unstable |
| Architecture | all |
| VCS | git: https://salsa.debian.org/go-team/packages/golang-github-modelcontextprotocol-go-sdk.git (browse) |
| Closes | #1144124 |
| Tracker | https://tracker.debian.org/pkg/golang-github-modelcontextprotocol-go-sdk |
| Uploaded | 2 hours ago |
New Package Report
.changes
| Source | golang-github-modelcontextprotocol-go-sdk |
|---|---|
| Version | 1.8.0-1 |
| Changed-By | Stephen Kitt <skitt@debian.org> |
| Architecture | source all |
| Distribution | unstable |
| Date | Fri, 20 Nov 2026 12:48:57 +0100 |
Changelog
golang-github-modelcontextprotocol-go-sdk (1.8.0-1) unstable; urgency=medium . * Initial release. Closes: #1144124.
.dsc
| Section | golang |
|---|---|
| Priority | optional |
| Component | main |
| Package-List | golang-github-modelcontextprotocol-go-sdk-dev deb golang optional arch=all |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Source: https://github.com/modelcontextprotocol/go-sdk
Upstream-Name: go-sdk
Comment:
The MCP project is undergoing a licensing transition from the MIT
License to the Apache License, Version 2.0 ("Apache-2.0"). All new
code and specification contributions to the project are licensed
under Apache-2.0. Documentation contributions (excluding
specifications) are licensed under CC-BY-4.0.
.
Contributions for which relicensing consent has been obtained are
licensed under Apache-2.0. Contributions made by authors who
originally licensed their work under the MIT License and who have not
yet granted explicit permission to relicense remain licensed under
the MIT License.
Files: *
Copyright: 2024-2025 Model Context Protocol a Series of LF Projects, LLC
License: Expat and Apache-2.0 and CC-BY-4.0
Files: debian/*
Copyright: 2026 Stephen Kitt <skitt@debian.org>
License: Apache-2.0
Comment: Debian packaging is licensed under the same terms as upstream
License: Apache-2.0
This project is licensed under Apache 2.0 for new contributions.
.
On Debian systems, the complete text of the Apache Software License,
version 2.0 can be found in /usr/share/common-licenses/Apache-2.0.
License: CC-BY-4.0
Documentation contributions (excluding specifications) are licensed
under CC-BY-4.0.
.
On Debian systems, the full text of the Creative Commons Attribution
4.0 International (CC-BY-4.0) license can be found in
/usr/share/common-licenses/CC-BY-4.0.
License: Expat
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
.
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
DFSG Assistant LLM REVIEW 0 blocker, 0 important, 2 minor
This is an LLM based review using a Debian Inference based workflow. It was not written by a member of the DFSG team and has not been checked by one. It is not a decision on the package: it may be wrong, and it may have missed things.
Reviewed 1 hour ago.
Proposes a replacement debian/watch:
debian/watch in version 5 format
Report
DFSG NEW review for golang-github-modelcontextprotocol-go-sdk version 1.8.0-1
Summary
- Licensing is DFSG-compliant and
debian/copyrightis accurate: No - Packaging is of good quality: Yes
- Issues: 0 blocker, 0 important, 2 minor
- debian/watch: old format (version 4)
- debian/copyright: machine-readable
- Scan before the review: nothing found
Licensing
All licences in the tree are DFSG-free: the Go sources are Expat (MIT-style per-file headers, full Expat text in debian/copyright), new contributions are Apache-2.0 and the documentation is CC-BY-4.0, both referenced to /usr/share/common-licenses; there is no non-free wording, no third-party or vendored code, and no file without a licence. The one defect is that debian/copyright names only the LLC from LICENSE and omits the holder that every .go file's header names, 'The Go MCP SDK Authors'. Because the package is Architecture: all and ships those files as plain text with their notices intact, Policy 2.3 does not require that holder, so the omission is minor, not a blocker.
Packaging
The packaging is a clean single-binary-package Go library: debhelper compat 14 with dh-sequence-golang and an explicit single-binary add-on (the documented way at compat 14, and forward-looking for compat 15), a complete Build-Depends/Depends set that apt-cache resolves, 3.0 (quilt) with one DEP-3 patch, autopkgtest-pkg-go, correct Multi-Arch/Architecture, an accurate DEP-5 copyright file, and a sane initial changelog closing the ITP. The docs/ install into the gocode tree, the examples exclusion and the docs/examples install files are all justified by dh-golang's documentation and by upstream's tests.
Issues
minor licensing 1. Files: * does not name the holder "The Go MCP SDK Authors" carried by the header of every .go file ◂
- Files:
debian/copyright (Files: * stanza),auth/auth.go:1,mcp/client.go:1,oauthex/dcr.go:1,design/design.md:891 - Basis: checked, in the package or with a reference tool
- Evidence:
debian/copyright:Copyright: 2024-2025 Model Context Protocol a Series of LF Projects, LLC; every .go file:// Copyright 2025 The Go MCP SDK Authors. All rights reserved.(2026 on newer files);design/design.md:891:MIT license, copyright "Go SDK Authors" - Problem: debian/copyright's catch-all stanza names only the LLC from LICENSE and omits the second holder, 'The Go MCP SDK Authors', which the header of every .go file states. The notice is missing, so the copyright file is not complete as the DFSG team expects. Policy 2.3 does not require it to be copied here: the binary package is Architecture: all and contains no compiled objects, the .go files are installed unchanged under /usr/share/gocode with their headers intact, and examples/ ships as plain text through dh_installexamples; the Licence does require the notice to be kept, but condition 3 of Policy 2.3 is not met.
- Fix: Add
2025-2026 The Go MCP SDK Authorsto the Copyright field of theFiles: *stanza (alongside the LLC), or add a stanza covering the .go files with that holder.
minor packaging 2. debian/watch is in the old version 4 format ◂
- Files:
debian/watch - Basis: found by the review tooling's own checks
- Evidence:
version=4 - Problem: Version 5 is the current format of
debian/watch. - Fix: Convert it to version 5; a mechanical conversion is under Proposed changes.
Verified ◂
- Read all of debian/: control, rules, changelog, copyright, source/format, patches/series and disable-tests.patch, the .docs and .examples files, the lintian overrides, gbp.conf, salsa-ci.yml, gitlab-ci.yml, upstream/metadata. debian/watch was not reviewed.
- Grepped the whole tree with gitignore disabled for Copyright/(C)/©, SPDX-License-Identifier, 'Licensed under', 'Permission is hereby granted', GPL/LGPL/Apache/MPL/CC/public-domain wording and non-free terms (non-commercial, no-derivative, ShareAlike, research-only): the only holders are the LLC (LICENSE) and 'The Go MCP SDK Authors' (every .go header); there is no other LICENSE/COPYING/NOTICE/AUTHORS file and no vendor/ directory.
- All files the pre-scan listed are covered by that single holder: the ~150 .go files (including examples/ and internal/) and scripts/*.sh carry the identical two-line MIT-style header; in AGENTS.md:41 and CONTRIBUTING.md:152 the string is a quoted header example in documentation, and design/design.md:891 names 'Go SDK Authors' in prose, not as a separate notice.
- docs/.md is generated by
weavefrom internal/docs/.src.md (present), and README.md/CONTRIBUTING.md from internal/readme/*.src.md (present); docs-check.yml confirms the generator is retained. No built binaries, minified code, PDFs or object files in the tree. - docs/images/logo-dark.svg and logo-light.svg (mkdocs theme logo/favicon) and examples/server/everything/mcp.png (embedded via //go:embed as the example's 48x48 icon) are images covered by Files: *, not opened.
- Licence texts: Expat is reproduced in full in debian/copyright; Apache-2.0 and CC-BY-4.0 are referenced to /usr/share/common-licenses, which is accepted. The
Expat and Apache-2.0 and CC-BY-4.0expression is coarse but covers every per-file licence found; no file is under a licence outside the three. - Build-Depends all exist: apt-cache shows golang-github-google-jsonschema-go-dev 0.4.3, golang-github-segmentio-encoding-dev 0.5.4 (whose Depends brings golang-github-segmentio-asm-dev, which brings golang-golang-x-sys-dev) and golang-golang-x-sync-dev; dpkg-build-api (= 1) is provided by dpkg-dev 1.23.12.
- Read dh-golang's Buildsystem/golang.pm: DH_GOLANG_BUILDPKG=.../mcp restricts
go installandgo testto the mcp package (which imports auth, jsonrpc and internal/), DH_GOLANG_EXCLUDES=examples/ also excludes them from the install at compat 12+, and DH_GOLANG_INSTALL_EXTRA=docs/ is needed because internal/docs/toc_test.go globs ../../docs/.md in the installed gocode tree. - debhelper 14.5 provides dh-sequence-single-binary and the single-binary add-on; at compat 14 it is activated implicitly and warns, so the explicit
--with=single-binaryin rules is correct and keeps dh_auto_install's debian/ destdir for compat 15. - Standards-Version 4.7.4 is current against Policy 4.7.4.1; changelog 1.8.0-1 unstable with a valid Fri 20 Nov 2026 date and a closure of the ITP; no maintainer scripts or tests directory are needed; Multi-Arch: foreign with Architecture: all is the Go-team convention.
- uscan found upstream releases with
debian/watch; a newer upstream version is available (upstream1.9.0~pre1, packaged1.8.0), which is not a fault of the package. - Every pointer of
debian/copyrightto /usr/share/common-licenses names a file that is there (Apache-2.0,CC-BY-4.0).
Not confirmed ◂
- The reason disable-tests.patch gives ('These tests fail on builders with no network') for TestDiscoveryAllowsLoopbackInitial and the 'Success' subtest of TestGetProtectedResourceMetadata: both tests use only loopback httptest.NewTLSServer, and the Debian build's test step runs only the mcp target, so the patch only matters for whole-module runs (upstream's
go test ./...or autopkgtest-pkg-go). I could not run them. - autopkgtest-pkg-go is not installed on the reviewing system, so I did not verify which tests its runner executes or whether the two disabled oauthex tests would fail there.
Proposed: debian/watch in version 5 format ◂
debian/watch is in an old format. This is the conversion made by uscan --update-watchfile, which has not been run against the upstream site: some defaults differ in version 5, so test it with uscan --report before use.
Version: 5
Template: Github
Dist: https://github.com/modelcontextprotocol/go-sdk
Uversionmangle: s/(\d)[_\.\-\+]?(RC|rc|pre|dev|beta|alpha)[.]?(\d*)$/$1~$2$3/
Uploader's response to the LLM review
The uploader was emailed about the review 1 hour ago.