Skip to content

Arize-ai/arize-tracing-assistant

Repository files navigation

arize banner

Arize Tracing Assistant

Add Arize tracing assistant MCP server to Cursor

An MCP server that provides with docs and support to instrument your AI application with Arize AX.

Overview

This MCP server provides your LLM with docs and examples to instrument your AI apps with Arize AX. It also provides with access to Arize support. Connect it to your IDE or LLM and get curated tracing examples, best practices and Arize support!

Installation

Install uv

Make sure uv - the fast Python package manager - is installed on your system. Installation instructions: uv installation guide.

  • On macOS:

    pip install uv

    or

    brew install uv
  • On Linux:

    curl -LsSf https://astral.sh/uv/install.sh | less
  • On Windows:

    powershell -c "irm https://astral.sh/uv/install.ps1 | more"

IDE integration

Cursor

Install MCP Server

  1. Go to Cursor Settings > MCP.
  2. Click "Add new global MCP server" and add the server to your config JSON.
  3. Remove the env section if you don't have access to RunLLM.

Example config:

"arize-tracing-assistant": {
  "command": "uvx",
  "args": [
    "arize-tracing-assistant@latest"
  ]
}

Claude Desktop

  1. Go to Claude Desktop Settings.
  2. In Developer > Edit Config and add this to your config JSON:
"arize-tracing-assistant": {
  "command": "/Users/myuser/miniconda3/bin/uvx",
  "args": [
   "arize-tracing-assistant@latest"
  ]
}

Manual MCP config

Add the following snippet to your MCP config file:

  "mcpServers": {
    "arize-tracing-assistant": {
      "command": "uvx",
      "args": [
      "arize-tracing-assistant@latest"
    ]
    }
  }

CLI Integration

Gemini CLI

Install using the Gemini CLI extension:

gemini extensions install https://github.com/Arize-ai/arize-tracing-assistant

Usage

Once the MCP server is running, ask your IDE or LLM questions about tracing or general Arize support like...

  • Instrument this app using Arize
  • Can you use manual instrumentation so that I have more control over my traces?
  • How can I redact sensitive information from my spans?
  • Use decorators to have more control over the span attributes
  • Can you make sure the context of this trace is propagated across these tool calls?
  • Where can I find my Arize keys?

Troubleshooting

  • Make sure the JSON configs are perfectly formatted.

  • Clear the uv cache with uv cache clean to force accessing the latest version.

  • Make sure your uv command is pointing to the right location by running which uv, or simply use the full path.

  • The server should start in the terminal just by running:

    uvx arize-tracing-assistant@latest
  • Use the Anthropic MCP inspector by running:

    npx @modelcontextprotocol/inspector uvx arize-tracing-assistant@latest

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages