Skip to content
VS Code

Meta Ads for VS Code

com.getmcpads/meta-ads

Meta Ads MCP server: 41 read tools, 23 opt-in preview-first writes.

client:VS Code transport:stdio runtime:npm

Install Meta Ads in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "meta-access-token",
      "description": "META_ACCESS_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "meta-enable-writes",
      "description": "META_ENABLE_WRITES",
      "password": true
    },
    {
      "type": "promptString",
      "id": "meta-api-version",
      "description": "META_API_VERSION",
      "password": true
    }
  ],
  "servers": {
    "meta-ads": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@getmcpads/meta-ads-mcp-server"
      ],
      "env": {
        "META_ACCESS_TOKEN": "${input:meta-access-token}",
        "META_ENABLE_WRITES": "${input:meta-enable-writes}",
        "META_API_VERSION": "${input:meta-api-version}"
      }
    }
  }
}

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

Meta Ads in other clients