4,000+ servers built on MCP Fusion
Vinkius
Mastra AISDK
Mastra AI
Why use LinkedIn Ads MCP Server with Mastra AI?

Bring Ad Campaigns
to Mastra AI

Create your Vinkius account to connect LinkedIn Ads to Mastra AI and start using all 8 AI tools in minutes. Fully managed, enterprise secure, and ready to use without writing a single line of code. No hosting, no server setup — just connect and start using.

MCP Inspector GDPR Free for Subscribers
Enable CampaignGet Account AnalyticsGet Account InfoGet Campaign AnalyticsList Campaign GroupsList CampaignsList CreativesPause Campaign
ChatGPT Claude Perplexity

Compatible with every major AI agent and IDE

ClaudeClaude
ChatGPTChatGPT
CursorCursor
GeminiGemini
WindsurfWindsurf
VS CodeVS Code
JetBrainsJetBrains
VercelVercel
+ other MCP clients
LinkedIn Ads

What is the LinkedIn Ads MCP Server?

Connect LinkedIn Ads to your AI agent and manage your B2B advertising campaigns conversationally.

What you can do

  • Campaign Management — List, create, update, and pause campaigns, campaign groups, and creatives.
  • B2B Analytics — Pull impressions, clicks, CTR, CPC, leads, and cost-per-lead metrics.
  • Audience Targeting — Query targeting by job title, company, industry, seniority, and matched audiences.
  • Lead Gen Forms — Access lead gen form submissions and sync leads to your CRM.

How it works

  1. Subscribe to the LinkedIn Ads integration on the marketplace.
  2. Create an app in the LinkedIn Developer Portal (developer.linkedin.com → My Apps → Create App).
  3. Ask your AI agent to manage campaigns, pull reports, or download leads.

Who is this for?

  • B2B Marketers — Monitor and optimize LinkedIn ad spend targeting professionals and decision-makers.
  • Demand Gen Teams — Track lead gen form submissions and campaign ROI conversationally.
  • Agencies — Manage multiple client LinkedIn advertising accounts from one interface.

Built-in capabilities (8)

enable_campaign

Enable campaign

get_account_analytics

Get account analytics

get_account_info

Get ad account info

get_campaign_analytics

Get campaign analytics

list_campaign_groups

List campaign groups

list_campaigns

List campaigns

list_creatives

List ad creatives

pause_campaign

Pause campaign

Why Mastra AI?

Mastra's agent abstraction provides a clean separation between LLM logic and LinkedIn Ads tool infrastructure. Connect 8 tools through Vinkius and use Mastra's built-in workflow engine to chain tool calls with conditional logic, retries, and parallel execution. deployable to any Node.js host in one command.

  • Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add LinkedIn Ads without touching business code

  • Built-in workflow engine chains MCP tool calls with conditional logic, retries, and parallel execution for complex automation

  • TypeScript-native: full type inference for every LinkedIn Ads tool response with IDE autocomplete and compile-time checks

  • One-command deployment to any Node.js host. Vercel, Railway, Fly.io, or your own infrastructure

M
See it in action

LinkedIn Ads in Mastra AI

AI AgentVinkius
High Security·Kill Switch·Plug and Play
Enterprise Security

Why run LinkedIn Ads with Vinkius?

The LinkedIn Ads connection runs on our fully managed, secure cloud infrastructure. We handle the hosting, maintenance, and security so you don't have to deal with servers or code. All 8 tools are ready to work instantly without any complex setup.

You stay in complete control of your data. Your AI only accesses the information you approve, keeping your sensitive passwords and private details completely safe. Plus, with automatic optimizations, your AI works faster and more efficiently.

LinkedIn Ads
Fully ManagedNo server setup
Plug & PlayNo coding needed
SecurePrivacy protected
PrivateYour data is safe
Cost ControlBudget limits
Control1-click disconnect
Auto-UpdatesMaintenance free
High SpeedOptimized for AI
Reliable99.9% uptime
Your credentials and connection tokens are fully encrypted

* Every connection is hosted and maintained by Vinkius. We handle the security, updates, and infrastructure so you don't have to write code or manage servers. See our infrastructure

01 / Catalog

Over 4,000 integrations ready for AI agents

Explore a vast library of pre-built integrations, optimized and ready to deploy.

02 / Credentials

Connect securely in under 30 seconds

Generate tokens to authenticate and link external services in a single step.

03 / Guardian

Complete visibility into every agent action

Audit live requests, latency, success rates, and active security compliance policies.

04 / FinOps

Optimize spending and track token ROI

Analyze real-time token consumption and cost metrics detailed by connection.

Over 4,000 integrations ready for AI agents
Connect securely in under 30 seconds
Complete visibility into every agent action
Optimize spending and track token ROI

Explore our live AI Agents Analytics dashboard to see it all working

This dashboard is included when you connect LinkedIn Ads using Vinkius. You will never be left in the dark about what your AI agents are doing with your tools.

Why Vinkius

LinkedIn Ads and 4,000+ other AI tools. No hosting, no code, ready to use.

Professionals who connect LinkedIn Ads to Mastra AI through Vinkius don't need to write code, manage servers, or worry about security. Everything is pre-configured, secure, and runs automatically in the background.

4,000+MCP Integrations
<40msResponse time
100%Fully managed
Raw MCP
Vinkius
Ready-to-use MCPsFind and configure each manually4,000+ MCPs ready to use
Connection SetupManual coding & server setup1-click instant connection
Server HostingYou host it yourself (needs 24/7 uptime)100% hosted & managed by Vinkius
Security & PrivacyStored in plaintext config filesBank-grade encrypted vault
Activity VisibilityBlind execution (no logs or tracking)Live dashboard with real-time logs
Cost ControlRunaway AI token spend riskAutomatic budget limits
Revoking AccessMust delete files or code to stop1-click disconnect button
The Vinkius Advantage

How Vinkius secures LinkedIn Ads for Mastra AI

Every request between Mastra AI and LinkedIn Ads is protected by our secure gateway. We automatically keep your sensitive data private, prevent unauthorized access, and let you disconnect instantly at any time.

< 40msCold start
Ed25519Signed audit chain
60%Token savings
FAQ

Frequently asked questions

01

How do I get my LinkedIn Ads API credentials?

  1. Go to developer.linkedin.com and log in with your LinkedIn account.
  2. Click My AppsCreate App.
  3. Fill in your app name, company LinkedIn page, and logo.
  4. Under the Products tab, request access to Marketing Developer Platform.
  5. After approval, go to the Auth tab and copy your Client ID and Client Secret.
  6. Paste both values below.

⚠️ Access to the Marketing API requires approval from LinkedIn (typically 1-5 business days).

02

Can I download lead gen form submissions?

Yes. Your AI agent can pull all lead gen form submissions including names, emails, job titles, and custom fields — ready to sync to your CRM or outreach tool.

03

What targeting criteria can I use?

LinkedIn offers the most precise B2B targeting: job title, job function, seniority, company name, company size, industry, skills, education, and matched audiences (ABM lists, retargeting, lookalikes).

04

Can I track cost-per-lead (CPL)?

Yes. Your AI agent calculates CPL by dividing total spend by leads generated — broken down by campaign, ad group, or creative. Essential for B2B marketers optimizing demand gen budgets.

05

How does Mastra AI connect to MCP servers?

Create an MCPClient with the server URL and pass it to your agent. Mastra discovers all tools and makes them available with full TypeScript types.

06

Can Mastra agents use tools from multiple servers?

Yes. Pass multiple MCP clients to the agent constructor. Mastra merges all tool schemas and the agent can call any tool from any server.

07

Does Mastra support workflow orchestration?

Yes. Mastra has a built-in workflow engine that lets you chain MCP tool calls with branching logic, error handling, and parallel execution.

08

createMCPClient not exported

Install: npm install @mastra/mcp

Explore More MCP Servers

View all →