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.13.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.13-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dtlpymcp-0.1.13.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.13.tar.gz
Algorithm Hash digest
SHA256 eb8d54b2aff6a01c1aab4c3e9c5a6f19ee05b2d1df5f89f091b6263cd8925a8c
MD5 b86e687d0ef2d0ac50774b2dcf1e2f7e
BLAKE2b-256 ea8be854de6349a681dc10b46430b3b1fc86e7d97b7bbb934404016dbe92775d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dtlpymcp-0.1.13-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.13-py3-none-any.whl
Algorithm Hash digest
SHA256 d56c3fe17f15498164c278f2473934a7561f1ea55c776c96efedde527e196e3d
MD5 e21b1d8b44e57571b8237aed1589861f
BLAKE2b-256 ee4c2c530cda52fcd1f9a5d85d7e2793e0142c24f5477a5497408412abc883e1

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