Skip to main content

MCP server for EdgescaleAI Cube operations

Project description

cube-mcp

MCP server for EdgescaleAI Cube management and Apollo deployments.

Install

npx cube-mcp

Requires uv or pipx.

Add to Claude Code

claude mcp add cube -- npx cube-mcp

Tools

Setup

Tool Description
setup_check Check all prerequisites and show status
setup_install_teleport Install Teleport CLI (tsh)
setup_install_kubectl Install kubectl
setup_install_helm Install Helm
setup_install_docker Install Docker
setup_install_apollo Guide for Apollo CLI installation
setup_configure_credentials Configure Apollo credentials

Cube Management

Tool Description
cube_login Login to a Cube (guided - shows SSO and password options)
cube_login_password Login via username/password (guided)
cube_list List available Cubes
cube_status Get Cube node status

App Proxy

Tool Description
app_list List available Teleport apps (HTTP/TCP)
app_login Login to a Teleport app
app_proxy Start local proxy for an app (MQTT, databases, etc.)
app_proxy_stop Stop running app proxies
app_proxy_status Show status of running proxies

Apollo Deployments

Tool Description
build_and_publish_to_apollo Build and publish app to Apollo
acr_login Login to Apollo Container Registry
acr_get_token Get ACR OAuth token

Quick Start

You: "Check my setup"
You: "Install kubectl"
You: "Connect me to staging-int"
You: "What's the Cube status?"
You: "List available apps"
You: "Proxy mosquitto-dev so I can connect locally"
You: "Build and publish my app"

Credentials

Teleport

Login is guided - the tool will show you the commands to run:

  • Okta SSO: tsh login --proxy=edgescaleai.teleport.sh --auth=okta
  • Username/Password: tsh login --proxy=edgescaleai.teleport.sh --user=<username>

Apollo

Configure Apollo CLI:

apollo-cli configure

Or set environment variables:

export APOLLO_CLIENT="<your-client-id>"
export APOLLO_SECRET="<your-client-secret>"

Local Development

First-time setup

# Clone the repo
git clone https://github.com/EdgescaleAI/cube-mcp.git
cd cube-mcp

# Create virtual environment and install
python3 -m venv .venv
source .venv/bin/activate
pip install -e .

# Add to Claude Code (use full path to venv python)
claude mcp add cube-local -- $(pwd)/.venv/bin/python -m cube_mcp.server

Reload after code changes

In Claude Code, run:

/mcp

This reloads all MCP servers and picks up your latest code changes.

Run server directly (for debugging)

source .venv/bin/activate
python -m cube_mcp.server

Contributing

  1. Create a branch
  2. Make changes
  3. Test locally with /mcp reload
  4. Push and create PR
  5. Merge to main → auto-publishes to PyPI and npm

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

cube_mcp-0.3.3.tar.gz (44.2 kB view details)

Uploaded Source

Built Distribution

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

cube_mcp-0.3.3-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

File details

Details for the file cube_mcp-0.3.3.tar.gz.

File metadata

  • Download URL: cube_mcp-0.3.3.tar.gz
  • Upload date:
  • Size: 44.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for cube_mcp-0.3.3.tar.gz
Algorithm Hash digest
SHA256 301dc0348e60a3f6ef6ba54e0edfadb810f2300ff951c78931c911481c0a9fda
MD5 1d22009b304f1ae3c57ef4b3ba5d9cd6
BLAKE2b-256 f6229a09f434ff550b2fece01a1dc72310ef38fbda8c075df12a876ab148399b

See more details on using hashes here.

File details

Details for the file cube_mcp-0.3.3-py3-none-any.whl.

File metadata

  • Download URL: cube_mcp-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 15.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for cube_mcp-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ac646bb8e29484f184430c1a55b5e397f763b699194c0a104e524b783618ec57
MD5 6c465513bc166c35a288ce9717001b38
BLAKE2b-256 5a822a011d0c95cab38d3d1b3bff24ac622ef1a813e85358ce2d45eb63da0ea6

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