How to post to LinkedIn from GitHub Copilot

To post to LinkedIn from GitHub Copilot, add PostWire as an MCP server in VS Code (Chat: Open Customizations, MCP Servers, Add Server, HTTP, https://postwire.io/api/mcp, saved under Copilot Global), connect your LinkedIn profile once on LinkedIn's own page, and ask "write a LinkedIn post about this release from CHANGELOG.md and schedule it for Tuesday at 8:30". Copilot writes the post with generate_posts (the hook in the first 210 characters, the link in the first comment), shows it to you, and publishes it with post_to_social or queues it with schedule_post, up to 365 days ahead. You create no LinkedIn developer app: PostWire posts to your personal profile through LinkedIn's official API. The free plan covers it: 1 business, 10 posts a month, 5 AI drafts a day, 2 networks per post, no card.

Copilot already has the repo open, so the changelog, the pull request and the README are its source for the post. VS Code asks before Copilot runs a PostWire tool, and a scheduled post goes out from PostWire's servers with the editor closed, first comment included.

Updated . Written from PostWire's own code; vendor prices read on Nov 13, 2026. Live networks: TikTok, Instagram, YouTube, LinkedIn (personal profiles), Facebook Pages, Bluesky, Mastodon, Telegram, Discord, and X on paid plans.

Set it up and post, step by step

Prompt to copy once LinkedIn is connected: Read CHANGELOG.md and write a first-person LinkedIn post about what we shipped in v3.1 and why, with the release link in the first comment. Show it to me, then schedule it for Tuesday at 8:30 my time.

  1. Add PostWire to Copilot

    In VS Code, pick Copilot as the session target of the chat. Open the Command Palette and run Chat: Open Customizations, choose MCP Servers and press Add Server (+). Choose HTTP, enter https://postwire.io/api/mcp, name the server postwire, and save it under Global, then Copilot Global. That writes the entry to ~/.copilot/mcp-config.json, which Copilot reads in every workspace.

  2. Sign in

    PostWire's server takes an OAuth sign-in or a key. When VS Code asks you to sign in (or from Authenticate in the server's … menu), your browser opens PostWire's page: your email and a 6-digit code, which also creates a free PostWire account if you have none, with no password and no card. If no sign-in prompt appears in your setup, use your key: the block with the key header is on the Facebook guide.

  3. Connect your LinkedIn profile

    Ask Copilot "connect my LinkedIn". It calls create_connect_link and prints a one-hour link; open it, sign in on LinkedIn's own page and press Allow. PostWire asks LinkedIn only for permission to post as you (w_member_social), plus your name and photo to show which profile is connected.

  4. Ask for the post

    "Write the LinkedIn post for the release." Copilot reads the files you name and calls generate_posts, which returns a draft and publishes nothing. It is written for LinkedIn: first person, 1,200 to 1,500 characters when the idea allows, the hook in the first 210 characters (about two lines, what the feed shows before "see more"), very short blocks, 3 hashtags at the end. A link goes in the first comment, not in the body. Ask for changes in plain words until it reads right.

  5. Add images or a PDF, if you want them

    Up to 20 images in one post, or one PDF, PowerPoint or Word file on its own, which LinkedIn shows as a document readers swipe through. LinkedIn fetches files from a link, so a file in your repo goes through an upload page: Copilot asks for one (create_upload_link, up to 100 MB on the free plan and 1 GB on paid plans), you pick the files there, and get_uploaded_file hands Copilot their links. A file that is already online goes as its public https link.

  6. Publish now, or schedule it

    Say "post it" and Copilot calls post_to_social; the result carries the link to the live post and the first comment's status. Say "schedule it for Tuesday at 8:30" and it calls schedule_post, or uses run_at: "next_slot" for your next free posting hour. VS Code shows the call with its inputs; press Allow Once to run it. This is the call:

    {
      "name": "schedule_post",
      "arguments": {
        "platforms": ["linkedin"],
        "per_platform": { "linkedin": {
          "text": "We shipped CSV export for invoices this week.\n\nIt took three tries. …\n\n#buildinpublic #saas #devtools",
          "first_comment": "The release notes: https://example.com/changelog/v3-1"
        } },
        "run_at": "2026-11-17T08:30:00-05:00"
      }
    }
  7. Check the queue

    "What's scheduled on LinkedIn?" calls list_scheduled_posts and "cancel Tuesday's post" calls cancel_scheduled_post; the same queue is on the dashboard's Queue page.

Prefer to set it up by hand? Open the dashboard, connect LinkedIn under Accounts and copy your key under API & MCP. Which file Copilot reads, and a tool list that lets it schedule without publishing on the spot: where Copilot reads MCP servers from. The general editor setup: PostWire in VS Code.

Ways to post to LinkedIn from GitHub Copilot, side by side

How each service plugs into Copilot and what it costs to start, read on its own Copilot, LinkedIn and pricing pages on Nov 13, 2026.

ServiceHow it plugs into CopilotSign-inFree to startLowest monthly plan
PostWireAdd Server, HTTP, https://postwire.io/api/mcp, or a block in ~/.copilot/mcp-config.jsonOAuth sign-in in the browser, or a key header read from an environment variableFree plan with the MCP server: 1 business, 10 posts a month, 5 AI drafts a day, 2 networks per post, no card$19/mo — 3 businesses, every network in each post
Upload-PostA servers block in .vscode/mcp.json with its MCP URLAn API key in a headerFree plan of 10 uploads a month; its free-plan network list names LinkedIn$24/mo — 5 profiles
BlotatoA block in a workspace .mcp.json or ~/.copilot/mcp-config.json with its MCP URLA blotato-api-key header, or OAuth7-day trial with a card; the trial does not include the API or the MCP server$29/mo — 20 social accounts

Checked on Nov 13, 2026 (2026-11-13) on each vendor's own pricing or docs page, linked in the first column and below. Monthly billing in USD unless noted. "Not listed" means we could not find it on their page, not that it is missing.

Where PostWire is ahead

  • The post is written for LinkedIn: generate_posts puts the hook in the first 210 characters, keeps the link out of the body and in the first comment, and writes every other network's version from the same idea in the same request.
  • Copilot can post on the free plan: PostWire's MCP server is part of the free plan, 10 posts a month, no card and no time limit. Blotato's 7-day trial leaves out its API and MCP server.
  • The lowest monthly price here: $19 a month for 3 businesses. Upload-Post $24 for 5 profiles, Blotato $29 for 20 accounts.
  • No key in the config file: sign in through the browser, or reference the key as an environment variable so the file is safe to commit.
  • A week of posts in one call: plan_week drafts up to 7 days of LinkedIn posts, each from a different angle, for you to review before anything is queued.
  • A person approves what Copilot queued: on paid plans, approval rules hold the post until you approve it from an emailed link.
Sources, all read on Nov 13, 2026:
  • Upload-Post — Post to Social Media with GitHub Copilot ("Add one block to mcp.json and Copilot Chat gains 50 tools"; .vscode/mcp.json with "servers", type http, url https://mcp.upload-post.com/mcp and an "Authorization: ApiKey" header; "Start free, no card"; Facebook in its platform list): www.upload-post.com/copilot-social-media/
  • Upload-Post — LinkedIn MCP server ("One hosted server at mcp.upload-post.com/mcp. Sign in with OAuth or paste an Upload-Post API key"; text posts, PDF documents, images and video): www.upload-post.com/mcp/linkedin/
  • Upload-Post llms-full.txt (Free plan: 10 uploads a month, no credit card, "platforms without TikTok (Instagram, LinkedIn, YouTube, Facebook, …)"; Basic $24 a month, 5 profiles): www.upload-post.com/llms-full.txt
  • Blotato — How to Post to Social Media From GitHub Copilot ("Create a workspace .mcp.json, or a user-level ~/.copilot/mcp-config.json"; type http, url https://mcp.blotato.com/mcp, "authenticate with either a blotato-api-key header or the oauth field"): www.blotato.com/ai-agent/github-copilot
  • Blotato pricing ("There's no free plan, but every plan includes a 7-day free trial. A card is required"; "Does the free trial include the API and MCP? No."; Starter $29 a month, 20 social media accounts): www.blotato.com/pricing
  • VS Code docs — Add and use MCP servers (Chat: Open Customizations, MCP Servers, Add Server, HTTP, Global > Copilot Global, "shared across your workspaces and compatible Copilot experiences on the same host, including Copilot CLI"): code.visualstudio.com/docs/agent-customization/mcp-servers
  • VS Code docs — MCP configuration reference (~/.copilot/mcp-config.json and workspace-root .mcp.json with a top-level mcpServers object; .vscode/mcp.json as the editor-managed servers format; the tools field; ${NAME} references in header values): code.visualstudio.com/docs/agents/reference/mcp-configuration
  • VS Code docs — Use custom instructions (project instruction files for Copilot: .github/copilot-instructions.md or AGENTS.md; "Instructions guide the model. They don't guarantee compliance"; Chat: Open Customizations, Instructions tab lists the file): code.visualstudio.com/docs/agent-customization/custom-instructions

What to say in Copilot Chat, and what LinkedIn receives

You sayCopilot callsLinkedIn receives
"Post the v3.1 release notes on my LinkedIn"generate_posts, then post_to_socialA text post, with the link in the first comment
"Post ./docs/launch-deck.pdf with it"create_upload_link, then post_to_socialA document post readers swipe through
"Add the three screenshots in ./assets"create_upload_link, then post_to_social with the imagesOne post with the 3 images
"Schedule it for Tuesday at 8:30"schedule_post with run_atThe same post, at that time
"Plan next week of LinkedIn posts about the launch"plan_weekUp to 7 days of posts, a different angle each day
"Post a tip every Monday at 9"create_recurring_post (paid plans)The post, every Monday at 9

Source: PostWire's MCP server and LinkedIn publisher, read Nov 13, 2026. Every LinkedIn tool and limit: LinkedIn MCP server.

Keep your LinkedIn voice in copilot-instructions.md

VS Code's docs list two project instruction files for Copilot: .github/copilot-instructions.md and AGENTS.md. Copilot includes them in its requests for that repo, so the rules for your LinkedIn posts are written once and shared with the team through source control. "Post the release on LinkedIn" then comes out in your voice, with no prompt to paste:

## LinkedIn posts (postwire tools)
- First person, as the founder.
- Plain words. No "thrilled to announce".
- Start from what changed for the
  customer, then how we built it.
- Versions and dates come from
  CHANGELOG.md. Never invent a metric.
- The link goes in first_comment,
  never in the post text.
- Always show me the draft first.
- Schedule for 8:30 on a weekday with
  schedule_post. Call post_to_social
  only when I say "post it now".

Copilot passes your angle to generate_posts, which adds LinkedIn's own shape: the hook in the first 210 characters, short blocks, 3 hashtags. To check that the file is picked up, run Chat: Open Customizations, open Instructions and confirm it is listed, then try it in a new chat. VS Code's docs are plain about the limit: instructions guide the model and do not guarantee it follows them, which is why the last rules ask for the draft first.

Source: VS Code's custom instructions docs, read Nov 13, 2026.

LinkedIn's rules Copilot works within

  • Up to 3,000 characters in the post and 1,250 in the first comment. If the first comment fails, the post stays published and the comment is retried.
  • Images or a document, not both: 1 to 20 images, or one PDF, PowerPoint or Word file on its own.
  • Your personal profile, through LinkedIn's official API and the permission you grant on LinkedIn's own page. No browser automation and no password.

What Starter ($19 a month) adds for LinkedIn

Three LinkedIn posts a week is about 13 a month, past the free plan's 10 and its 3 waiting posts. With Starter:

  • No limit on the queue and 1,000 posts a month, so a whole month of LinkedIn posts can wait in line.
  • 25 recurring posts (create_recurring_post), for the weekly slot you never want to miss.
  • 3 businesses, each with its own LinkedIn profile and its own networks, plus every network in each post.
  • Approvals: what Copilot queues waits until you approve it from an emailed link.

Paid plans have a 14-day refund.

What it does not do

PostWire posts to personal LinkedIn profiles. It does not post to company pages, it does not upload video to LinkedIn, and it does not read or answer comments or messages. To post a video, send it to YouTube, TikTok or Instagram in the same request. This guide is for GitHub Copilot in VS Code; Microsoft 365 Copilot and the Copilot apps in Windows and Edge are different products, and this page makes no claim about them.

Questions people ask

Can GitHub Copilot post to LinkedIn?

Yes, in VS Code with an MCP server. Copilot has no LinkedIn access of its own; with PostWire added as an MCP server under Copilot Global and your LinkedIn profile connected once, it writes the post and publishes or schedules it on your personal profile when you ask.

Can Copilot schedule LinkedIn posts?

Yes. It calls schedule_post with a time up to 365 days ahead, or "next_slot" for your next free posting hour, and PostWire publishes the post at that time with VS Code closed, first comment included. The free plan keeps 3 posts waiting at once; paid plans have no such limit.

Do I need a LinkedIn developer app or API key?

No. PostWire's own LinkedIn app does the posting: you sign in on LinkedIn's page and press Allow. VS Code holds only a PostWire sign-in, made with your email and a 6-digit code, or your PostWire key in an environment variable.

How do I make Copilot write LinkedIn posts in my voice?

Write your rules in .github/copilot-instructions.md or AGENTS.md, the project instruction files VS Code's docs list for Copilot. Say who is speaking, which words to avoid, that the link goes in the first comment, and that Copilot shows the draft before it schedules.

Can Copilot post a PDF carousel to LinkedIn?

Yes. One PDF, PowerPoint or Word file is posted as a LinkedIn document readers swipe through, or up to 20 images in one post. A file in your repo goes through an upload page that Copilot asks for. Video is not posted to LinkedIn.

Can it post to a LinkedIn company page?

Not through PostWire: it posts to personal LinkedIn profiles. The same idea can go to Bluesky, a Facebook Page, X (on paid plans) and the other networks in the same request.

Does this work with Microsoft 365 Copilot?

This guide covers GitHub Copilot in VS Code. Microsoft 365 Copilot and the Copilot apps in Windows and Edge are different products and this page makes no claim about them. In the browser, Claude and ChatGPT have PostWire in their app directories: see the Claude and ChatGPT guides.

How much does it cost?

The free plan includes LinkedIn and the MCP server: 1 business, 10 posts a month, 5 AI drafts a day, 2 networks per post, no card. Starter is $19 a month for 3 businesses and Pro $29 for 10, with every network in each post. Paid plans have a 14-day refund. GitHub Copilot itself is billed by GitHub.