Skip to main content

Dataloop MCP Proxy Server

This is the main proxy for the Dataloop Micro MCPs, installable as a Python package.

Installation

pip install git+<repository-url>

Usage

You can run the proxy server via CLI:

# Basic usage (loads all system apps matching dataloop-mcp*)
dtlpymcp start

# With custom sources file (loads only sources from the file)
dtlpymcp start --sources-file /path/to/sources.json

# With custom sources file AND system apps (loads both)
dtlpymcp start --sources-file /path/to/sources.json --include-system-apps

# With custom initialization timeout (default: 30 seconds)
dtlpymcp start --init-timeout 60.0

# With custom log level
dtlpymcp start --log-level DEBUG

Command Line Options

  • --sources-file, -s: Path to a JSON file with MCP sources to load. When provided without --include-system-apps, only sources from the file are loaded.
  • --include-system-apps, -i: When used with --sources-file, also loads system apps matching dataloop-mcp*. This allows you to merge custom sources with default system apps.
  • --init-timeout, -t: Timeout in seconds for Dataloop context initialization (default: 30.0)
  • --log-level, -l: Logging level - DEBUG, INFO, WARNING, ERROR, or CRITICAL (default: INFO)

Or using Python module syntax:

python -m dtlpymcp start

Local Development

  • Requires Python 3.10+
  • Install dependencies with pip install -e .
  • Run tests with pytest

Architecture

The server uses a modular architecture with utilities for safe async initialization:

  • dtlpymcp/proxy.py - Main server implementation using FastMCP
  • dtlpymcp/utils/server_utils.py - Safe async initialization utilities
  • dtlpymcp/utils/dtlpy_context.py - Dataloop context management

Cursor MCP Integration

To add this MCP to Cursor, add the following to your configuration:

Docker Example

{
  "mcpServers": {
    "dataloop-ai-mcp": {
      "command": "docker run -i --rm -e DATALOOP_API_KEY docker.io/dataloopai/mcp:latest",
      "env": {
        "DATALOOP_API_KEY": "API KEY"
      }
    }
  }
}

Local CLI Example

{
  "mcpServers": {
    "dataloop-ai-mcp": {
      "command": "uvx",
      "args": ["dtlpymcp", "start"],
      "env": {
        "DATALOOP_ENV": "prod",
        "DATALOOP_API_KEY": "API KEY"
      }
    }
  }
}

Replace API KEY with your actual Dataloop API key.

Metadata

Release files for dtlpymcp 0.1.17

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dtlpymcp 0.1.17
File Size Uploaded
dtlpymcp-0.1.17.tar.gz 11.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dtlpymcp 0.1.17
File Interpreter ABI Platform
dtlpymcp-0.1.17-py3-none-any.whl Python 3 none any Details

Total release size: 22.4 kB

Release files / dtlpymcp-0.1.17.tar.gz

Download URL dtlpymcp-0.1.17.tar.gz
Size 11.2 kB
Tags Source
SHA-256 checksum
How to use checksums
7d48608060d539ba47c00fb37473000c4d032ec14e33d384090a87d86766e681
BLAKE2b-256 checksum
How to use checksums
aae56a2f49e1c2c4e8addfbf4f41224ca57dd53c1a2103b546dffdd3f7386078
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.0

Release files / dtlpymcp-0.1.17-py3-none-any.whl

Download URL dtlpymcp-0.1.17-py3-none-any.whl
Size 11.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5831c34c16d16ee4a9d27711596dab63d2d170c20421b32885c380e4927581f4
BLAKE2b-256 checksum
How to use checksums
157b6004764976af3465d89bbbefe133d10d02e7d4899956955d9eba72936e32
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.0

Release history Release notifications | RSS feed

This release

0.1.17 This release

2 release files

0.1.13

2 release files

0.1.12

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.4

1 release file

0.1.3

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page