@arizeai/phoenix-mcp 2.1.8 → 2.1.9

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.
Files changed (2) hide show
  1. package/build/index.js +7 -4
  2. package/package.json +3 -3
package/build/index.js CHANGED
@@ -10,14 +10,17 @@ import { initializePromptTools } from "./promptTools.js";
10
10
  import { initializeProjectTools } from "./projectTools.js";
11
11
  import { initializeReadmeResources } from "./readmeResource.js";
12
12
  const argv = minimist(process.argv.slice(2));
13
+ const headers = argv.apiKey
14
+ ? {
15
+ Authorization: `Bearer ${argv.apiKey}`,
16
+ api_key: argv.apiKey, // For hosted phoenix
17
+ }
18
+ : {};
13
19
  // Initialize Phoenix client
14
20
  const client = createClient({
15
21
  options: {
16
22
  baseUrl: argv.baseUrl || "http://localhost:6006",
17
- headers: {
18
- Authorization: `Bearer ${argv.apiKey}`,
19
- api_key: argv.apiKey, // For hosted phoenix
20
- },
23
+ headers,
21
24
  },
22
25
  });
23
26
  // Create server instance
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arizeai/phoenix-mcp",
3
- "version": "2.1.8",
3
+ "version": "2.1.9",
4
4
  "description": "A MCP server for Arize Phoenix",
5
5
  "bin": {
6
6
  "@arizeai/phoenix-mcp": "./build/index.js"
@@ -16,11 +16,11 @@
16
16
  "author": "oss@arize.com",
17
17
  "license": "Apache-2.0",
18
18
  "dependencies": {
19
- "@modelcontextprotocol/sdk": "^1.8.0",
19
+ "@modelcontextprotocol/sdk": "^1.12.0",
20
20
  "glob": "^11.0.1",
21
21
  "minimist": "^1.2.8",
22
22
  "zod": "^3.24.2",
23
- "@arizeai/phoenix-client": "2.0.1"
23
+ "@arizeai/phoenix-client": "2.1.0"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@types/glob": "^8.1.0",