Skip to content
VS Code

openai ads mcp for VS Code

io.github.hypd-ai/openai-ads-mcp

Read-only MCP server for the OpenAI Ads API: campaigns, ad groups, ads, and insights.

client:VS Code transport:stdio runtime:npm

Install openai ads mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "openai-ads-api-key",
      "description": "OPENAI_ADS_API_KEY",
      "password": true
    }
  ],
  "servers": {
    "openai-ads-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@hypd-ai/openai-ads-mcp"
      ],
      "env": {
        "OPENAI_ADS_API_KEY": "${input:openai-ads-api-key}"
      }
    }
  }
}

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

openai ads mcp in other clients