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 matchingdataloop-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 FastMCPdtlpymcp/utils/server_utils.py- Safe async initialization utilitiesdtlpymcp/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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dtlpymcp-0.1.17.tar.gz | 11.2 kB | Without provenance | Details for dtlpymcp-0.1.17.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dtlpymcp-0.1.17-py3-none-any.whl | Python 3 | none | any | Details for dtlpymcp-0.1.17-py3-none-any.whl |
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
|
Security for dtlpymcp 0.1.17
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.