Skip to content

LinkedIn Campaign Manager

MCP server for LinkedIn Ads — 19 read-only tools for campaigns, performance, and Lead Gen Forms.

automate.revenue_ops.personalization

Install LinkedIn Campaign Manager in your MCP client

LinkedIn Campaign Manager is a Model Context Protocol server. Add it to your MCP client config once, restart, and the server's tools become available to your AI assistant. The same JSON snippet below works across all four major clients — only the config file path differs.

  1. Locate your client's MCP config file.
    • Cursor: ~/.cursor/mcp.json
    • Claude Desktop (macOS): ~/Library/Application Support/Claude/claude_desktop_config.json
    • Claude Desktop (Windows): %APPDATA%\Claude\claude_desktop_config.json
    • VS Code: Settings → Extensions → MCP
    • Windsurf: Settings → MCP Servers
  2. Add LinkedIn Campaign Manager to the mcpServers map — paste the snippet below into your config file. If you already have other MCP servers, merge the entry into the existing mcpServers object.
  3. Restart your client so it picks up the new server.
  4. Verify — ask the assistant to list available tools; LinkedIn Campaign Manager's tools should appear.
{
  "mcpServers": {
    "linkedin-campaign-manager": {
      "command": "npx",
      "args": [
        "-y",
        "linkedin-campaign-manager-mcp"
      ],
      "env": {
        "LINKEDIN_CLIENT_ID": "<your-linkedin-client-id>",
        "LINKEDIN_CLIENT_SECRET": "<your-linkedin-client-secret>",
        "LINKEDIN_TOKEN_PATH": "<your-linkedin-token-path>",
        "LINKEDIN_DEFAULT_AD_ACCOUNT": "<your-linkedin-default-ad-account>",
        "LINKEDIN_API_VERSION": "<your-linkedin-api-version>"
      }
    }
  }
}

Install LinkedIn Campaign Manager in Cursor

Open ~/.cursor/mcp.json in your editor, paste the snippet above into mcpServers, save, and restart Cursor. LinkedIn Campaign Manager will show up in the assistant's tool list on next launch.

Install LinkedIn Campaign Manager in Claude Desktop (macOS)

Open ~/Library/Application Support/Claude/claude_desktop_config.json in your editor, paste the snippet above into mcpServers, save, and restart Claude Desktop (macOS). LinkedIn Campaign Manager will show up in the assistant's tool list on next launch.

Install LinkedIn Campaign Manager in Claude Desktop (Windows)

Open %APPDATA%\Claude\claude_desktop_config.json in your editor, paste the snippet above into mcpServers, save, and restart Claude Desktop (Windows). LinkedIn Campaign Manager will show up in the assistant's tool list on next launch.

Install LinkedIn Campaign Manager in VS Code

Open Settings → Extensions → MCP in your editor, paste the snippet above into mcpServers, save, and restart VS Code. LinkedIn Campaign Manager will show up in the assistant's tool list on next launch.

npm package: linkedin-campaign-manager-mcp

Required environment variables

LinkedIn Campaign Manager needs the following environment variables set before it can run. Add them to the env block of your mcpServers entry, or export them in your shell before launching the client.

  • LINKEDIN_CLIENT_ID
  • LINKEDIN_CLIENT_SECRET
  • LINKEDIN_TOKEN_PATH
  • LINKEDIN_DEFAULT_AD_ACCOUNT
  • LINKEDIN_API_VERSION

Transport

LinkedIn Campaign Manager supports the following MCP transports. Most AI clients use stdio by default for locally-installed servers.

stdio

Other Model Context Protocol servers in the same space as LinkedIn Campaign Manager. Each one adds different capabilities to your AI assistant — pick based on the data sources or workflows you need.

Browse the full MCP server directory or use Stork's one-line install to let your agent pick the right server automatically.