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.11.tar.gz (10.2 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.11-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dtlpymcp-0.1.11.tar.gz
  • Upload date:
  • Size: 10.2 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.11.tar.gz
Algorithm Hash digest
SHA256 77cf2c0ffdacf8c54170803e3d8d44269246b201a66ee409a9938acb27c9a180
MD5 81ab120ce3cf39e2a2ba2c993895e09c
BLAKE2b-256 3517b92c387689430b33b50bbe6085a8a9d8e5889371be086c9a16d768adc619

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dtlpymcp-0.1.11-py3-none-any.whl
  • Upload date:
  • Size: 10.2 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.11-py3-none-any.whl
Algorithm Hash digest
SHA256 75aaf996cc973c7aae6709e58c5c446a898e981cdc9f56f3b3ce97fac04d264e
MD5 0781c912d33878f4b82b4ff4d76ff920
BLAKE2b-256 2e4206a6290836289dbf0f75e1f5cda97907a91df0075e8cc4412e7aaffbddd0

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