Skip to content
VS Code

media gen mcp for VS Code

io.github.strato-space/media-gen-mcp

MCP server for OpenAI Images/Videos and Google GenAI (Veo) media generation.

client:VS Code transport:stdio runtime:npm

Install media gen mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "openai-api-key",
      "description": "OPENAI_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "gemini-api-key",
      "description": "GEMINI_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "google-api-key",
      "description": "GOOGLE_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "google-genai-use-vertexai",
      "description": "GOOGLE_GENAI_USE_VERTEXAI",
      "password": true
    },
    {
      "type": "promptString",
      "id": "google-cloud-project",
      "description": "GOOGLE_CLOUD_PROJECT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "google-cloud-location",
      "description": "GOOGLE_CLOUD_LOCATION",
      "password": true
    },
    {
      "type": "promptString",
      "id": "azure-openai-api-key",
      "description": "AZURE_OPENAI_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "azure-openai-endpoint",
      "description": "AZURE_OPENAI_ENDPOINT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "openai-api-version",
      "description": "OPENAI_API_VERSION",
      "password": true
    },
    {
      "type": "promptString",
      "id": "azure-openai-deployment",
      "description": "AZURE_OPENAI_DEPLOYMENT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "media-gen-dirs",
      "description": "MEDIA_GEN_DIRS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "media-gen-urls",
      "description": "MEDIA_GEN_URLS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "media-gen-mcp-url-prefixes",
      "description": "MEDIA_GEN_MCP_URL_PREFIXES",
      "password": true
    },
    {
      "type": "promptString",
      "id": "media-gen-mcp-test-sample-dir",
      "description": "MEDIA_GEN_MCP_TEST_SAMPLE_DIR",
      "password": true
    }
  ],
  "servers": {
    "media-gen-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@strato-space/media-gen-mcp"
      ],
      "env": {
        "OPENAI_API_KEY": "${input:openai-api-key}",
        "GEMINI_API_KEY": "${input:gemini-api-key}",
        "GOOGLE_API_KEY": "${input:google-api-key}",
        "GOOGLE_GENAI_USE_VERTEXAI": "${input:google-genai-use-vertexai}",
        "GOOGLE_CLOUD_PROJECT": "${input:google-cloud-project}",
        "GOOGLE_CLOUD_LOCATION": "${input:google-cloud-location}",
        "AZURE_OPENAI_API_KEY": "${input:azure-openai-api-key}",
        "AZURE_OPENAI_ENDPOINT": "${input:azure-openai-endpoint}",
        "OPENAI_API_VERSION": "${input:openai-api-version}",
        "AZURE_OPENAI_DEPLOYMENT": "${input:azure-openai-deployment}",
        "MEDIA_GEN_DIRS": "${input:media-gen-dirs}",
        "MEDIA_GEN_URLS": "${input:media-gen-urls}",
        "MEDIA_GEN_MCP_URL_PREFIXES": "${input:media-gen-mcp-url-prefixes}",
        "MEDIA_GEN_MCP_TEST_SAMPLE_DIR": "${input:media-gen-mcp-test-sample-dir}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

media gen mcp in other clients