Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
63 changes: 63 additions & 0 deletions .github/workflows/smoke.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
name: smoke

on:
push:
branches: [main]
pull_request:
workflow_dispatch:

jobs:
smoke:
name: smoke (${{ matrix.os }}, py${{ matrix.python-version }})
runs-on: ${{ matrix.os }}
timeout-minutes: 15
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ["3.11", "3.12", "3.13"]

defaults:
run:
# bash on every runner, including Windows, so $GITHUB_ENV and the
# heredoc below behave identically across the matrix.
shell: bash
working-directory: mcp

steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt

- name: Resolve the interpreter for smoke.py
# smoke.py spawns server.py as a stdio subprocess and picks the command
# with os.environ.get("PYTHON", HERE/".venv"/"bin"/"python"). CI never
# creates a .venv, and that fallback path is POSIX-only anyway, so both
# the Linux and the Windows legs export PYTHON explicitly. sys.executable
# is already the correct absolute path on either platform.
run: python -c "import sys; print('PYTHON=' + sys.executable)" >> "$GITHUB_ENV"

- name: Confirm the mcp cap holds
# Regression guard for the reason this workflow exists: mcp 2.0.0 removed
# mcp.server.fastmcp, which server.py imports.
run: |
python - <<'PY'
from importlib.metadata import version

import mcp.server.fastmcp # noqa: F401

resolved = version("mcp")
print("resolved mcp version:", resolved)
major = int(resolved.split(".")[0])
assert major < 2, f"mcp {resolved} resolved, so the <2 cap is not holding"
PY

- name: Run smoke.py
run: python smoke.py
2 changes: 1 addition & 1 deletion mcp/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version = "1.3.0"
description = "stdio MCP server backing the aura-orchestrator skill (On-Chain Lab creation + public or private/encrypted data-room uploads) — wraps Privy, on-chain OCL reads, Labs GraphQL, the x402 payment flow, S3 uploads, AES-256-GCM envelope crypto, ABI encoding and on-chain access conditions (OCL/V3 surface, oclId)."
requires-python = ">=3.10"
dependencies = [
"mcp>=1.2.0",
"mcp>=1.2.0,<2",
"httpx>=0.27",
"cryptography>=42",
"eth-abi>=5",
Expand Down
2 changes: 1 addition & 1 deletion mcp/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
mcp>=1.2.0
mcp>=1.2.0,<2
httpx>=0.27
cryptography>=42
eth-abi>=5
Expand Down