Skip to main content

MCP Server Installation

This guide covers installing and configuring the StarTree MCP Server for Apache Pinot & StarTree Cloud

Prerequisites

System Requirements

  • Python 3.9+ installed on your system
  • Apache Pinot cluster & StarTree Cloud
  • Git for cloning the repository

Install uv Package Manager

uv is a fast Python package installer and resolver, written in Rust. It’s designed to be a drop-in replacement for pip with significantly better performance.

Installation Steps

1. Clone the Repository

2. Install Dependencies

3. Configure Pinot Connection

The MCP server requires a .env file to configure the Pinot cluster connection.
Edit the .env file with your Pinot cluster details:

Local Pinot Quickstart

StarTree Cloud

4. Run the MCP Server

You should see logs indicating that the server is running and listening on STDIO:

5. Verify

With your MCP server running, test the connection in another terminal:
Expected output:

Configure MCP Clients

With your MCP server installed and running, the final step is to configure your MCP client of choice to connect and start querying your data with natural language.

Claude Desktop

Claude Desktop is a desktop application that interacts with LLMs and connects to the StarTree MCP server.

LibreChat

LibreChat is a self-hosted chat interface that interacts with private LLMs (including AWS Bedrock models) and connects to the StarTree MCP server for secure, on-premises AI analytics.

Cursor IDE

Cursor IDE is an AI-powered code editor that integrates MCP pinot servers with your broader development workflow