Skip to content
VS Code

facebook pages mcp for VS Code

io.github.lanternrow/facebook-pages-mcp

Facebook Pages organic analytics, post management, and insights via Meta Graph API v25.0.

client:VS Code transport:stdio runtime:npm

Install facebook pages mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "fb-page-access-token",
      "description": "FB_PAGE_ACCESS_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "fb-page-id",
      "description": "FB_PAGE_ID",
      "password": true
    }
  ],
  "servers": {
    "facebook-pages-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "facebook-pages-mcp"
      ],
      "env": {
        "FB_PAGE_ACCESS_TOKEN": "${input:fb-page-access-token}",
        "FB_PAGE_ID": "${input:fb-page-id}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

facebook pages mcp in other clients