How to post to a Facebook Page from GitHub Copilot

To post to Facebook 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), tick your Facebook Page once on Facebook's own screen, and ask "post the release note to our Facebook Page". Copilot writes the post with generate_posts (short, with the hook in the first 125 characters), shows it to you, and publishes it with post_to_social or queues it with schedule_post, as text, a photo or a video. You create no Meta developer app and hold no Page token: PostWire posts through Facebook's Graph API with its own approved app. The free plan includes Facebook Pages: 1 business, 10 posts a month, 5 AI drafts a day, 2 networks per post, no card.

VS Code asks before Copilot runs a PostWire tool, so nothing reaches your Page until you allow it. A scheduled post goes out from PostWire's servers with the editor closed, and the same request can carry the LinkedIn, Instagram or Bluesky version of the news.

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 your Page is connected: Read CHANGELOG.md, write a Facebook post about what changed for customers in v2.4, show it to me, and schedule it for Friday at 9am with ./assets/v2-4.png.

  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. MCP: Add Server in the Command Palette starts the same guided flow. The URL is PostWire's hosted server: there is nothing to install and no Node process to run.

  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 instead: the block is in the config section below.

  3. Connect your Facebook Page

    Ask Copilot "connect my Facebook Page". It calls create_connect_link and prints a one-hour link; open it and choose Facebook. Facebook shows "Continue as <your name>", then asks which Pages PostWire may use: tick the Page and press Save. Pages you manage directly and Pages inside a Business Portfolio both appear. PostWire never sees your Facebook password.

  4. Ask for the post and read the draft

    "Write the Facebook post for the v2.4 release from CHANGELOG.md." Copilot reads the file from your workspace and calls generate_posts, which returns a draft and publishes nothing. It is written for Facebook: 40 to 80 characters when the idea allows and under 250 otherwise, the hook in the first 125 characters (where the mobile feed cuts), 1 to 3 hashtags, and a link can stay in the body. Ask for the LinkedIn or Bluesky version in the same sentence and each comes back written for its own network.

  5. Add a photo or a video

    A public https link goes straight into photo_url or video_url. A file in your repo goes through an upload page: Copilot asks for one (create_upload_link), you pick the file there, up to 100 MB on the free plan and 1 GB on paid plans, and get_uploaded_file hands Copilot its link.

  6. Post now, or schedule it

    Say "post it" and Copilot calls post_to_social. Say "schedule it for Friday at 9am" and it calls schedule_post, up to 365 days ahead, or with 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": ["facebook"],
        "per_platform": { "facebook": {
          "text": "v2.4 is out: dark mode and 2x faster sync. Notes: example.com/changelog #release"
        } },
        "photo_url": "https://postwire.io/m/…/v2-4.png",
        "run_at": "2026-11-20T09:00:00-05:00"
      }
    }
  7. Check that it went out

    The result lists Facebook with ok, the Page it went to and the post's link (https://facebook.com/…); get_post_status returns it later too. If Facebook refuses the post, the result carries what happened and the fix.

"What's scheduled on Facebook?" calls list_scheduled_posts and "cancel Friday'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 your Page under Accounts and copy your key under API & MCP. The general editor setup: PostWire in VS Code.

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

How each service plugs into Copilot and what it costs to start, read on its own Copilot 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 Facebook$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

  • 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, each with its own Page. 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.
  • The post is written for Facebook: generate_posts writes the short Page post with its hook in the first 125 characters and, from the same release note, the LinkedIn post and the Bluesky post in one call.
  • A draft-and-schedule setup in six lines: PostWire keeps publishing now (post_to_social) and scheduling (schedule_post) as separate tools, so the tools list can allow one without the other.
  • 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 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 — Manage and troubleshoot MCP servers (the Authenticate action; "use the server's tools list to limit which tools are available"): code.visualstudio.com/docs/agents/run/manage-mcp-servers

Where Copilot reads MCP servers from (VS Code docs, Nov 2026)

VS Code's MCP documentation, approved on Nov 11, 2026, names two files that Copilot reads directly. Both use a top-level mcpServers object:

FileWho gets the serverTop-level key
~/.copilot/mcp-config.json (Copilot Global)You, in every workspace, and Copilot CLI on the same machinemcpServers
.mcp.json at the workspace rootEveryone who opens the repomcpServers
.vscode/mcp.json or the profile's mcp.jsonThe older editor-managed format; VS Code can forward eligible entries to Copilotservers

So one entry in ~/.copilot/mcp-config.json gives PostWire to Copilot in VS Code and to Copilot CLI. This block signs in with your PostWire key and gives Copilot only the tools a posting job needs:

{
  "mcpServers": {
    "postwire": {
      "type": "http",
      "url": "https://postwire.io/api/mcp",
      "headers": {
        "Authorization": "Bearer ${POSTWIRE_API_KEY}"
      },
      "tools": ["generate_posts",
                "create_upload_link",
                "get_uploaded_file",
                "schedule_post",
                "list_scheduled_posts",
                "cancel_scheduled_post"]
    }
  }
}
  • The key stays out of the file: ${POSTWIRE_API_KEY} is read from your environment, so the file can be shared. Copy the key in the dashboard under API & MCP and set it as an environment variable where VS Code runs.
  • tools is an allowlist: ["*"] gives Copilot every PostWire tool. The list above leaves out post_to_social, so Copilot can draft and schedule and cannot publish on the spot: every post waits in the queue, where you can still cancel it.
  • Approvals still apply: VS Code's docs say the tools list "doesn't bypass tool approvals". You still see each call before it runs.

Sources: VS Code's Add and use MCP servers and MCP configuration reference, read Nov 13, 2026.

What to say in Copilot Chat, and what Facebook receives

You sayCopilot callsFacebook receives
"Post the v2.4 release note to our Page"generate_posts, then post_to_socialA text post on your Page
"Post ./assets/v2-4.png with it"create_upload_link, then post_to_social with photo_urlA photo post with its caption
"Post the demo video from ./media/demo.mp4"create_upload_link, then post_to_social with video_urlA video post with its description
"Schedule it for Friday at 9am"schedule_post with run_atThe same post, at that time
"Announce every release on Facebook and LinkedIn"generate_posts, then schedule_post with both networksThe Facebook version; LinkedIn gets its own
"Post the opening hours every Monday at 8"create_recurring_post (paid plans)The post, every Monday at 8

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

Facebook's rules Copilot works within

  • Pages, not personal profiles: Facebook lets no app post to a personal profile, so Copilot posts to a Page you manage. No Page yet? Create one at facebook.com/pages/create, then connect it.
  • What a post can be: text alone, a photo with its caption, or a video with its description, up to 2,000 characters in PostWire's Facebook writer.
  • Reels and Stories go through PostWire's REST API with options.facebook.post_type set to "reel" or "story", with the same connected Page: see network options.
  • What Facebook asks you to allow: listing your Pages, creating posts on them and reading their engagement (pages_show_list, pages_manage_posts, pages_read_engagement), plus business_management so a Page inside a Business Portfolio can be found.

What Starter ($19 a month) adds for a Facebook Page

  • No limit on the queue: ask Copilot to schedule a month of Page posts in one go, instead of 3 at a time.
  • 25 recurring posts: create_recurring_post posts "this week's opening hours" every Monday, with versions of the text used in turn.
  • 3 businesses, each with its own Facebook Page and its own networks: name the business in the request and Copilot posts to that Page.
  • Every network in each post: Facebook, Instagram, LinkedIn and the rest from one request, and files up to 1 GB.

Plans and prices: pricing. Paid plans have a 14-day refund.

What it does not do

Copilot with PostWire publishes and schedules posts on your Facebook Page. It does not post to personal profiles or Groups, it does not read or answer comments or Messenger conversations, and it does not create or manage ads. Reels and Stories are a REST option today, not a field of the MCP tools. 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. An organization can also restrict which MCP servers Copilot may use, in which case your admin decides.

Questions people ask

Can GitHub Copilot post to a Facebook Page?

Yes, in VS Code with an MCP server. Copilot has no Facebook access of its own; with PostWire added as an MCP server under Copilot Global and your Page ticked once on Facebook's screen, it writes the post and publishes or schedules it when you ask.

Where does Copilot read MCP servers from in VS Code?

According to VS Code's MCP docs approved on Nov 11, 2026: ~/.copilot/mcp-config.json for you in every workspace (the Copilot Global destination, shared with Copilot CLI) and .mcp.json at the workspace root for a team. Both use a top-level mcpServers object. .vscode/mcp.json, with its servers key, is the older editor-managed format.

Do I need a Meta developer app or a Page access token?

No. You approve PostWire's app on Facebook's own screen and tick the Page it may use. There is no developer app to create, no App Review and no token to copy or refresh.

Can Copilot schedule Facebook 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 it at that time with VS Code closed. The free plan keeps 3 posts waiting at once; paid plans have no such limit.

Can I stop Copilot from publishing without asking me?

Yes, in two ways. VS Code shows each PostWire call and waits for you to allow it. And the tools list of the postwire entry in mcp-config.json is an allowlist: leave post_to_social out and Copilot can only draft and schedule, and a scheduled post can be cancelled from the Queue page before it goes out.

Does it work with Copilot CLI too?

VS Code's docs say the Copilot Global configuration is shared with compatible Copilot experiences on the same machine, Copilot CLI included, so the same postwire entry serves both. The docs do not promise that a sign-in is shared between them; a key read from an environment variable works in both.

Can it post to my personal profile or a Facebook Group?

No. Facebook lets no app post to a personal profile, and PostWire does not post to Groups. Copilot posts to a Facebook Page you manage.

How much does it cost?

The free plan includes Facebook Pages 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, with no limit on the queue and 25 recurring posts; Pro is $29 for 10. Paid plans have a 14-day refund. GitHub Copilot itself is billed by GitHub.