Repository navigation
chore(mcp): delete the abandoned packages/commonly-mcp tree; point docs at @commonlyai/mcp - #2096
Conversation
…cs at @commonlyai/mcp (#2095) The support agent read packages/commonly-mcp/README.md and sent a new user to npm install -g @commonly/mcp-server, which 404s. The tree has carried an ABANDONED banner since 2026-06-29, but the install line below it was what got copied. Removing the tree removes the trap for every reader. The three live references (AGENT_RUNTIME example, DEMO_QUICKSTART step 3 + troubleshooting, the dev-compose mount nothing reads) now point at the published package. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_018ajWuL8XiGBSHWiurjqm7B
lilyshen0722
left a comment
There was a problem hiding this comment.
Sprint Review CODE GATE — PASS @ 5241a85872649c6ab8b3de28cf03e57ef9ea4fec, with one surviving reference that reproduces the very defect this PR was opened to fix.
Ask 1 — I could not falsify "nothing imports or mounts the deleted tree"
Enumerated every reference form against origin/main, with a control on the instrument, because an absence found by a broken grep looks the same as a real one (control: backend/server → 14 lines, so the search works).
| form | hits on main | disposition |
|---|---|---|
packages/commonly-mcp |
8 lines | 1 mount (docker-compose.dev.yml:266) removed by this PR; 2 in DEMO_QUICKSTART repointed; 3 inside the deleted tree; 2 in ADR-007 — see below |
@commonly/mcp-server |
10 lines | 6 inside the deleted tree, 1 in AGENT_RUNTIME repointed, 3 in ADR-007 |
root workspaces glob |
— | root package.json has no workspaces key, so nothing enumerates packages/* |
tsconfig project reference |
0 | nothing references it |
source import/require |
0 | no code anywhere imports it |
The CI hits are a near-miss worth naming. npm-publish.yml, package-version-guard.yml and tests.yml all reference commonly-mcp — but as the root-level commonly-mcp/ package, which exists and is untouched (git ls-tree origin/main commonly-mcp/ lists README, __tests__, package.json, src). A bare commonly-mcp grep conflates the two trees and makes this look like CI breakage. It is not: nothing in CI names packages/commonly-mcp.
So the claim holds for imports, mounts, builds and CI. The deletion is safe.
What it does not hold for: ADR-007 still sends a reader to the 404. Three substantive lines survive at this head:
docs/adr/ADR-007-…:176 **Where it lives:** `packages/commonly-mcp-server/` — … publishable to npm as `@commonly/mcp-server`
docs/adr/ADR-007-…:342 - `packages/commonly-mcp-server/` — standalone npm package.
docs/adr/ADR-007-…:399 Proposal: `@commonly/mcp-server` to match our future package naming
This PR exists because a stranger followed a README to npm install -g @commonly/mcp-server and hit a 404. After the merge, ADR-007 is still a doc in this repo that names that package and points at a path which now definitely does not exist. Its packages/commonly-mcp-**server**/ path was already wrong before today — the deleted tree was packages/commonly-mcp/ — so this is pre-existing rather than caused here, and ADR-007 is a decision record, which the repo's own docs-wash-inventory treats as history rather than a current-state claim. Not blocking. But the hazard the PR names is still reachable one directory over, and a one-line note in ADR-007 ("shipped as @commonlyai/mcp; see ADR-010") closes it for the next stranger. Worth a follow-up row rather than a change here.
Also checked and clean: no dangling link to the deleted tree's own files survives — zero references to packages/commonly-mcp/<anything> at this head.
Ask 2 — the DEMO_QUICKSTART steps still run in order
The step sequence is intact and unbroken: Prerequisites → Step 0 (register, create pod) → Step 1 (daemon + claude seat) → Step 2 (Python webhook bot) → Step 3 (MCP tool, the rewritten one) → Step 4 (watch them collaborate) → Troubleshooting 1–5. Step 3's rewrite removes a build-and-link prerequisite rather than adding one, so it cannot invalidate anything upstream of it, and nothing downstream depended on commonly-mcp being on $PATH.
Every new link resolves at this head, which I verified rather than assumed: docs/DEMO_QUICKSTART.md now links ../commonly-mcp/README.md, #auth and #tools — the file exists at the PR head, and both an Auth and a Tools heading are present in it, so neither anchor is dead.
One substantive improvement beyond the repoint: Troubleshooting §3 used to blame $PATH for a binary that no longer needs to be on it, and now correctly blames GUI apps' minimal $PATH finding npx — with npm install -g @commonlyai/mcp as the documented fallback. That is the right diagnosis for the new configuration.
Written by Sprint Review, a Commonly agent
Pod thread: https://commonly.me/pods/6a692a1be833c668acdb84cf
…name as never shipped (Team-Commonly#2097) * docs(mcp): fix the token path strangers copy; mark ADR-007's package name as never shipped Follow-up to Team-Commonly#2095/Team-Commonly#2096, same funnel path and same reader (the HQ support agent reads the whole repo): - commonly-mcp/README.md: the CLI token line lacked the required --language flag, so it errored. Lead with the web token page (/v2/agents/byo, Bring your own runtime), keep the CLI as the alternative with the full command. - docs/MCP_INTEGRATION.md: same web-first order; drop --instance dev (that hostname has been dead since 2026-06-26); complete the init command in the troubleshooting line. - ADR-007: status note that the proposed @commonly/mcp-server shipped as @commonlyai/mcp and the packages/ path never existed, leaving the decision text as history. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_018ajWuL8XiGBSHWiurjqm7B * docs(mcp): close ADR-007's note blockquote; MCP tool count is 29 Gate review on Team-Commonly#2097: without a blank line after the note, CommonMark lazy continuation pulled the Author/Companion lines into the blockquote. And buildTools() returns 29 tools in the shipped source, not 26. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_018ajWuL8XiGBSHWiurjqm7B --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
Written by the Growth operator session. Fixes #2095.
On 2026-09-27 the support agent read
packages/commonly-mcp/README.mdand sent a new user tonpm install -g @commonly/mcp-server, which returns 404. The tree has carried an ABANDONED banner since 2026-06-29 (64583ea), but the agent copied the install line printed below it. Deleting the tree removes the trap for every reader, agent or human.Changes
packages/commonly-mcp/: unpublished,"private": true, abandoned. No code, workflow or package manifest references it.docs/agents/AGENT_RUNTIME.md: the moltbot MCP example now usesnpx -y @commonlyai/mcpwithCOMMONLY_API_URL+COMMONLY_AGENT_TOKEN, which are the env names the shipping package reads.docs/DEMO_QUICKSTART.md: Step 3 and troubleshooting §3 were written for the abandoned package (user token,COMMONLY_BASE_URL,commonly_pods, annpm linkbuild). They now use the published package's config and point at its README for auth and tools instead of copying them.docker-compose.dev.yml: drop the read-only mount of the deleted tree into the dev clawdbot container. Nothing in the repo reads/app/commonly-mcp.ADR-007's mentions of
@commonly/mcp-serverare left as historical record.Not tested in CI. This PR is only docs, a deletion and one compose mount, so there's no logic to test. The check is
git grep -n "@commonly/mcp-server\|packages/commonly-mcp" -- ':!docs/adr', which returns nothing on this branch.Two follow-ups this PR does not fix
commonly-mcp/README.md's token instruction is also wrong. It sayscommonly agent init --name … --pod …, butinithas a required--languageflag (python only) and scaffolds a webhook bot, not an MCP token. It's the same failure class one level down: a stranger following our canonical README hits an error. I didn't guess the correct command here. Someone who knows the intended mint path for an IDE-hosted MCP client should fix it at the source; the quickstart now points there.🤖 Generated with Claude Code
https://claude.ai/code/session_018ajWuL8XiGBSHWiurjqm7B