Skip to content

LinkedIn MCP server

Let Claude, Codex or Cursor schedule LinkedIn posts to your profile or company page, cross-post to five more platforms and read analytics over MCP.

What is the aghost LinkedIn MCP server?

aghost's LinkedIn MCP server lets Claude, Codex, Cursor or another MCP client schedule posts to your LinkedIn profile or company page, edit them before they publish and read impressions, engagement and clicks. One request can post the same update to Instagram, Facebook, X, Threads and YouTube, each with its own caption.

Connect it at https://aghost.app/api/mcp. It’s included on every plan.

What your agent can do

  • Schedule a post here and on your other channels in one request, with its own caption for each
  • Edit, reschedule or cancel a post before it publishes
  • Read account and post analytics for the last 7, 30 or 90 days
  • Suggest posting times from the account's history

What it can post

  • Text posts up to 3,000 characters
  • Up to 10 photos in a post, or one video

JPEG or PNG photos up to 20 MB and MP4 or MOV videos up to 300 MB, scheduled at least 5 minutes ahead.

To connect: A personal profile or an organization page. You choose it while connecting.

Limits and metrics

Caption
3,000 characters
Media
Up to 10 photos, or one video
Text-only posts
Yes
Metrics
impressions, reach, views, likes, comments, shares, saves, clicks

Every copy is checked against these limits before anything is scheduled.

Connect once. Then ask.

Choose a plan and connect your channels in Settings → Channels first. Your agent connects in one of two ways.

Sign in

Apps with MCP sign-in

In Claude, open Customize → Connectors → Add custom connector and paste the URL. Leave the client ID and secret empty, then choose Allow in aghost.

https://aghost.app/api/mcp
API key

Claude Code, Codex, Cursor and others

Create a key in Settings → API and keep it in your agent’s environment or secret store. The setup skill has each client’s steps.

{
  "mcpServers": {
    "aghost": {
      "type": "http",
      "url": "https://aghost.app/api/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}

Ask your agent about LinkedIn

Supply your own media and links, then review the result in aghost. Scheduled posts publish at their time.

  • Turn an announcement into a post

    “Rewrite this announcement for LinkedIn and schedule it for Tuesday at 8 AM with these three photos. Show me the post first.”
  • Plan the week

    “Schedule these five posts on LinkedIn and X, one each weekday at 9 AM. Give the X copies their own shorter captions.”
  • Find what worked

    “Which LinkedIn posts from the last 90 days got the most impressions and comments? What do they have in common?”

MCP tools it uses

  • list_accounts
  • cross_post
  • list_scheduled_posts
  • update_scheduled_post
  • delete_scheduled_post
  • create_media_upload
  • create_upload_link
  • get_account_insights
  • list_content_insights
  • get_posting_times

The same workspace API key works with the REST API:

https://aghost.app/api/v1

Keep the keys

Agents cannot create API keys, change workspace settings, or connect or disconnect accounts. Revoke a key or an app in Settings → API whenever you’re finished.

What your agent can access

Frequently asked questions

Can my agent post to a LinkedIn company page?

Yes. Connect an organization page instead of a personal profile.

Can it post PDF document carousels?

No. Posts take JPEG or PNG photos, or one MP4 or MOV video.

Which LinkedIn metrics can my agent read?

Impressions, reach, views, likes, comments, shares, saves and clicks. LinkedIn reports saves for personal profiles only and clicks for organization pages only.

Which AI agents can use it?

Claude, Claude Code, Codex, Cursor, or any MCP client over HTTP. Apps with MCP sign-in need only the URL; other clients send a workspace API key.

How much does it cost?

MCP access is included on every aghost plan, from $29/month, with a 7-day free trial.

Your audience is everywhere. Be there with one post.

Six platforms. Every comment answered. One workspace.