Claude Desktop and MCP Server for LinkedIn Ads

This integration allows you to connect your LinkedIn Ads account to Claude via the Radiate B2B platform.

Pre-requirements:

  1. LinkedIn Ads account connected to the Radiate B2B platform. You can complete this step by going to Integrations and clicking "Connect" under LinkedIn Ads.

  2. Claude Desktop You can download Claude Desktop here. Make sure it’s on the latest version by clicking on the Claude menu on your computer and selecting “Check for Updates…”

To set up Claude Desktop, complete the following instructions:

  1. Open the Claude menu on your computer and select “Settings…” Please note that these are not the Claude Account Settings found in the app window itself. This is what it should look like on a Mac:

  2. Click on “Developer” in the left-hand bar of the Settings pane, and then click on “Edit Config”:

This will create a configuration file if you don’t already have one at: macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

Open up the configuration file in any text editor. Replace the file contents with this:

{
    "mcpServers": {
      "RadiateB2B LinkedIn Advertising": {
        "command": "npx",
        "args": [
          "mcp-remote",
          "https://mcp.radiateb2b.com/sse",
          "--header",
          "Authorization: Bearer %%Authorization_token%%"
        ]
      }
    }
}

Make sure to replace %%Authorization_token%% with the token displayed in the Radiate B2B Platform.

You will also need Node.js on your computer for this to run properly. Note, Windows users should install Node in the root folder (c:\nodejs). To verify you have Node installed, open the command line on your computer.

  • On macOS, open the Terminal from your Applications folder

  • On Windows, press Windows + R, type “cmd”, and press Enter

Once in the command line, verify you have Node installed by entering the following command:

node --version

If you get an error saying “command not found” or “node is not recognized”, download Node from nodejs.org.

  1. After updating your configuration file, you need to restart Claude for Desktop. Make sure it is not running in the background after you exit. Upon restarting, you should see a slider icon in the bottom left corner of the input box:

After clicking on the slider icon, you should see "Radiate B2B LinkedIn Advertising Listed":

  1. You can now talk to Claude and ask it questions about your LinkedIn Ad Campaigns. It should know when to call the relevant tools.

    Things you might try asking Claude:

    • How do my LinkedIn Ad campaigns compare to benchmarks for the past 90 days?

    • Which LinkedIn Ad campaigns are performing best?

    • How do my LinkedIn Ad campaigns compare this week compared to last week? Visualise the results and make recommendations.

    • Can you analyse the performance of my LinkedIn Ad campaigns for the past 3 quarters and make recommendations. Please visualise the results.

    • My LinkedIn Ad campaign data shows campaigns running from September until March 10th 2025 and then a new set of campaigns from May 19th 2025 to 5th September 2025. Can you create an in depth comparison of the two periods and make recommendations for performance improvements. Take account of daily spend and the different lengths of time.

    As needed, Claude will call the relevant tools and seek your approval before taking an action:

Troubleshooting

Server not showing up in Claude / hammer icon missing
  • Restart Claude for Desktop completely (make sure it is not running in the background)

  • Check your claude_desktop_config.json file syntax

  • Make sure the file paths included in claude_desktop_config.json are valid and that they are absolute and not relative

  • Look at logs to see why the server is not connecting

  • In your command line, try manually running the server (replacing username as you did in claude_desktop_config.json) to see if you get any errors:

Mac:

npx -y @modelcontextprotocol/server-filesystem /Users/username/Desktop /Users/username/Downloads

Windows:

npx -y @modelcontextprotocol/server-filesystem C:\Users\username\Desktop C:\Users\username\Downloads

Getting logs from Claude for Desktop

Claude.app logging related to MCP is written to log files in:

  • macOS: ~/Library/Logs/Claude

  • Windows: %APPDATA%\Claude\logs

  • mcp.log will contain general logging about MCP connections and connection failures.

  • Files named mcp-server-SERVERNAME.log will contain error (stderr) logging from the named server.

You can run the following command to list recent logs and follow along with any new ones (on Windows, it will only show recent logs):

Mac:

# Check Claude's logs for errors
tail -n 20 -f ~/Library/Logs/Claude/mcp*.log

Windows:

type "%APPDATA%\Claude\logs\mcp*.log"
Tool calls failing silently

If Claude attempts to use the tools but they fail:

  1. Check Claude’s logs for errors

  2. Verify your server builds and runs without errors

  3. Try restarting Claude for Desktop

None of this is working. What do I do?

Click the icon inside the Radiate B2B platform (usually bottom left of the screen) and submit a ticket for us to review and come back to you.

Last updated