Repository navigation
Add NOTICE file and rename project mcp-poc → IMCP2 - #68
Merged
Merged
Conversation
Apache-2.0 attribution notice for the project (Copyright 2026 DFINITY Stiftung), matching the LICENSE holder. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01865bH6b5MHB9BhA2QUjepF
Rename the project everywhere: - Crate + binary name: mcp-poc -> imcp2 (Cargo.toml, Cargo.lock) - systemd unit: mcp-poc.service -> imcp2.service; binary path /opt/imcp2/imcp2; deploy/build scripts, Dockerfile, Caddyfile, CI comment - Display name in docs: README title and NOTICE now read "IMCP2" Lowercase `imcp2` is used for machine identifiers (crate/binary/unit/paths) to stay idiomatic and match the existing repo name and /opt/imcp2 + imcp-status infra; "IMCP2" is used as the human-facing display name. Verified: `cargo check --locked --all-targets` builds the renamed crate (bin "imcp2"); the only warnings are pre-existing dead-code ones. Note for deployment: the systemd unit changed name, so the next deploy installs imcp2.service while the old mcp-poc.service keeps running until it is stopped and disabled on the host (systemctl disable --now mcp-poc). Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01865bH6b5MHB9BhA2QUjepF
There was a problem hiding this comment.
Pull request overview
Adds Apache-2.0 attribution notice material and completes a repo-wide rename from mcp-poc to IMCP2 / imcp2, updating build, deploy, and documentation references to match the new crate/binary/service identifiers.
Changes:
- Added a
NOTICEfile with Apache-2.0 attribution/copyright notice. - Renamed the Rust package/binary from
mcp-poctoimcp2(plus display-name updates toIMCP2in docs). - Updated Docker, native deploy scripts/systemd unit, Caddy config, and the deploy workflow to use the new identifiers.
Reviewed changes
Copilot reviewed 10 out of 11 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| README.md | Updates project display name and service-name references in docs. |
| NOTICE | Adds Apache-2.0 notice/attribution file for publishing. |
| Dockerfile | Renames runtime binary path and container entrypoint to imcp2. |
| deploy/native/README.md | Updates native deployment documentation to the new app/service name. |
| deploy/native/imcp2.service | Renames ExecStart target to /opt/imcp2/imcp2 and updates unit description. |
| deploy/native/deploy.sh | Updates deploy flow to ship/restart imcp2 and install imcp2.service. |
| deploy/native/Caddyfile | Updates comments referring to the service name. |
| deploy/native/build.sh | Updates cross-build output and copied binary name to imcp2. |
| Cargo.toml | Renames the Rust package to imcp2. |
| Cargo.lock | Updates the root package entry name to imcp2. |
| .github/workflows/deploy.yml | Updates workflow comments to reflect the new deployment target name. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Stop, disable, and remove the old mcp-poc.service during deploy if it is still present, so the renamed imcp2.service doesn't contend with it for :8000 on hosts first deployed before the rename. Guarded by `systemctl cat`, so it is a no-op on fresh hosts and idempotent on repeat deploys — no manual operator step needed. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01865bH6b5MHB9BhA2QUjepF
| [ -x "$repo_root/build-out/imcp2" ] || { echo "build-out/imcp2 missing — run deploy/native/build.sh first"; exit 1; } | ||
|
|
||
| echo ">> staging $REMOTE_DIR" | ||
| $SSH "sudo install -d -o \$(id -un) -g \$(id -gn) $REMOTE_DIR" |
Comment on lines
+9
to
+10
| This product includes software developed at DFINITY Stiftung | ||
| (https://dfinity.org/). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Two publishing follow-ups (follow-up to #67, tracked by IC-2042):
NOTICE— the Apache-2.0 copyright/attribution notice (Copyright 2026 DFINITY Stiftung, matchingLICENSE).mcp-poc→ IMCP2 everywhere in the repo.Naming convention used for the rename
imcp2(lowercase, idiomatic): Cargo crate + binary name, the systemd unit (mcp-poc.service→imcp2.service), binary path (/opt/imcp2/imcp2), and references in the Dockerfile,deploy/native/*,Caddyfile, and the deploy-workflow comment. This matches the existing repo name,/opt/imcp2, and the siblingimcp-statusservice.IMCP2(uppercase): theREADMEtitle andNOTICE.Files touched
Cargo.toml,Cargo.lock,Dockerfile,README.md,NOTICE,.github/workflows/deploy.yml,deploy/native/{build.sh,deploy.sh,Caddyfile,README.md}, anddeploy/native/mcp-poc.service→imcp2.service.Deployment note
The systemd unit changed name (
mcp-poc.service→imcp2.service).deploy.shnow handles this automatically: if the oldmcp-poc.serviceis present on the host, it is stopped, disabled, and removed beforeimcp2.serviceis enabled/started, so the two never contend for:8000. The step is guarded bysystemctl cat(no-op on fresh hosts) and idempotent — no manual operator action required.Testing
cargo check --locked --all-targets→ builds the renamed crate asimcp2(bin"imcp2"); Cargo.lock is consistent. Only warnings are pre-existing dead-code (tool_router,ok), unrelated to the rename.CARGO_PKG_NAME/CARGO_BIN_NAMEdependencies), so runtime behavior is unchanged.bash -n deploy/native/deploy.shpasses.🤖 Generated with Claude Code
https://claude.ai/code/session_01865bH6b5MHB9BhA2QUjepF