grounded-motion-mcp

grounded-motion-mcp

A standalone motion tracking MCP server that runs MMPose whole-body inference to produce normalized landmarks and trajectories, with tools for tracking, validation, inspection, comparison, and artifact export.

Category
访问服务器

README

grounded-motion-mcp

grounded-motion-mcp is a standalone, agent-free motion tracking appliance. It runs pinned MMPose RTMW whole-body inference, preserves all 133 raw landmarks, normalizes the motion into a reviewable grounded-motion-track/v1 graph, and produces evidence for feet, pelvis/root, hands, confidence, occlusion, and source chronology.

The model is a sensor. It does not author motion or certify its own output.

What it produces

Every content-addressed job contains:

  • raw-predictions.json — immutable detector output.
  • pose-track.json — normalized landmarks with provenance.
  • pose-track-report.json — structural and production-gate findings.
  • trajectories.svg — pelvis, wrists, heels, and big-toe paths.
  • overlay.mp4 and overlay-slow.mp4 — full-speed and slow evidence.
  • manifest.json — artifact paths, sizes, and SHA-256 hashes.
  • receipt.json — exact input, backend, versions, device, status, and job identity.

Inference deliberately ends in tracked/unreviewed. validate_track with the production gate enabled fails until required landmarks have been reviewed and the event map is locked.

MCP tools

  • track_motion
  • validate_track
  • inspect_track
  • compare_motion
  • export_artifacts

The default transport is local STDIO. The optional Streamable HTTP lane uses the same service code and expects files to be mounted under the configured workspace root.

Install

Core tools and MCP server:

uv sync --extra dev

MMPose inference requires OpenMMLab's compiled runtime. The repeatable path is the supplied container:

docker build -t grounded-motion-mcp .

For a native install, sync the pinned inference stack, then let OpenMIM install the matching compiled MMCV build into that environment:

uv sync --extra inference --extra dev
uv run mim install "mmcv==2.1.0"

Local CLI

uv run grounded-motion --workspace /absolute/path/workspace track \
  /absolute/path/source.mp4 \
  --device cpu

uv run grounded-motion --workspace /absolute/path/workspace validate \
  /absolute/path/workspace/grounded-motion/jobs/<job-id>/pose-track.json \
  --production

uv run grounded-motion --workspace /absolute/path/workspace export \
  /absolute/path/workspace/grounded-motion/jobs/<job-id>

Use --crop x,y,width,height to lock a single subject crop. Coordinates are source pixels. The entire source interval is decoded without resampling.

MCP configuration

STDIO:

{
  "mcpServers": {
    "grounded-motion": {
      "command": "uv",
      "args": [
        "--directory",
        "/absolute/path/grounded-motion-mcp",
        "run",
        "grounded-motion-mcp"
      ],
      "env": {
        "GROUNDED_MOTION_WORKSPACE": "/absolute/path/motion-workspace"
      }
    }
  }
}

Agent-free HTTP appliance:

docker run --rm --gpus all -p 8000:8000 \
  -v /absolute/path/data:/data \
  -e GROUNDED_MOTION_TRANSPORT=streamable-http \
  -e GROUNDED_MOTION_WORKSPACE=/data \
  grounded-motion-mcp

The endpoint is /mcp. Do not expose it publicly without authentication and an origin policy.

Model preset

The production default is MMPose 1.3.2 RTMW-X Cocktail14 at 384×288:

  • 133 COCO-WholeBody landmarks.
  • Apache-2.0 MMPose code.
  • Explicit body, six foot, face, and 21 landmarks per hand.
  • Whole-image top-down inference over a caller-locked single-subject crop.

The preset records the upstream config and checkpoint URL in every receipt. Downloaded weights must be cached and hashed before production use.

Completion states

trackedreviewedevent-lockedkeyedtransferredmechanically-comparedhuman-accepted

No earlier state implies a later one.

ChatGPT Vanguard production canary

The production profile is deliberately narrower than the local appliance. It exposes exactly:

  • start_vanguard_canary()
  • get_vanguard_canary_status(execution_id)
  • get_vanguard_canary_result(execution_id)

start launches a one-task Cloud Run L4 GPU Job. The job tracks the immutable canonical Vanguard Walk v1 and quarantined WalkSwordCarryV2 candidate 003 through the same GroundedMotionService used by the CLI, verifies both manifests, runs the existing mechanical comparison, and publishes private GCS evidence. result issues fresh 24-hour signed URLs. pipeline_pass proves real pinned MMPose inference, structural track validity, artifact readback, and comparison completion; mechanical_pass can honestly be false, and neither value means human acceptance.

The fixtures preserve the eight source PNGs at Pose Lab commit 90ca534c46a47c660e7bf5ef7bd2efcf35dbeb9e and the eight candidate PNGs at immutable revision b2c5bde5d91325726af34e5daea17b96d78b46f3. They are assembled as 82 frames at 100 fps using repeats 11/9/10/11/11/9/10/11, with no interpolation. The paths, Git blob ids, file hashes, video hashes, candidate quarantine status, and timing live in src/grounded_motion_mcp/data/vanguard_canary.json.

Production authentication delegates identity only to Home Center OAuth. Tokens must be bound to the production /mcp resource, carry grounded-motion:vanguard-canary, and identify dclarke1005@gmail.com. Grounded Motion receives no Drive scope or Google refresh token.

Infrastructure is prepared by infra/bootstrap_gcp.sh inside the existing billed home-center-dclar project, using isolated Grounded Motion service accounts, Artifact Registry, bucket, Cloud Run service, GPU job, and a repository/main-constrained provider in the existing github-actions WIF pool. The bootstrap refuses to continue unless the exact materialized videos pass their stored SHA-256 values. Pull requests run .github/workflows/ci.yml. Every merge to main runs .github/workflows/deploy-production.yml, builds the exact commit, deploys that image to both the CPU control service and one-task L4 job, verifies the OAuth challenge, and completes a real GPU canary before the deployment is green.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选