@smartbear/mcp 0.2.1 → 0.2.2

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.
@@ -1,4 +1,5 @@
1
1
  import { z } from "zod";
2
+ import { MCP_SERVER_NAME, MCP_SERVER_VERSION } from "../common/info.js";
2
3
  // Tool definitions for API Hub API client
3
4
  export class ApiHubClient {
4
5
  headers;
@@ -6,6 +7,7 @@ export class ApiHubClient {
6
7
  this.headers = {
7
8
  "Authorization": `Bearer ${token}`,
8
9
  "Content-Type": "application/json",
10
+ "User-Agent": `${MCP_SERVER_NAME}/${MCP_SERVER_VERSION}`,
9
11
  };
10
12
  }
11
13
  async getPortals() {
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartbear/mcp",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "MCP server for interacting SmartBear Products",
5
5
  "keywords": [
6
6
  "smartbear",
@@ -1,3 +1,4 @@
1
+ import { MCP_SERVER_NAME, MCP_SERVER_VERSION } from "../common/info.js";
1
2
  import { z } from "zod";
2
3
  // ReflectClient class implementing the Client interface
3
4
  export class ReflectClient {
@@ -6,6 +7,7 @@ export class ReflectClient {
6
7
  this.headers = {
7
8
  "X-API-KEY": `${token}`,
8
9
  "Content-Type": "application/json",
10
+ "User-Agent": `${MCP_SERVER_NAME}/${MCP_SERVER_VERSION}`,
9
11
  };
10
12
  }
11
13
  async listReflectSuites() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartbear/mcp",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "MCP server for interacting SmartBear Products",
5
5
  "keywords": [
6
6
  "smartbear",