LinkedIn MCP Server
for AI Agents
Connect your AI agent to StackOne's LinkedIn MCP server and give it 27 MCP tools out of the box. Auth, tool execution, and security all managed.
Coverage
27 Agent Actions
Extend your agent's capabilities with custom actions.
Authentication
Agent Tool Authentication
Per-user OAuth in one call. Your LinkedIn MCP server gets session-scoped tokens with zero credentials stored on your infra.
Agent Auth →Security
Agent Protection
Every LinkedIn tool response scanned for prompt injection in milliseconds — 88.7% accuracy, all running on CPU.
Prompt Injection Defense →Performance
Max Agent Context. Min Cost.
Free up to 96% of your agent's context window to enhance reasoning and reduce cost, on every LinkedIn call.
Tools Discovery →What is the LinkedIn MCP Server?
A LinkedIn MCP server lets AI agents work with LinkedIn data through the Model Context Protocol, Anthropic's open standard for connecting LLMs to external tools. StackOne's LinkedIn MCP server ships with 27 pre-built actions, fully extensible via the Connector Builder, plus managed authentication, prompt injection defense, observability, and agent execution runtime. Connect it from MCP clients like Claude Desktop, Claude Code, Cursor, Goose, and VS Code, or from agent frameworks like OpenAI Agents SDK, LangChain, and Vercel AI SDK.
All LinkedIn MCP Tools
Every StackOne action for LinkedIn, ready for your agent. Scoped to exactly what you need.
Images
- Upload Image
Upload an image file to the upload URL returned by register_upload or initialize_image_upload.
- Get Image
Retrieve an image's status, owner and download URL by its image URN.
- Batch Get Images
Retrieve several images in one call by their image URNs.
Videos
- Upload Video
Upload a video file, or one part of a multi-part video upload, to an upload URL returned by initialize_video_upload or register_upload.
- Get Video
Retrieve a video's status, duration, thumbnail and download URL by its video URN.
- Batch Get Videos
Retrieve several videos in one call by their video URNs.
Documents
- Upload Document
Upload a document file to the upload URL returned by initialize_document_upload.
- Get Document
Retrieve a document's status, owner and download URL by its document URN.
- Batch Get Documents
Retrieve several documents in one call by their document URNs.
Posts
- Create Post
Create a post on LinkedIn as a member or an organization, including reshares, targeted posts and dark posts.
- Get Post
Retrieve a single LinkedIn post by its share or UGC post URN.
- Batch Get Posts
Retrieve several LinkedIn posts in one call by their share or UGC post URNs.
- Update Post
Update the commentary, call to action, landing page, lifecycle state or sponsored content settings of a LinkedIn post.
- Delete Post
Delete a LinkedIn post by its share or UGC post URN.
Other (13)
- Upload Captions
Upload an SRT caption file to the captionsUploadUrl returned by initialize_video_upload.
- Upload Thumbnail
Upload a custom thumbnail image to the thumbnailUploadUrl returned by initialize_video_upload.
- Retrieve Member Details
Retrieve the authenticated member's profile information including their user ID for constructing person URN.
- Retrieve Current Member's Profile
Retrieve the authenticated member's LinkedIn profile with the Profile API.
- Register Upload
Register an image or video upload with the Assets API and get the URL to upload the file to.
- Complete Multi Part Upload
Finish a multi-part video upload once every part has been uploaded.
- Check Status Of Upload
Get an uploaded asset's processing status, recipes and optionally its media artifacts.
- Initialize Document Upload
Start a document upload with the Documents API and get the URL to upload the PDF, PPT, PPTX, DOC or DOCX file to.
- Initialize Image Upload
Start an image upload with the Images API and get the URL to upload the image to.
- Find Posts By Authors
List the posts written by one member or organization, newest first.
- Find Posts By Account
List the Direct Sponsored Content posts that belong to a LinkedIn sponsored ad account.
- Initialize Video Upload
Start a video upload with the Videos API and get the upload URLs for each part, plus caption and thumbnail upload URLs if requested.
- Finalize Video Upload
Finish a video upload once every part has been uploaded, so LinkedIn can process the video.
LinkedIn AI Agent Use Cases
Connect your AI agent to LinkedIn and help your team scale the marketing operations they run by hand today.
Use StackOne to connect your AI agent to your marketing automation, CRM, and email tools to automate lead nurture email sequences.
ViewUse StackOne to connect your AI agent to your marketing automation, email, and analytics platforms to automate campaign performance reporting.
ViewUse StackOne to connect your AI agent to your ATS and job boards to automate job posting distribution.
ViewSet Up Your LinkedIn MCP Server in Minutes
One endpoint. Any framework. Your agent is talking to LinkedIn in under 10 lines of code.
Agent Frameworks
{
"mcpServers": {
"stackone": {
"command": "npx",
"args": [
"-y",
"mcp-remote@latest",
"https://api.stackone.com/mcp?x-account-id=<account_id>",
"--header",
"Authorization: Basic <YOUR_BASE64_TOKEN>"
]
}
}
}Platform Resources
Comparing BM25, TF-IDF, and Hybrid Search for MCP Tool Discovery
Benchmarking BM25, TF-IDF, and hybrid search for MCP tool discovery across 916 tools. The 80/20 TF-IDF/BM25 hybrid hits 21% Top-1 accuracy in under 1ms.
10 min
Indirect Prompt Injection Defense for MCP Tools: A Technical Guide
MCP tools that read emails, CRM records, and tickets are indirect prompt injection vectors. Here's how we built a two-tier defense that scans tool results in ~11ms.
12 min
MCP vs A2A: Architecture, Security, and When to Use Each
MCP vs A2A: what each protocol standardizes, how they differ, their shared security risks including indirect prompt injection, and when to use one, both, or a hybrid architecture.
12 min
MCP vs API: What Hundreds of Connector Builds Taught Us
MCP wraps APIs, it doesn't replace them. After building hundreds of connectors that serve both, here's when each approach wins.
14 min read
LinkedIn MCP Server FAQ
Does StackOne have a LinkedIn MCP server?
LinkedIn MCP server vs direct API integration — what's the difference?
How does LinkedIn authentication work for AI agents?
origin_owner_id.Are LinkedIn MCP tools vulnerable to prompt injection?
What is the context bloat of a LinkedIn agent and how do I avoid it?
Can I limit which actions my LinkedIn agent can access?
Can I create custom agent actions for my LinkedIn MCP server?
When should I NOT use a LinkedIn MCP server?
What AI frameworks and AI clients does the StackOne LinkedIn MCP server support?
Put your AI agents to work
All the tools you need to build and scale AI agent integrations, with best-in-class connectivity, execution, and security.