Skip to content

llms-install.md tells a coding agent how to install Loom and add it as an MCP server - #646

Merged
zlareb1 merged 15 commits into
mainfrom
docs/llms-install
Nov 13, 2026
Merged

zlareb1 merged 15 commits into
mainfrom
docs/llms-install

Conversation

@zlareb1

@zlareb1 zlareb1 commented Nov 13, 2026 •

Copy link
Copy Markdown
Member

Changelog category (leave one):

  • Documentation (changelog entry is not required)

Changelog entry (one or two sentences a user of Loom can read without the diff; the release pull request collects these into the release notes):

llms-install.md at the repository root tells a coding agent how to install Loom and add it as an MCP server: check for a running server, run the installer, write the client entry, then check it with a save, a read and a delete.

Why

Agents that install MCP servers for their users, Cline's marketplace among them, look for llms-install.md in the server's repository and follow it. Loom had none, so an agent had to work it out from the README, which is written for people. The file holds only the steps an agent runs, with the Cline extension's and the Cline CLI's entries, and links the pages that cover other clients and Claude Code and Codex.

Scope and risk

One new Markdown file at the root. tests/unit/test_public_copy.py (ROOT_FILES) and the docs rule's paths: now cover it. No code, setting or docs-site page changes.

Compatibility, rollout and rollback

  • Wire: none.
  • Operator steps: none.
  • Rollback: deleting the file.

Tests

  • Cline CLI 3.0.74, with an Anthropic model and an empty home directory, followed the file:
    • Step 2 installed the released 1.2.0 stack into a scratch directory on port 7790 (another Loom held 7777). /v1/health answered and all three containers were healthy.
    • In the first run, Cline's command tool cut cline mcp add loom http://… off at http: on every try, so step 3 now also gives the CLI's settings file and its JSON. A second session wrote that file. cline mcp add writes the same shape, checked separately.
    • A third session ran step 4 through its loom MCP server: loom_memory_set, loom_memory_get (found) and loom_memory_delete (tombstoned) all succeeded.
  • The test stack and its volumes were removed afterwards.
  • The Cline extension entry was not run in an editor. Its shape follows Cline's MCP configuration docs and the extension's config schema, which accepts the flat type: "streamableHttp" entry and also reads the CLI's nested transport form.
  • The entries use ?toolset=coding, as the installer and the MCP clients page do for coding agents. The test sessions above connected on the bare /mcp. The coding toolset on a running server lists loom_memory_set, loom_memory_get, loom_memory_delete and loom_search.
  • With --header "Authorization: Bearer …", cline mcp add puts headers inside transport, beside url, which is what step 3 says.
  • pytest tests/unit/test_doc_links.py tests/unit/test_public_copy.py tests/unit/test_agent_instructions.py: 440 passed. Prettier and check_prose.py are clean.

AI assistance in the code (leave one; writing this description with AI is fine):

  • AI-generated (an agent wrote most of the diff): Claude Code wrote the file. Each command and JSON shape was checked by the Cline runs above or against the installer.

  • I can explain every line of this diff and how it interacts with the rest of Loom.

Checklist

  • Repository text has no dates, people, host names, internal namespaces, ticket or decision numbers; the history goes in this description (tests/unit/test_public_copy.py).
  • Commits are signed off (git commit -s), as CONTRIBUTING.md asks.

🤖 Generated with Claude Code

zlareb1 and others added 15 commits November 13, 2026 17:43
…s an MCP server

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
…es for Docker and LOOM_* variables; covered by the public-copy test and docs rule

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
…ort from the installer, merge the entry into the client's file

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
…sh key, take the port and dashboard from the installer

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
…all check covers a non-Loom reply, a 401 on a tool call asks for a token

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
…here Cline runs; token sentence order; dashboard address

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
…from Cline, the check reads its key before writing

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
…try stays on the Windows side

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
…ker changes; the repository guide lists the file

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
…ut the repository

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
…, a changed port replaces 7777 below

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
…ssion reloads servers when it starts

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
…ot merge into another memory

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
… file path on Linux; plainer repository-guide entry

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
@zlareb1
zlareb1 merged commit 97f3936 into main Nov 13, 2026
79 of 80 checks passed
@zlareb1
zlareb1 deleted the docs/llms-install branch November 13, 2026 21:24
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.

1 participant