Ultralytics Platform MCP

v0.1.14
io.github.amanharshx/ultralytics-mcp Checked 5 hours ago Published 2 months ago

MCP server for Ultralytics Platform projects, datasets, training, prediction, exports, and models.

Values you need

VariableWhat it is
ULTRALYTICS_API_KEYrequired secret Ultralytics Platform API key.
ULTRALYTICS_API_BASEoptional Optional Ultralytics API base URL override.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add ultralytics-mcp -e 'ULTRALYTICS_API_KEY=<ULTRALYTICS_API_KEY>' -- npx -y ultralytics-mcp@0.1.14
Add to claude_desktop_config.json
{
  "mcpServers": {
    "ultralytics-mcp": {
      "args": [
        "-y",
        "ultralytics-mcp@0.1.14"
      ],
      "command": "npx",
      "env": {
        "ULTRALYTICS_API_KEY": "<ULTRALYTICS_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "ultralytics-mcp": {
      "args": [
        "-y",
        "ultralytics-mcp@0.1.14"
      ],
      "command": "npx",
      "env": {
        "ULTRALYTICS_API_KEY": "<ULTRALYTICS_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "ULTRALYTICS_API_KEY",
      "id": "ultralytics-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "ultralytics-mcp": {
      "args": [
        "-y",
        "ultralytics-mcp@0.1.14"
      ],
      "command": "npx",
      "env": {
        "ULTRALYTICS_API_KEY": "${input:ultralytics-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.ultralytics-mcp]
command = "npx"
args = ["-y", "ultralytics-mcp@0.1.14"]
env = { "ULTRALYTICS_API_KEY" = "<ULTRALYTICS_API_KEY>" }

For AI agents

  1. Ask the user for: ULTRALYTICS_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: projects_list, projects_get, explore_projects, datasets_list, datasets_get, explore_datasets, dataset_images_list, dataset_export, ….
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json