# 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](https://platform.radiateb2b.com/integrations) and clicking "Connect" under LinkedIn Ads.
2. Claude Desktop\
   You can download Claude Desktop [here](https://claude.ai/download).\
   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:\
   ![](https://7300465-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FG7HXcDhe9r3SIgiYvPia%2Fuploads%2F2sjLJ939O2sWNdhPUQj6%2Fimage.png?alt=media\&token=6691e44f-6165-4977-b7d8-fca04080a396)\
   \ <br>
2. Click on “Developer” in the left-hand bar of the Settings pane, and then click on “Edit Config”:

<figure><img src="https://7300465-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FG7HXcDhe9r3SIgiYvPia%2Fuploads%2FMO1YvdY11eb53NMXq7lt%2Fimage.png?alt=media&#x26;token=3d917bfc-8f78-4081-a3bc-878d7cd5d899" alt=""><figcaption></figcaption></figure>

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](https://nodejs.org/) 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](https://nodejs.org/).\ <br>

3. 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 <img src="https://mintlify.s3.us-west-1.amazonaws.com/mcp/images/claude-desktop-mcp-slider.svg" alt="" data-size="line"> icon in the bottom left corner of the input box:

<figure><img src="https://7300465-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FG7HXcDhe9r3SIgiYvPia%2Fuploads%2FUlYUhncqqvpCSyqOyYn2%2Fimage.png?alt=media&#x26;token=9be964c4-ae1e-46bd-8830-d2eeceb2ae87" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://7300465-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FG7HXcDhe9r3SIgiYvPia%2Fuploads%2FxwgbQw5ChGjRsCuuVBB7%2Fimage.png?alt=media&#x26;token=ae6ed8fa-ffe5-413c-9eed-a83bac4b1153" alt=""><figcaption></figcaption></figure>

4. 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:\ <br>

   <figure><img src="https://7300465-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FG7HXcDhe9r3SIgiYvPia%2Fuploads%2FqVLN0nyEgtzMOgEotlyn%2Fimage.png?alt=media&#x26;token=06e13e58-bdb6-40fc-9fc8-179b69feb718" alt=""><figcaption></figcaption></figure>

### Troubleshooting <a href="#troubleshooting" id="troubleshooting"></a>

<details>

<summary>Server not showing up in Claude / hammer icon missing</summary>

* 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
```

</details>

<details>

<summary>Getting logs from Claude for Desktop</summary>

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"
```

</details>

<details>

<summary>Tool calls failing silently</summary>

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

</details>

<details>

<summary>None of this is working. What do I do?</summary>

Click the ![](https://7300465-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FG7HXcDhe9r3SIgiYvPia%2Fuploads%2FE8YnqKtdwmwSIZOhvA5P%2Fimage.png?alt=media\&token=e765fb44-dff1-49f7-89e1-4b2259192229) 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.

</details>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://radiate-b2b.gitbook.io/docs/integrations/claude-desktop-and-mcp-server-for-linkedin-ads.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
