Prototipo · Versión preliminar: todos los servidores del registro oficial, sincronizados cada 30 minutos. Las reseñas y las cuentas llegarán en una etapa posterior.
PopNx MCPServidores MCP para quienes usan IA · explicados con palabras sencillas

LinkedIn Ads

de mharnettversión 1.0.2i★ –iSe ejecuta en tu computadora
Nombre en el registroio.github.mharnett/linkedin-ads

Instalar

Resumen

Descripción del creador (original en inglés)

MCP server for LinkedIn Campaign Manager — campaigns, creatives, and analytics

Los tres pilares de PopNx MCP

Estos tres nunca se combinan en una sola puntuación: las opiniones, las mediciones y la popularidad son cosas distintas.

Qué puedes hacer con él

Todavía no escribimos un resumen sencillo para este. Abajo están los datos que leímos del registro.

  • Conexión: Se ejecuta en tu computadora
  • Transporte: stdio
  • Categoría: Marketing y redes sociales
  • Debes completar: LINKEDIN_CLIENT_ID, LINKEDIN_CLIENT_SECRET, LINKEDIN_ACCESS_TOKEN

Instalación

Elige la app de IA que usas y copia la configuración.

Antes de instalar

  • Revisiones básicas: 1 de 1 superadas
  • Se ejecuta en tu computadora con los permisos de tu usuario (archivos, red, apps).
  • Debes completar tú: LINKEDIN_CLIENT_ID, LINKEDIN_CLIENT_SECRET, LINKEDIN_ACCESS_TOKEN

Los valores marcados como secretos son llaves de tu cuenta. Nunca los compartas ni los pegues en un chat.

Necesitas

  • npmNode.js instalado (para el comando npx)

¿Qué app usas?

Elige tu app arriba. La recordamos, así que la próxima vez el botón dirá “Instalar en …”.

Abre Claude Desktop → Settings → Developer → Edit Config y pega esto en claude_desktop_config.json

{
  "mcpServers": {
    "linkedin-ads": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-linkedin-ads"
      ],
      "env": {
        "LINKEDIN_CLIENT_ID": "your-value",
        "LINKEDIN_CLIENT_SECRET": "your-value",
        "LINKEDIN_ACCESS_TOKEN": "your-value"
      }
    }
  }
}

Ejecuta esto en tu terminal

claude mcp add linkedin-ads --env LINKEDIN_CLIENT_ID=your-value --env LINKEDIN_CLIENT_SECRET=your-value --env LINKEDIN_ACCESS_TOKEN=your-value -- npx -y mcp-linkedin-ads

Completa los valores vacíos antes de ejecutarlo.

Abrir en Cursor

O copia la configuración tú

Pégalo en .cursor/mcp.json de tu proyecto, o en ~/.cursor/mcp.json

{
  "mcpServers": {
    "linkedin-ads": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-linkedin-ads"
      ],
      "env": {
        "LINKEDIN_CLIENT_ID": "your-value",
        "LINKEDIN_CLIENT_SECRET": "your-value",
        "LINKEDIN_ACCESS_TOKEN": "your-value"
      }
    }
  }
}

Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.

Abrir en VS Code

O copia la configuración tú

Pégalo en .vscode/mcp.json de tu proyecto

{
  "servers": {
    "linkedin-ads": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-linkedin-ads"
      ],
      "env": {
        "LINKEDIN_CLIENT_ID": "your-value",
        "LINKEDIN_CLIENT_SECRET": "your-value",
        "LINKEDIN_ACCESS_TOKEN": "your-value"
      }
    }
  }
}

Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.

Este se ejecuta en tu computadora, y ChatGPT solo puede conectarse a servidores en internet. Elige otra app.

Tu elección se guarda en una cookie en este dispositivo; no necesitas cuenta.

Valores que debes completar

  • LINKEDIN_CLIENT_ID obligatorio env
    LinkedIn OAuth app client ID
  • LINKEDIN_CLIENT_SECRET secreto obligatorio env
    LinkedIn OAuth app client secret
  • LINKEDIN_ACCESS_TOKEN secreto obligatorio env
    LinkedIn OAuth access token

Esta configuración se genera a partir de la ficha del creador en el registro. Si el README dice otra cosa, sigue el README.

Qué puede hacer

Se ejecuta en tu computadora; la lista de herramientas aparece en tu app de IA después de instalarlo.

Revisiones básicasi

Revisamos información que cualquiera puede ver; no hemos leído el código. Las revisiones que no aplican no se cuentan. · Revisado el 8 nov 2026

  • ✓ Superada

    El creador coincide con el repo

    El nombre en el registro se verificó con la cuenta de GitHub mharnett, dueña del repo

  • … Aún sin revisar

    Sigue en mantenimiento

    Todavía no hemos leído este repo en GitHub

  • … Aún sin revisar

    Tiene licencia

    Todavía no hemos leído este repo en GitHub

  • – No aplica

    El endpoint responde

    Este se ejecuta en tu computadora; no hay endpoint en internet

  • – No aplica

    Inicio de sesión con OAuth

    Se ejecuta en tu computadora y usa ajustes locales en su lugar

  • … Aún sin revisar

    Sin instrucciones ocultas en las descripciones de herramientas

    Se ejecuta en tu computadora; solo podemos leer listas de herramientas de endpoints en internet

Comparado con otros en Marketing y redes socialesi

  • Más estrellas que el 0% de los otros 3575 servidores de esta categoría
  • Publicado en el registro más recientemente que el 3% de los otros 3575 servidores de esta categoría
  • Revisiones básicas iguales o mejores que el 100% de los otros 3575 servidores de esta categoría

Comparado con todos los servidores activos de esta categoría en el registro. Las estrellas solo cuentan cuando quien lo publica es dueño del repo.

Preguntas frecuentes

¿Es seguro LinkedIn Ads?

Superó 1 de 1 revisiones básicas aplicables. No hemos leído el código. Antes de agregar una clave o un token, revisa qué acceso pide el servidor y usa una clave que tenga solo los permisos que necesitas.

¿Qué claves o códigos necesita?

Debes completar: LINKEDIN_CLIENT_ID, LINKEDIN_CLIENT_SECRET, LINKEDIN_ACCESS_TOKEN

¿Se ejecuta en mi computadora o en la nube?

Se ejecuta en tu computadora. Tu app de IA lo inicia cuando hace falta, y los datos no pasan por los servidores del creador (a menos que el propio servidor llame a un servicio en línea).

¿Sigue en mantenimiento?

El repo de GitHub cambió por última vez –, y la última versión (1.0.2) llegó al registro hace 8 meses.

¿Qué apps pueden usarlo?

Las apps compatibles con MCP, como Claude Desktop, Claude Code, Cursor y VS Code. También necesitas Node.js en tu computadora.

¿Qué puedo usar en su lugar?

En la misma categoría: MCP YouTube Transcript, Google Analytics MCP, BibiGPT YouTube Video Summarizer

Alternativas

Servidores de la misma categoría hechos por otros creadores, ordenados por estrellas.

Cómo leer una tarjeta:★ Estrellas de GitHubiTres pilares: reseñas · revisiones · usoiActualizado = fecha en que se publicó la última versión en el registroi

An MCP server retrieving transcripts of YouTube videos

Se ejecuta en tu computadora★ 495MITActualizado hace 10 días
Instalar

GA4 MCP server for AI agents: schema discovery, server-side aggregation, analysis-ready defaults.

Se ejecuta en tu computadora★ 244MITActualizado hace 10 días
Instalar

AI video summarizer: summarize and transcribe YouTube, Bilibili, TikTok and podcast videos.

Se ejecuta en la nube★ 137MITActualizado hace 11 días
Instalar

README del creador

Abrir el README

Copiado tal cual del repo del creador. PopNx MCP no lo ha revisado ni lo respalda. Se quitaron HTML, imágenes y scripts. Los enlaces llevan fuera de este sitio.

LinkedIn Ads MCP Server

Production-grade MCP server for LinkedIn Campaign Manager API. Enables Claude to manage LinkedIn ad accounts, campaigns, ad sets, and creatives with full read/write support.

Features:

  • 7 tools -- production-tested
  • Multi-account management (multiple LinkedIn ad accounts)
  • Campaign and campaign group listing
  • Account and campaign performance analytics
  • Flexible pivot-based reporting (demographics, device, creative breakdowns)
  • Landing page click-based CTR (not total clicks)

Stats:

  • ⭐ Production-proven: active campaigns under management
  • 📊 Multi-client: per-client config, no client data in repo
  • 🔄 CTR accuracy: Uses landingPageClicks (not total clicks with engagement)
  • ✅ Full test coverage: 40+ contract tests

Installation

npm install mcp-linkedin-ads

Configuration

Security: Never share your .mcp.json file or commit it to git -- it may contain API credentials. Add .mcp.json to your .gitignore.

  1. Get OAuth credentials:
  • Go to LinkedIn Developer Portal
  • Create a new app with "Sign In with LinkedIn" + "Marketing Developer Platform"
  • Scopes: r_ads, rw_ads, w_member_social, r_organization_social, w_organization_social
  1. Create `config.json`:
   cp config.example.json config.json
  1. Fill in your credentials:
   {

"oauth": { "client_id": "YOUR_CLIENT_ID", "client_secret": "YOUR_CLIENT_SECRET" }, "clients": { "default": { "account_id": "YOUR_AD_ACCOUNT_ID", "name": "My Account" } } }

  1. Set environment variables (recommended for production):
   export LINKEDIN_ADS_CLIENT_ID="your_client_id"

export LINKEDIN_ADS_CLIENT_SECRET="your_client_secret" export LINKEDIN_ADS_ACCESS_TOKEN="your_access_token"

Environment variables
VariableRequiredDefaultPurpose
LINKEDIN_ADS_CLIENT_IDyes--OAuth client ID
LINKEDIN_ADS_CLIENT_SECRETyes--OAuth client secret
LINKEDIN_ADS_ACCESS_TOKENyes--OAuth access token
LINKEDIN_ADS_REFRESH_TOKENoptional--OAuth refresh token (rotated automatically when set)
LINKEDIN_ADS_MCP_WRITEoptionalfalseSet to true to expose mutating tools. Read-only by default.
Read-only by default

Write tools (currently linkedin_ads_create_predictive_audience and linkedin_ads_update_predictive_audience) are hidden from ListTools and refused at call time unless LINKEDIN_ADS_MCP_WRITE=true is set in the MCP server environment. This mirrors the Google Ads MCP gate. Motivation: prevent a casual LLM request from mutating production ad accounts without the operator explicitly opting in.

Each write also requires account_id and confirm_account_id set to the same id. The account is never resolved from the working directory or a default, and an update refuses a segment owned by a different account. Every write reads the object back and returns any field that did not stick as mismatches.

Predictive audiences (lookalikes)
ToolKind
linkedin_ads_list_predictive_audiencesread — every predictive audience in an account, with locations, seeds, size, build status
linkedin_ads_get_predictive_audienceread — one audience by parent DMP segment id
linkedin_ads_create_predictive_audiencewrite — parent DMP segment + audience, then read-back; dry_run supported
linkedin_ads_update_predictive_audiencewrite — partial update of name, locations, seeds, desired size; dry_run supported

Requirements and behaviour (verified live 2026-11-05):

  • The token needs the rw_dmp_segments scope (included in config.example.json). LinkedIn grants DMP write access per developer app.
  • These calls use LinkedIn-Version: 202607 regardless of api.version; the audience endpoints 404 at 202604.
  • desired_audience_count and at least one urn:li:geo: location are required on create.
  • Freshly created audiences 404 their POST/PATCH for a few seconds, and reads lag writes; the tools retry 404s and re-read before reporting a mismatch.
  • If create fails after the parent segment exists, the error names it; retry with existing_dmp_segment_id instead of creating a second parent.
  • Segments created after early September 2026 cannot be attached to campaigns through the API in our testing; attach them in Campaign Manager.

Usage

Start the server
npm start
Use with Claude Code

Add to ~/.claude.json:

{

"mcpServers": { "linkedin-ads": { "type": "http", "url": "http://localhost:3001" } } }

Claude Desktop: Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows).

Example API Calls
// Get client context

linkedin_ads_get_client_context({ working_directory: "/path/to/project" })

// List campaigns linkedin_ads_list_campaigns({ account_id: "511664399" })

// Get campaign performance linkedin_ads_campaign_performance({ start_date: "2026-01-01", end_date: "2026-03-31", time_granularity: "MONTHLY" })

// Flexible analytics (e.g. by seniority) linkedin_ads_analytics({ start_date: "2026-03-01", end_date: "2026-03-31", pivot: "MEMBER_SENIORITY" })

Key Data Conventions

CTR Calculation
  • Always use landingPageClicks (LP clicks), NOT clicks (total clicks)
  • Total clicks include social engagement (likes, comments, shares) which inflates CTR
  • This is critical for accurate campaign analysis
Campaign Status
  • DRAFT — Not yet active
  • ACTIVE — Actively serving
  • PAUSED — Paused manually
  • ARCHIVED — Historical record
Audience Targeting
  • Flexible targeting: flexible_spec array (OR logic between items)
  • Exclude targeting: exclude_spec array
  • Job titles, seniority levels, functions, locations all supported

CLI Tools

npm run dev                 # Run in dev mode (tsx)

npm run build # Compile TypeScript npm test # Run contract tests

Architecture

Files:

  • src/index.ts — MCP server, OAuth flow, tool handlers
  • src/tools.ts — Tool schema definitions
  • src/errors.ts — Error handling & classification
  • config.json — Credentials & client mapping

Error Handling:

  • OAuth errors: Clear messages for token refresh needed
  • Rate limits: Automatic retry with backoff (recommended by LinkedIn)
  • Invalid campaigns: Validation before creation (save API quota)

Development

Adding a New Tool
  1. Define schema in src/tools.ts
  2. Add handler in src/index.ts tool dispatch
  3. Test with contract test in .contract.test.ts
  4. Document in here
Testing
npm test -- --run        # Single run

npm test -- --watch # Watch mode

Troubleshooting

Config file not found
cp config.example.json config.json

Fill in your OAuth credentials and account IDs

Missing required credentials

Check that:

  • LINKEDIN_ADS_CLIENT_ID and LINKEDIN_ADS_CLIENT_SECRET are set (or in config.json)
  • config.json exists and contains at least one client with account_id
  • OAuth tokens are valid (they expire)
Rate limit exceeded

LinkedIn enforces strict rate limits. The server includes automatic retry with exponential backoff. If you hit limits:

  • Wait before retrying
  • Batch operations when possible
  • Reduce query frequency
CTR seems too low

Verify you're using landingPageClicks (LP clicks), not clicks (all interactions). The latter includes social engagement and will inflate CTR incorrectly.

License

MIT

Contributing

Contributions welcome! Please:

  1. Add tests for new tools
  2. Update README with new features
  3. Follow existing code style
  4. Tag release with version

Support

  • Issues: GitHub issues for bugs/feature requests
  • Docs: See docs/ folder for detailed API reference
  • Community: Discussions in GitHub

Built By

[Mark Harnett](https://www.linkedin.com/in/markharnett/) — Demand generation leader and paid media practitioner building AI-powered ad management tools. This server was born from managing LinkedIn campaigns across multiple clients and wanting Claude to handle campaign ops, performance analysis, and bulk creative updates autonomously.

Built with production workloads in mind: resilient API calls (circuit breakers, retry with backoff, response truncation), accurate CTR calculation (landing page clicks, not total clicks), and multi-account support.

Also by Mark: mcp-bing-ads -- Bing/Microsoft Ads MCP server with 10 tools.

Last Updated: 2026-03-13

Pregunta a PopNx