Skip to main content

STDIO MCP proxy server for Dataloop platform.

Project description

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
dtlpymcp start

# With custom sources file
dtlpymcp start --sources-file /path/to/sources.json

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

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dtlpymcp-0.1.12.tar.gz (10.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dtlpymcp-0.1.12-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

Details for the file dtlpymcp-0.1.12.tar.gz.

File metadata

  • Download URL: dtlpymcp-0.1.12.tar.gz
  • Upload date:
  • Size: 10.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.0

File hashes

Hashes for dtlpymcp-0.1.12.tar.gz
Algorithm Hash digest
SHA256 5b3ff9b478d4cd839b1f6a67875658c6157b64bcbea7d4a8e87d0f4e9f000bfd
MD5 9c276e60bdf26dbbcddc8cd9ecc28199
BLAKE2b-256 e15e72593ff0f85e04f6f6e45b91df62b3eb3a0b7271e3ceeb24872582d0496b

See more details on using hashes here.

File details

Details for the file dtlpymcp-0.1.12-py3-none-any.whl.

File metadata

  • Download URL: dtlpymcp-0.1.12-py3-none-any.whl
  • Upload date:
  • Size: 10.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.0

File hashes

Hashes for dtlpymcp-0.1.12-py3-none-any.whl
Algorithm Hash digest
SHA256 c4d46d17ea3071aaebfb2c38d85e25dbc5e14676c456eeea66eb54c569468abe
MD5 32cc09ab9dd1c82c919ed01c241f5cd7
BLAKE2b-256 caaf9e4350faf307fae94cd124c8fffd437cce07662fcfcfc66e2cd79629cde3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page