Skip to content

docs(mcp): show authenticated Loom tool discovery - #1565

Open
zlareb1 wants to merge 1 commit into
VoltAgent:mainfrom
zlareb1:docs/loom-mcp-client
Open

zlareb1 wants to merge 1 commit into
VoltAgent:mainfrom
zlareb1:docs/loom-mcp-client

Conversation

@zlareb1

@zlareb1 zlareb1 commented Nov 24, 2026 •

Copy link
Copy Markdown

What is the current behavior?

The MCP client guide describes authenticated Streamable HTTP and tool discovery in separate examples.

What is the new behavior?

Add a model-free discovery example for a self-hosted ClickHouse Loom server. It reads the endpoint and bearer from environment variables, explains viewer scope and server-name prefixes, and disconnects the client on exit.

Validation

  • Ran the snippet with released @voltagent/core 2.11.1 against a loopback Streamable HTTP fixture. The fixture checked the bearer header, MCP initialization and tool listing. The snippet displayed the expected prefixed tool name.
  • Prettier and git diff --check passed on the documentation change.
  • This is a documentation-only change. No live Loom server or model provider was used.

https://github.com/ClickHouse/loom


Summary by cubic

Adds a documentation example for discovering tools from a self-hosted ClickHouse Loom server over authenticated Streamable HTTP, without making a model call.

  • Reads the MCP endpoint and bearer token from LOOM_MCP_URL and LOOM_TOKEN environment variables.
  • Notes viewer token scope for read-only agents, tool-name prefixing with the server name, and client disconnection on exit.

Written for commit 0252e01. Summary will update on new commits.

View guided diff

Summary by CodeRabbit

  • Documentation
    • Added instructions for connecting to a self-hosted ClickHouse Loom server, including URL and token configuration.
    • Included an example for connecting over HTTP, checking available tools, and closing the connection.
    • Clarified how server-name prefixes appear in tool names and linked to the Loom MCP reference.

Signed-off-by: zlareb1 <lareb.zafar@clickhouse.com>
@changeset-bot

changeset-bot Bot commented Nov 24, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 0252e01

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@coderabbitai

coderabbitai Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The MCP guide adds instructions for connecting to a self-hosted ClickHouse Loom server. It includes a TypeScript example that checks environment variables, connects over streamable HTTP, lists tool names, and disconnects. The guide also describes tool-name prefixes and links to the Loom MCP reference.

Changes: Self-hosted Loom MCP documentation

Layer / File(s) Summary
Loom connection instructions and example
website/docs/agents/mcp/mcp.md
Documents the /mcp URL, namespace-scoped token, and viewer role for read-only use. The example connects with a Bearer token, lists tool names, and disconnects in finally. The guide also describes server-name prefixes and links to the Loom MCP reference.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Other

Merge Risk: Minimal · up to 0252e

This adds a documentation example for discovering tools on a self-hosted Loom MCP server. It does not change runtime behavior, and no merge-blocking issues remain.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title "docs(mcp): show authenticated Loom tool discovery" matches the main change. The PR adds a model-free tool-discovery example with bearer authentication for a self-hosted ClickHouse Loom MCP …
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description check Passed The description covers the current behavior, the new behavior (a model-free discovery example for a self-hosted ClickHouse Loom server using env-based endpoint and bearer token, viewer scope, server-n…
Full details: Title check

Explanation

The title "docs(mcp): show authenticated Loom tool discovery" matches the main change. The PR adds a model-free tool-discovery example with bearer authentication for a self-hosted ClickHouse Loom MCP server. It follows a conventional commit style and names the affected area (mcp) and the change type (docs). It is specific and concise.

Full details: Description check

Explanation

The description covers the current behavior, the new behavior (a model-free discovery example for a self-hosted ClickHouse Loom server using env-based endpoint and bearer token, viewer scope, server-name prefixes, and client disconnect), and validation steps (run against a loopback Streamable HTTP fixture with @voltagent/core 2.11.1, Prettier and git diff --check passed, no live server or model used). It includes a link to the Loom repository. It does not fill the template's checklist items (linked issue, tests, changeset, commit convention) or the 'fixes (issue)' line. Those items are either not applicable to a documentation-only change or are missing. The core template sections are present and substantive, so the description is mostly complete.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 89f78341-8087-4368-afd3-d705956597a4
Commits

Reviewing files that changed from the base of the PR and between e9fc599 and 0252e01.

Files selected for processing: 1

  • website/docs/agents/mcp/mcp.md

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

No issues found across 1 file

View guided diff | Re-trigger cubic

This branch has not been deployed

No deployments
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