Skip to content

start mcp client #3

Open
MarquiseRosier wants to merge 7 commits into
mainfrom
build-mcp-client
Open

start mcp client #3
MarquiseRosier wants to merge 7 commits into
mainfrom
build-mcp-client

Conversation

@MarquiseRosier

Copy link
Copy Markdown
Collaborator

Starting to build out MCP Client using Spacecat

@MarquiseRosier
MarquiseRosier marked this pull request as ready for review June 4, 2025 09:08
@MarquiseRosier MarquiseRosier changed the title start mcp client - WIP DO NOT MERGE start mcp client Jun 4, 2025
@MarquiseRosier
MarquiseRosier requested a review from ramboz June 4, 2025 09:12
Comment thread package.json Outdated
Comment thread src/mcp/client.js
Comment thread src/mcp/tools/getPSIAuditMobile.js
diamondhandedblkman added 2 commits June 4, 2025 12:13
@MarquiseRosier
MarquiseRosier requested a review from ramboz June 4, 2025 20:22
Comment thread src/utils.js
let encoder;

export async function loadBundles(url, date, domainkey, ckpt) {
const endpoint = `https://bundles.aem.page/bundles/${url}/${date}?domainkey=${domainkey}`;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggested change
const endpoint = `https://bundles.aem.page/bundles/${url}/${date}?domainkey=${domainkey}`;
const endpoint = `${process.env.RUM_ENDPOINT}/${encodeURIComponent(url)}/${date}?domainkey=${domainkey}`;

Comment thread src/utils.js
const OUTPUT_DIR = './.cache';
let encoder;

export async function loadBundles(url, date, domainkey, ckpt) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggested change
export async function loadBundles(url, date, domainkey, ckpt) {
export async function loadBundles(url, date, domainkey) {

nitpick, ckpt isn't used

Comment thread package.json
"license": "ISC",
"description": "",
"dependencies": {
"@adobe/rum-distiller": "github:adobe/rum-distiller",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Why install from GitHub and not from npm? https://www.npmjs.com/package/@adobe/rum-distiller

@adobe/rum-distiller

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.

3 participants