Skip to main content
Glama

CDM MCP Server

CDM MCP Server

A FastAPI-based service that enables AI assistants to interact with Delta Lake tables stored in MinIO through Spark, implementing the Model Context Protocol (MCP) for natural language data operations.

⚠️ Important Warning:

This service allows arbitrary read-oriented queries to be executed against Delta Lake tables. Query results will be sent to the model host server, unless you are hosting your model locally.

Additionally, this service is NOT approved for deployment to any production environment, including CI, until explicit approval is granted by KBase leadership. Use strictly for local development or evaluation purposes only.

Documentation

For detailed documentation, please refer to the User Guide. The guide covers:

Quick Start

  1. Clone the repository:

    git clone https://github.com/kbase/cdm-mcp-server.git cd cdm-mcp-server
  2. Create required directories:

    mkdir -p cdr/cdm/jupyter/cdm_shared_workspace
  3. Create Docker network:

    docker network create cdm-jupyterhub-network
  4. Start the services:

    docker-compose up -d --build
  5. Access the services:

Testing

# Install dependencies (only required on first run or when the uv.lock file changes) uv sync --locked # Run tests PYTHONPATH=. uv run pytest tests # Run with coverage PYTHONPATH=. uv run pytest --cov=src tests/
-
security - not tested
A
license - permissive license
-
quality - not tested

local-only server

The server can only run on the client's local machine because it depends on local resources.

Enables AI assistants to interact with Delta Lake tables stored in MinIO through Spark using natural language queries. Provides read-oriented data operations on Delta Lake tables through the Model Context Protocol.

  1. Documentation
    1. Quick Start
      1. Testing

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/BERDataLakehouse/datalake-mcp-server'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server