@mastra/client-js 1.60.0-alpha.8 → 1.60.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -8128,6 +8128,13 @@ var MastraClient = class extends BaseResource {
8128
8128
  return this.request(`/mcp/v0/servers${queryString ? `?${queryString}` : ""}`);
8129
8129
  }
8130
8130
  /**
8131
+ * Describes the built-in Mastra MCP server: whether it is served, its endpoint path, toolsets, and auth mode.
8132
+ * Requires `mcp:read`. Its tools depend on the caller, so connect an MCP client to `path` to list them.
8133
+ */
8134
+ getBuiltinMcpServer() {
8135
+ return this.request("/mcp/builtin");
8136
+ }
8137
+ /**
8131
8138
  * Retrieves detailed information for a specific MCP server.
8132
8139
  * @param serverId - The ID of the MCP server to retrieve.
8133
8140
  * @param params - Optional parameters, e.g., specific version.
@@ -9363,6 +9370,7 @@ var MastraClient = class extends BaseResource {
9363
9370
  if (options?.page !== void 0) searchParams.set("page", String(options.page));
9364
9371
  if (options?.perPage !== void 0) searchParams.set("perPage", String(options.perPage));
9365
9372
  for (const tag of options?.tags ?? []) searchParams.append("tags", tag);
9373
+ if (options?.status) searchParams.set("status", options.status);
9366
9374
  if (options?.orderBy) {
9367
9375
  searchParams.set("orderBy[field]", options.orderBy.field);
9368
9376
  searchParams.set("orderBy[direction]", options.orderBy.direction);