@arizeai/phoenix-mcp 2.2.21 → 2.2.22
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/build/index.js +5 -5
- package/build/promptTools.js +1 -1
- package/build/readmeResource.js +3 -3
- package/package.json +2 -2
package/build/index.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
/* eslint-disable no-console */
|
|
3
|
-
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
4
|
-
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
|
|
5
3
|
import { createClient } from "@arizeai/phoenix-client";
|
|
6
|
-
import minimist from "minimist";
|
|
7
4
|
import { initializeDatasetTools } from "./datasetTools.js";
|
|
8
5
|
import { initializeExperimentTools } from "./experimentTools.js";
|
|
9
|
-
import { initializePromptTools } from "./promptTools.js";
|
|
10
6
|
import { initializeProjectTools } from "./projectTools.js";
|
|
11
|
-
import {
|
|
7
|
+
import { initializePromptTools } from "./promptTools.js";
|
|
12
8
|
import { initializeReadmeResources } from "./readmeResource.js";
|
|
9
|
+
import { initializeSpanTools } from "./spanTools.js";
|
|
13
10
|
import { initializeSupportTools } from "./supportTools.js";
|
|
11
|
+
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
12
|
+
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
|
|
13
|
+
import minimist from "minimist";
|
|
14
14
|
const argv = minimist(process.argv.slice(2));
|
|
15
15
|
const headers = argv.apiKey
|
|
16
16
|
? {
|
package/build/promptTools.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createPrompt, promptVersion } from "@arizeai/phoenix-client/prompts";
|
|
2
|
-
import {
|
|
2
|
+
import { addPromptVersionTagSchema, createPromptSchema, getLatestPromptSchema, getPromptByIdentifierSchema, getPromptVersionByTagSchema, getPromptVersionSchema, listPromptsSchema, listPromptVersionsSchema, listPromptVersionTagsSchema, } from "./promptSchemas.js";
|
|
3
3
|
// Tool descriptions as template literals for better readability
|
|
4
4
|
const LIST_PROMPTS_DESCRIPTION = `Get a list of all the prompts.
|
|
5
5
|
|
package/build/readmeResource.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ListResourcesRequestSchema, ReadResourceRequestSchema, } from "@modelcontextprotocol/sdk/types.js";
|
|
2
2
|
import fs from "fs";
|
|
3
3
|
import { glob } from "glob";
|
|
4
|
-
import { ListResourcesRequestSchema, ReadResourceRequestSchema, } from "@modelcontextprotocol/sdk/types.js";
|
|
5
|
-
import z from "zod";
|
|
6
4
|
import { dirname } from "node:path";
|
|
7
5
|
import { fileURLToPath } from "node:url";
|
|
6
|
+
import path from "path";
|
|
7
|
+
import z from "zod";
|
|
8
8
|
const _dirname = typeof __dirname !== "undefined"
|
|
9
9
|
? __dirname
|
|
10
10
|
: dirname(fileURLToPath(import.meta.url));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arizeai/phoenix-mcp",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.22",
|
|
4
4
|
"description": "A MCP server for Arize Phoenix",
|
|
5
5
|
"bin": {
|
|
6
6
|
"@arizeai/phoenix-mcp": "./build/index.js"
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"glob": "^11.0.1",
|
|
21
21
|
"minimist": "^1.2.8",
|
|
22
22
|
"zod": "^3.24.2",
|
|
23
|
-
"@arizeai/phoenix-client": "5.2.
|
|
23
|
+
"@arizeai/phoenix-client": "5.2.1"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@types/glob": "^8.1.0",
|