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.
Compatible with every major AI agent and IDE
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
- Subscribe to the LinkedIn Ads integration on the marketplace.
- Create an app in the LinkedIn Developer Portal (developer.linkedin.com → My Apps → Create App).
- 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
Get account analytics
Get ad account info
Get campaign analytics
List campaign groups
List campaigns
List ad creatives
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
LinkedIn Ads in Mastra AI
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.

* 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
Over 4,000 integrations ready for AI agents
Explore a vast library of pre-built integrations, optimized and ready to deploy.
Connect securely in under 30 seconds
Generate tokens to authenticate and link external services in a single step.
Complete visibility into every agent action
Audit live requests, latency, success rates, and active security compliance policies.
Optimize spending and track token ROI
Analyze real-time token consumption and cost metrics detailed by connection.




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.
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.
Raw MCP | Vinkius | |
|---|---|---|
| Ready-to-use MCPs | Find and configure each manually | 4,000+ MCPs ready to use |
| Connection Setup | Manual coding & server setup | 1-click instant connection |
| Server Hosting | You host it yourself (needs 24/7 uptime) | 100% hosted & managed by Vinkius |
| Security & Privacy | Stored in plaintext config files | Bank-grade encrypted vault |
| Activity Visibility | Blind execution (no logs or tracking) | Live dashboard with real-time logs |
| Cost Control | Runaway AI token spend risk | Automatic budget limits |
| Revoking Access | Must delete files or code to stop | 1-click disconnect button |
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.
Frequently asked questions
How do I get my LinkedIn Ads API credentials?
- Go to developer.linkedin.com and log in with your LinkedIn account.
- Click My Apps → Create App.
- Fill in your app name, company LinkedIn page, and logo.
- Under the Products tab, request access to Marketing Developer Platform.
- After approval, go to the Auth tab and copy your Client ID and Client Secret.
- Paste both values below.
⚠️ Access to the Marketing API requires approval from LinkedIn (typically 1-5 business days).
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.
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).
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.
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.
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.
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.
createMCPClient not exported
Install: npm install @mastra/mcp
Explore More MCP Servers
View all →
Flux Markets
9 toolsAccess energy market data, live pricing, and proprietary trade insights from Flux Markets.

Dotcom-Monitor
6 toolsMonitor website uptime, page load speed, and server health from multiple global locations with instant alert notifications.

Apaleo
10 toolsManage hotel reservations, properties, rooms, rate plans, folios, invoices, and availability for your Apaleo PMS through natural conversation.

Dailymotion Alternative
9 toolsManage your Dailymotion account — audit videos, playlists, and followers via AI.
