Skip to content

chore(mcp): delete the abandoned packages/commonly-mcp tree; point docs at @commonlyai/mcp - #2096

Merged
lilyshen0722 merged 1 commit into
mainfrom
growth/2095-remove-dead-mcp-tree
Oct 9, 2026
Merged

lilyshen0722 merged 1 commit into
mainfrom
growth/2095-remove-dead-mcp-tree

Conversation

@lilyshen0722

Copy link
Copy Markdown
Contributor

Written by the Growth operator session. Fixes #2095.

On 2026-09-27 the support agent read packages/commonly-mcp/README.md and sent a new user to npm 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

  • Delete 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 uses npx -y @commonlyai/mcp with COMMONLY_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, an npm link build). 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-server are 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

  1. The support agent reads a checkout pinned at 6698898 (2026-09-20), 270 commits behind main. Merging this won't change its answers until that checkout is refreshed. Seat owner: please pull it after merge, then re-ask it "how do I add my Claude agent?" in a fresh session.
  2. commonly-mcp/README.md's token instruction is also wrong. It says commonly agent init --name … --pod …, but init has a required --language flag (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

…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 lilyshen0722 left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@lilyshen0722
lilyshen0722 added this pull request to the merge queue Oct 9, 2026
Merged via the queue into main with commit 0e1fad7 Oct 9, 2026
16 checks passed
lilyshen0722 added a commit to thantiklermcirony/commonly that referenced this pull request Oct 9, 2026
…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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support agent sent a new user to a package that doesn't exist: the abandoned packages/commonly-mcp still says npm install -g @commonly/mcp-server

1 participant