{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.mharnett/linkedin-ads",
  "slug": "io.github.mharnett.linkedin-ads",
  "title": "linkedin-ads",
  "summary": "MCP server for LinkedIn Campaign Manager — campaigns, creatives, and analytics",
  "version": "1.2.2",
  "serverKey": "linkedin-ads",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.mharnett.linkedin-ads",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.mharnett.linkedin-ads/install.md",
  "trust": {
    "score": 93,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T19:14:51.695221722Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-linkedin-ads@1.2.2"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add linkedin-ads -e 'LINKEDIN_ADS_ACCESS_TOKEN=<LINKEDIN_ADS_ACCESS_TOKEN>' -- npx -y mcp-linkedin-ads@1.2.2"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"linkedin-ads\": {\n      \"args\": [\n        \"-y\",\n        \"mcp-linkedin-ads@1.2.2\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"LINKEDIN_ADS_ACCESS_TOKEN\": \"<LINKEDIN_ADS_ACCESS_TOKEN>\"\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        \"mcp-linkedin-ads@1.2.2\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"LINKEDIN_ADS_ACCESS_TOKEN\": \"<LINKEDIN_ADS_ACCESS_TOKEN>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"LINKEDIN_ADS_ACCESS_TOKEN\",\n      \"id\": \"linkedin-ads-access-token\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"linkedin-ads\": {\n      \"args\": [\n        \"-y\",\n        \"mcp-linkedin-ads@1.2.2\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"LINKEDIN_ADS_ACCESS_TOKEN\": \"${input:linkedin-ads-access-token}\"\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\", \"mcp-linkedin-ads@1.2.2\"]\nenv = { \"LINKEDIN_ADS_ACCESS_TOKEN\" = \"<LINKEDIN_ADS_ACCESS_TOKEN>\" }"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    }
  ],
  "env": [
    {
      "name": "LINKEDIN_ADS_ACCESS_TOKEN",
      "required": true,
      "secret": true,
      "description": "LinkedIn OAuth access token. Enough on its own to start.",
      "help": "LinkedIn OAuth access token. Enough on its own to start.",
      "placeholder": "<LINKEDIN_ADS_ACCESS_TOKEN>"
    },
    {
      "name": "LINKEDIN_ADS_REFRESH_TOKEN",
      "required": false,
      "secret": true,
      "description": "LinkedIn OAuth refresh token. With LINKEDIN_ADS_CLIENT_ID and LINKEDIN_ADS_CLIENT_SECRET, the server renews the access token itself.",
      "help": "LinkedIn OAuth refresh token. With LINKEDIN_ADS_CLIENT_ID and LINKEDIN_ADS_CLIENT_SECRET, the server renews the access token itself.",
      "placeholder": "<LINKEDIN_ADS_REFRESH_TOKEN>"
    },
    {
      "name": "LINKEDIN_ADS_CLIENT_ID",
      "required": false,
      "secret": false,
      "description": "LinkedIn app client ID. Needed only with a refresh token.",
      "help": "LinkedIn app client ID. Needed only with a refresh token.",
      "placeholder": "<LINKEDIN_ADS_CLIENT_ID>"
    },
    {
      "name": "LINKEDIN_ADS_CLIENT_SECRET",
      "required": false,
      "secret": true,
      "description": "LinkedIn app client secret. Needed only with a refresh token.",
      "help": "LinkedIn app client secret. Needed only with a refresh token.",
      "placeholder": "<LINKEDIN_ADS_CLIENT_SECRET>"
    },
    {
      "name": "LINKEDIN_ADS_ACCOUNT_ID",
      "required": false,
      "secret": false,
      "description": "Default LinkedIn ad account ID, used when a tool call names none.",
      "help": "Default LinkedIn ad account ID, used when a tool call names none.",
      "placeholder": "<LINKEDIN_ADS_ACCOUNT_ID>"
    },
    {
      "name": "LINKEDIN_ADS_MCP_WRITE",
      "required": false,
      "secret": false,
      "description": "Set to true to expose the predictive-audience write tools. Read-only by default.",
      "help": "Set to true to expose the predictive-audience write tools. Read-only by default.",
      "default": "false",
      "placeholder": "false"
    }
  ],
  "expectedTools": [
    "linkedin_ads_get_client_context",
    "linkedin_ads_list_accounts",
    "linkedin_ads_list_campaign_groups",
    "linkedin_ads_list_campaigns",
    "linkedin_ads_campaign_performance",
    "linkedin_ads_account_performance",
    "linkedin_ads_analytics",
    "linkedin_ads_list_predictive_audiences",
    "linkedin_ads_get_predictive_audience"
  ],
  "agentSteps": [
    "Ask the user for: LINKEDIN_ADS_ACCESS_TOKEN. 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.",
    "Verify: the server should expose these tools: linkedin_ads_get_client_context, linkedin_ads_list_accounts, linkedin_ads_list_campaign_groups, linkedin_ads_list_campaigns, linkedin_ads_campaign_performance, linkedin_ads_account_performance, linkedin_ads_analytics, linkedin_ads_list_predictive_audiences, ….",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T19:14:51.695221722Z"
}
