install-mcp-genmedia

GitHub

提供一键安装 Google GenMedia MCP 服务器(Lyria, Veo等)的指引,通过预编译二进制文件快速部署并注册到配置中,解决媒体合成工具缺失问题。

experiments/mcp-genmedia/skills/install-mcp-genmedia/SKILL.md GoogleCloudPlatform/genmedia-creative-studio

触发场景

需要安装或启用 GenMedia MCP 服务器 当前环境中缺少 lyria_generate_music 等媒体合成工具

安装

npx skills add GoogleCloudPlatform/genmedia-creative-studio --skill install-mcp-genmedia -g -y
更多选项

非标准路径

npx skills add https://github.com/GoogleCloudPlatform/genmedia-creative-studio/tree/main/experiments/mcp-genmedia/skills/install-mcp-genmedia -g -y

不安装直接使用

npx skills use GoogleCloudPlatform/genmedia-creative-studio@install-mcp-genmedia

指定 Agent (Claude Code)

npx skills add GoogleCloudPlatform/genmedia-creative-studio --skill install-mcp-genmedia -a claude-code -g -y

安装 repo 全部 skill

npx skills add GoogleCloudPlatform/genmedia-creative-studio --all -g -y

预览 repo 内 skill

npx skills add GoogleCloudPlatform/genmedia-creative-studio --list

SKILL.md

Frontmatter
{
    "name": "install-mcp-genmedia",
    "license": "Apache-2.0",
    "description": "Installs Google's GenMedia MCP servers (Lyria, NanoBanana, Veo, Chirp, AVTool) via curl from pre-compiled release binaries and registers them in mcp_config.json. Use when the required media synthesis tools are missing or inactive."
}

Install GenMedia MCP Servers (Pre-compiled Binaries)

This skill provides direct, clone-free instructions to download, install, and register the Google GenMedia Model Context Protocol (MCP) servers using official release binaries.

When to Invoke this Skill

  • Required media synthesis tools (lyria_generate_music, nanobanana_image_generation, or ffmpeg_*) are not present in your active tool list.
  • You want a fast, pre-compiled setup without installing the Go runtime or cloning the source repository.

Installation Procedure

1. Run the Online Installer

This command fetches the official install script, which automatically detects your OS and architecture, downloads the latest pre-compiled binaries from the GitHub Releases page, and extracts them into your ~/.local/bin/ folder.

curl -sL https://raw.githubusercontent.com/GoogleCloudPlatform/genmedia-creative-studio/main/experiments/mcp-genmedia/mcp-genmedia-go/install-online.sh | bash

Note: Ensure that ~/.local/bin is in your system's executable search PATH.


Configuration & Registration

1. Update your MCP Configuration

Add the installed binaries to your platform's global MCP configuration file (typically ~/.gemini/antigravity-cli/mcp_config.json or your IDE's settings).

Configure the environment to include your Google Cloud Project ID and Region:

{
  "mcpServers": {
    "lyria": {
      "command": "/Users/YOUR_USER/.local/bin/mcp-lyria-go",
      "env": {
        "PROJECT_ID": "YOUR_GCP_PROJECT",
        "LOCATION": "us-central1"
      }
    },
    "nanobanana": {
      "command": "/Users/YOUR_USER/.local/bin/mcp-nanobanana-go",
      "env": {
        "PROJECT_ID": "YOUR_GCP_PROJECT",
        "LOCATION": "us-central1"
      }
    },
    "avtool": {
      "command": "/Users/YOUR_USER/.local/bin/mcp-avtool-go"
    }
  }
}

2. Antigravity CLI (agy) Plugin Sync

If you are running the Antigravity CLI (agy) client and want to sync all the expert skills (such as genmedia-producer, genmedia-audio-engineer, etc.) and their integrated MCP servers that are configured under your main Gemini config, you must import the plugins into Antigravity:

antigravity plugin import gemini

This will automatically scan, register, and stage all your active Gemini plugins and MCP servers under your Antigravity configuration folder (~/.gemini/config/).

3. Reload and Verify the Session

To register and activate the new tool definitions in your active agent's context, you must reload your active session:

  • In Gemini CLI, run: /skills reload
  • In Antigravity (agy), exit your current chat session and restart the client (e.g., using antigravity --continue or starting a new turn) so the tool schemas are re-negotiated and locked.

版本历史

  • 96ed797 当前 2026-09-22 14:22

    将安装脚本的仓库引用从 vertex-ai-creative-studio 重命名为 genmedia-creative-studio

  • 32217df 2026-07-25 07:30

同 Skill 集合

experiments/mcp-genmedia/skills/agent-aware-cli/SKILL.md
experiments/mcp-genmedia/skills/build-mcp-genmedia/SKILL.md
experiments/mcp-genmedia/skills/genmedia-audio-engineer/SKILL.md
experiments/mcp-genmedia/skills/genmedia-image-artist/SKILL.md
experiments/mcp-genmedia/skills/genmedia-producer/SKILL.md
experiments/mcp-genmedia/skills/genmedia-video-editor/SKILL.md
experiments/mcp-genmedia/skills/genmedia-voice-director/SKILL.md
experiments/mcp-genmedia/skills/story-generator/SKILL.md
experiments/mesop-to-lit-skill/skill/mesop-to-lit/SKILL.md

元信息

文件数
0
版本
d850b89
Hash
0abeb75f
收录时间
2026-07-25 07:30

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.156.0. UTC+08:00, 2026-11-06 05:23
浙ICP备14020137号-1