@arizeai/phoenix-mcp 2.0.0 → 2.1.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/build/index.js CHANGED
@@ -1,10 +1,13 @@
1
+ #!/usr/bin/env node
1
2
  /* eslint-disable no-console */
2
3
  import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
3
4
  import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
4
5
  import { createClient } from "@arizeai/phoenix-client";
5
6
  import minimist from "minimist";
6
- import { initializeDatasetTools, initializeExperimentTools, initializePromptTools, } from "./tools/index.js";
7
- import { initializeReadmeResources } from "./resources/index.js";
7
+ import { initializeDatasetTools } from "./datasetTools.js";
8
+ import { initializeExperimentTools } from "./experimentTools.js";
9
+ import { initializePromptTools } from "./promptTools.js";
10
+ import { initializeReadmeResources } from "./readmeResource.js";
8
11
  const argv = minimist(process.argv.slice(2));
9
12
  // Initialize Phoenix client
10
13
  const client = createClient({
@@ -14,7 +14,7 @@ const _dirname = typeof __dirname !== "undefined"
14
14
  */
15
15
  export async function initializeReadmeResources({ server, }) {
16
16
  // Start from the directory where this file is located
17
- const baseDir = path.dirname(path.resolve(_dirname, "../../../.."));
17
+ const baseDir = path.dirname(path.resolve(_dirname, "../../.."));
18
18
  // TODO: Refactor to fetch from public github repo instead of filesystem
19
19
  // Find all README files recursively (case insensitive)
20
20
  const readmeFiles = await glob("**/README*", {
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@arizeai/phoenix-mcp",
3
- "version": "2.0.0",
3
+ "version": "2.1.0",
4
4
  "description": "A MCP server for Arize Phoenix",
5
5
  "bin": {
6
- "phoenix-mcp-server": "./build/index.js"
6
+ "@arizeai/phoenix-mcp": "./build/index.js"
7
7
  },
8
8
  "type": "module",
9
9
  "files": [
@@ -1 +0,0 @@
1
- export * from "./readme.js";
@@ -1,3 +0,0 @@
1
- export * from "./promptTools.js";
2
- export * from "./experimentTools.js";
3
- export * from "./datasetTools.js";
File without changes