{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "com.getmcpads/linkedin-ads",
  "slug": "com.getmcpads.linkedin-ads",
  "title": "LinkedIn Ads",
  "summary": "LinkedIn Ads MCP server: 18 read tools, 15 opt-in preview-first writes.",
  "version": "1.0.2",
  "serverKey": "linkedin-ads",
  "pageUrl": "https://mcpkglabs.com/tool/com.getmcpads.linkedin-ads",
  "installMdUrl": "https://mcpkglabs.com/tool/com.getmcpads.linkedin-ads/install.md",
  "trust": {
    "score": 82,
    "grade": "B",
    "smokeStatus": "needs_credentials",
    "status": "active",
    "verifiedAt": "2026-12-01T16:06:12.823869608Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "--package=@getmcpads/linkedin-ads-mcp-server@1.0.2",
        "linkedin-ads-mcp"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add linkedin-ads -e 'LINKEDIN_ADS_ACCOUNT_IDS=<LINKEDIN_ADS_ACCOUNT_IDS>' -- npx -y --package=@getmcpads/linkedin-ads-mcp-server@1.0.2 linkedin-ads-mcp"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"linkedin-ads\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@getmcpads/linkedin-ads-mcp-server@1.0.2\",\n        \"linkedin-ads-mcp\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"LINKEDIN_ADS_ACCOUNT_IDS\": \"<LINKEDIN_ADS_ACCOUNT_IDS>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"linkedin-ads\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@getmcpads/linkedin-ads-mcp-server@1.0.2\",\n        \"linkedin-ads-mcp\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"LINKEDIN_ADS_ACCOUNT_IDS\": \"<LINKEDIN_ADS_ACCOUNT_IDS>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"LINKEDIN_ADS_ACCOUNT_IDS\",\n      \"id\": \"linkedin-ads-account-ids\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"linkedin-ads\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@getmcpads/linkedin-ads-mcp-server@1.0.2\",\n        \"linkedin-ads-mcp\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"LINKEDIN_ADS_ACCOUNT_IDS\": \"${input:linkedin-ads-account-ids}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.linkedin-ads]\ncommand = \"npx\"\nargs = [\"-y\", \"--package=@getmcpads/linkedin-ads-mcp-server@1.0.2\", \"linkedin-ads-mcp\"]\nenv = { \"LINKEDIN_ADS_ACCOUNT_IDS\" = \"<LINKEDIN_ADS_ACCOUNT_IDS>\" }"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    }
  ],
  "env": [
    {
      "name": "LINKEDIN_ADS_ACCESS_TOKEN",
      "required": false,
      "secret": true,
      "description": "Member access token from your own LinkedIn app, with r_ads and r_ads_reporting. Keep it secret.",
      "help": "Member access token from your own LinkedIn app, with r_ads and r_ads_reporting. Keep it secret.",
      "placeholder": "<LINKEDIN_ADS_ACCESS_TOKEN>"
    },
    {
      "name": "LINKEDIN_ADS_REFRESH_TOKEN",
      "required": false,
      "secret": true,
      "description": "Programmatic refresh token. With the client ID and secret, the token is renewed in memory.",
      "help": "Programmatic refresh token. With the client ID and secret, the token is renewed in memory.",
      "placeholder": "<LINKEDIN_ADS_REFRESH_TOKEN>"
    },
    {
      "name": "LINKEDIN_ADS_CLIENT_ID",
      "required": false,
      "secret": false,
      "description": "Client ID of your LinkedIn app, needed for refresh.",
      "help": "Client ID of your LinkedIn app, needed for refresh.",
      "placeholder": "<LINKEDIN_ADS_CLIENT_ID>"
    },
    {
      "name": "LINKEDIN_ADS_CLIENT_SECRET",
      "required": false,
      "secret": true,
      "description": "Client secret of your LinkedIn app, needed for refresh.",
      "help": "Client secret of your LinkedIn app, needed for refresh.",
      "placeholder": "<LINKEDIN_ADS_CLIENT_SECRET>"
    },
    {
      "name": "LINKEDIN_ADS_ACCOUNT_IDS",
      "required": true,
      "secret": false,
      "description": "Comma-separated numeric ad account IDs this server may access, 1 to 100. Required even for reads.",
      "help": "Comma-separated numeric ad account IDs this server may access, 1 to 100. Required even for reads.",
      "placeholder": "<LINKEDIN_ADS_ACCOUNT_IDS>"
    },
    {
      "name": "LINKEDIN_ADS_SCOPES",
      "required": false,
      "secret": false,
      "description": "Scopes actually granted to the token. When set, writes require rw_ads.",
      "help": "Scopes actually granted to the token. When set, writes require rw_ads.",
      "placeholder": "<LINKEDIN_ADS_SCOPES>"
    },
    {
      "name": "LINKEDIN_ADS_ENABLE_WRITES",
      "required": false,
      "secret": false,
      "description": "true exposes the 15 write tools. Defaults to false.",
      "help": "true exposes the 15 write tools. Defaults to false.",
      "placeholder": "<LINKEDIN_ADS_ENABLE_WRITES>"
    },
    {
      "name": "LINKEDIN_ADS_API_VERSION",
      "required": false,
      "secret": false,
      "description": "LinkedIn-Version header as YYYYMM. Defaults to 202608.",
      "help": "LinkedIn-Version header as YYYYMM. Defaults to 202608.",
      "placeholder": "<LINKEDIN_ADS_API_VERSION>"
    },
    {
      "name": "LINKEDIN_ADS_LOG_LEVEL",
      "required": false,
      "secret": false,
      "description": "debug, info, warn or error. Logs go to stderr. Defaults to info.",
      "help": "debug, info, warn or error. Logs go to stderr. Defaults to info.",
      "placeholder": "<LINKEDIN_ADS_LOG_LEVEL>"
    }
  ],
  "agentSteps": [
    "Ask the user for: LINKEDIN_ADS_ACCOUNT_IDS. Never invent or guess these values; secrets go into the client config, not into chat logs.",
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T16:06:12.823869608Z"
}
