Facebook MCP Server & CLI
A free, open source Facebook MCP server and CLI that lets Claude Code, Codex, Cursor and other AI agents read your Page insights, schedule posts and moderate comments.
0,0(0 beoordelingen)- 1
Add it with a single command in a terminal.
claude mcp add facebook \
-- npx -y @thenavidm/facebook-mcp-cli@latest - 2
In Claude Code, type /mcp. Facebook should show as connected.
/mcp
- 1
Add it with a single command in a terminal.
claude mcp add facebook -- npx -y @thenavidm/facebook-mcp-cli@latest - 2
In Claude Code, type /mcp. Facebook should show as connected.
/mcp
- 1
Add it with a single command in a terminal.
claude mcp add facebook \
-- npx -y @thenavidm/facebook-mcp-cli@latest - 2
In Claude Code, type /mcp. Facebook should show as connected.
/mcp
- 1Download the extension
Download the Claude Desktop extension.
- 2
Double-click it, and Claude Desktop installs it.
- 1
Add it with a single command in a terminal.
codex mcp add facebook \
-- npx -y @thenavidm/facebook-mcp-cli@latest - 2
Check that Codex lists it.
codex mcp list
- 1
Add it with a single command in a terminal.
codex mcp add facebook -- npx -y @thenavidm/facebook-mcp-cli@latest - 2
Check that Codex lists it.
codex mcp list
- 1
Add it with a single command in a terminal.
codex mcp add facebook \
-- npx -y @thenavidm/facebook-mcp-cli@latest - 2
Check that Codex lists it.
codex mcp list
- 1
Open Cursor's settings, go to the MCP tab, and click Add new global MCP server.
- 2
Add the server.
{
"mcpServers": {
"facebook": {
"command": "npx",
"args": ["-y", "@thenavidm/facebook-mcp-cli@latest"]
}
}
} - 3
Open the MCP tab again. It should show 15 tools.
- 1
Open the Command Palette and run MCP: Open User Configuration.
- 2
Add the server to that mcp.json.
If the file already has servers, add only this one inside servers.
{
"servers": {
"facebook": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@thenavidm/facebook-mcp-cli@latest"]
}
}
}
- 1
Add it with a single command in a terminal.
copilot mcp add facebook \
-- npx -y @thenavidm/facebook-mcp-cli@latest - 2
Check that Copilot CLI has it.
copilot mcp get facebook
- 1
Add it with a single command in a terminal.
copilot mcp add facebook -- npx -y @thenavidm/facebook-mcp-cli@latest - 2
Check that Copilot CLI has it.
copilot mcp get facebook
- 1
Add it with a single command in a terminal.
copilot mcp add facebook \
-- npx -y @thenavidm/facebook-mcp-cli@latest - 2
Check that Copilot CLI has it.
copilot mcp get facebook
- 1
Open your Gemini CLI settings.
~/.gemini/settings.json - 2
Add the server to settings.json.
If the file already has servers, add only this one inside mcpServers.
{
"mcpServers": {
"facebook": {
"command": "npx",
"args": ["-y", "@thenavidm/facebook-mcp-cli@latest"]
}
}
} - 3
Restart Gemini CLI and type /mcp to check it.
/mcp
- 1
Open your Gemini CLI settings.
%USERPROFILE%\.gemini\settings.json - 2
Add the server to settings.json.
If the file already has servers, add only this one inside mcpServers.
{
"mcpServers": {
"facebook": {
"command": "npx",
"args": ["-y", "@thenavidm/facebook-mcp-cli@latest"]
}
}
} - 3
Restart Gemini CLI and type /mcp to check it.
/mcp
- 1
Open your Gemini CLI settings.
~/.gemini/settings.json - 2
Add the server to settings.json.
If the file already has servers, add only this one inside mcpServers.
{
"mcpServers": {
"facebook": {
"command": "npx",
"args": ["-y", "@thenavidm/facebook-mcp-cli@latest"]
}
}
} - 3
Restart Gemini CLI and type /mcp to check it.
/mcp
- 1
Open your OpenCode config.
~/.config/opencode/opencode.json - 2
Add the server under mcp.
If the file already has servers, add only this one inside mcp.
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"facebook": {
"type": "local",
"command": ["npx", "-y", "@thenavidm/facebook-mcp-cli@latest"],
"enabled": true
}
}
} - 3
Restart OpenCode.
- 1
Open your OpenCode config.
%USERPROFILE%\.config\opencode\opencode.json - 2
Add the server under mcp.
If the file already has servers, add only this one inside mcp.
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"facebook": {
"type": "local",
"command": ["npx", "-y", "@thenavidm/facebook-mcp-cli@latest"],
"enabled": true
}
}
} - 3
Restart OpenCode.
- 1
Open your OpenCode config.
~/.config/opencode/opencode.json - 2
Add the server under mcp.
If the file already has servers, add only this one inside mcp.
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"facebook": {
"type": "local",
"command": ["npx", "-y", "@thenavidm/facebook-mcp-cli@latest"],
"enabled": true
}
}
} - 3
Restart OpenCode.
- 1
Add it with a single command in a terminal.
openclaw mcp add facebook \
--command npx \
--arg -y \
--arg @thenavidm/facebook-mcp-cli@latest - 2
Check that it starts and lists its tools.
openclaw mcp doctor facebook --probe
- 1
Add it with a single command in a terminal.
openclaw mcp add facebook --command npx --arg -y --arg @thenavidm/facebook-mcp-cli@latest - 2
Check that it starts and lists its tools.
openclaw mcp doctor facebook --probe
- 1
Add it with a single command in a terminal.
openclaw mcp add facebook \
--command npx \
--arg -y \
--arg @thenavidm/facebook-mcp-cli@latest - 2
Check that it starts and lists its tools.
openclaw mcp doctor facebook --probe
- 1
In the agent panel, click the … menu, then MCP Servers, Manage MCP Servers and View raw config.
- 2
Add the server to mcp_config.json.
If the file already has servers, add only this one inside mcpServers.
{
"mcpServers": {
"facebook": {
"command": "npx",
"args": ["-y", "@thenavidm/facebook-mcp-cli@latest"]
}
}
}
- 1
Open your Hermes config.
~/.hermes/config.yaml - 2
Add the server under mcp_servers.
If the file already has mcp_servers, add only this one under it.
mcp_servers:
facebook:
command: "npx"
args: ["-y", "@thenavidm/facebook-mcp-cli@latest"]
- 1
Open your Hermes config.
%USERPROFILE%\.hermes\config.yaml - 2
Add the server under mcp_servers.
If the file already has mcp_servers, add only this one under it.
mcp_servers:
facebook:
command: "npx"
args: ["-y", "@thenavidm/facebook-mcp-cli@latest"]
- 1
Open your Hermes config.
~/.hermes/config.yaml - 2
Add the server under mcp_servers.
If the file already has mcp_servers, add only this one under it.
mcp_servers:
facebook:
command: "npx"
args: ["-y", "@thenavidm/facebook-mcp-cli@latest"]
- 1
Install the CLI. It needs Node 22 or newer.
npm install -g @thenavidm/facebook-mcp-cli@latest - 2
Give Claude Code the skill, so it knows every command.
The skill is the SKILL.md in the package. It tells Claude Code what each command does and which ones ask first.
mkdir -p ~/.claude/skills/facebook-mcp
cp "$(npm root -g)/@thenavidm/facebook-mcp-cli/SKILL.md" ~/.claude/skills/facebook-mcp/ - 3
Check your setup.
It names anything that's wrong and the fix.
facebook-cli doctor - 4
Ask Claude Code to use facebook-cli.
Running facebook-cli on its own lists every command, so Claude Code finds the one it needs.
- 1
Install the CLI. It needs Node 22 or newer.
npm install -g @thenavidm/facebook-mcp-cli@latest - 2
Give Claude Code the skill, so it knows every command.
The skill is the SKILL.md in the package. It tells Claude Code what each command does and which ones ask first.
New-Item -ItemType Directory -Force "$HOME\.claude\skills\facebook-mcp" | Out-Null
Copy-Item "$(npm root -g)\@thenavidm\facebook-mcp-cli\SKILL.md" "$HOME\.claude\skills\facebook-mcp\" - 3
Check your setup.
It names anything that's wrong and the fix.
facebook-cli doctor - 4
Ask Claude Code to use facebook-cli.
Running facebook-cli on its own lists every command, so Claude Code finds the one it needs.
- 1
Install the CLI. It needs Node 22 or newer.
npm install -g @thenavidm/facebook-mcp-cli@latest - 2
Give Claude Code the skill, so it knows every command.
The skill is the SKILL.md in the package. It tells Claude Code what each command does and which ones ask first.
mkdir -p ~/.claude/skills/facebook-mcp
cp "$(npm root -g)/@thenavidm/facebook-mcp-cli/SKILL.md" ~/.claude/skills/facebook-mcp/ - 3
Check your setup.
It names anything that's wrong and the fix.
facebook-cli doctor - 4
Ask Claude Code to use facebook-cli.
Running facebook-cli on its own lists every command, so Claude Code finds the one it needs.
- 1
Install the CLI. It needs Node 22 or newer.
npm install -g @thenavidm/facebook-mcp-cli@latest - 2
Give Codex the skill, so it knows every command.
The skill is the SKILL.md in the package. It tells Codex what each command does and which ones ask first.
mkdir -p ~/.agents/skills/facebook-mcp
cp "$(npm root -g)/@thenavidm/facebook-mcp-cli/SKILL.md" ~/.agents/skills/facebook-mcp/ - 3
Check your setup.
It names anything that's wrong and the fix.
facebook-cli doctor - 4
Ask Codex to use facebook-cli.
Running facebook-cli on its own lists every command, so Codex finds the one it needs.
- 1
Install the CLI. It needs Node 22 or newer.
npm install -g @thenavidm/facebook-mcp-cli@latest - 2
Give Codex the skill, so it knows every command.
The skill is the SKILL.md in the package. It tells Codex what each command does and which ones ask first.
New-Item -ItemType Directory -Force "$HOME\.agents\skills\facebook-mcp" | Out-Null
Copy-Item "$(npm root -g)\@thenavidm\facebook-mcp-cli\SKILL.md" "$HOME\.agents\skills\facebook-mcp\" - 3
Check your setup.
It names anything that's wrong and the fix.
facebook-cli doctor - 4
Ask Codex to use facebook-cli.
Running facebook-cli on its own lists every command, so Codex finds the one it needs.
- 1
Install the CLI. It needs Node 22 or newer.
npm install -g @thenavidm/facebook-mcp-cli@latest - 2
Give Codex the skill, so it knows every command.
The skill is the SKILL.md in the package. It tells Codex what each command does and which ones ask first.
mkdir -p ~/.agents/skills/facebook-mcp
cp "$(npm root -g)/@thenavidm/facebook-mcp-cli/SKILL.md" ~/.agents/skills/facebook-mcp/ - 3
Check your setup.
It names anything that's wrong and the fix.
facebook-cli doctor - 4
Ask Codex to use facebook-cli.
Running facebook-cli on its own lists every command, so Codex finds the one it needs.
- 1
Install the CLI. It needs Node 22 or newer.
npm install -g @thenavidm/facebook-mcp-cli@latest - 2
Check your setup.
It names anything that's wrong and the fix.
facebook-cli doctor - 3
Ask Cursor to use facebook-cli.
Running facebook-cli on its own lists every command, so Cursor finds the one it needs.
- 1
Install the CLI. It needs Node 22 or newer.
npm install -g @thenavidm/facebook-mcp-cli@latest - 2
Check your setup.
It names anything that's wrong and the fix.
facebook-cli doctor - 3
Ask VS Code to use facebook-cli.
Running facebook-cli on its own lists every command, so VS Code finds the one it needs.
- 1
Install the CLI. It needs Node 22 or newer.
npm install -g @thenavidm/facebook-mcp-cli@latest - 2
Give Copilot CLI the skill, so it knows every command.
The skill is the SKILL.md in the package. It tells Copilot CLI what each command does and which ones ask first.
mkdir -p ~/.copilot/skills/facebook-mcp
cp "$(npm root -g)/@thenavidm/facebook-mcp-cli/SKILL.md" ~/.copilot/skills/facebook-mcp/ - 3
Check your setup.
It names anything that's wrong and the fix.
facebook-cli doctor - 4
Ask Copilot CLI to use facebook-cli.
Running facebook-cli on its own lists every command, so Copilot CLI finds the one it needs.
- 1
Install the CLI. It needs Node 22 or newer.
npm install -g @thenavidm/facebook-mcp-cli@latest - 2
Give Copilot CLI the skill, so it knows every command.
The skill is the SKILL.md in the package. It tells Copilot CLI what each command does and which ones ask first.
New-Item -ItemType Directory -Force "$HOME\.copilot\skills\facebook-mcp" | Out-Null
Copy-Item "$(npm root -g)\@thenavidm\facebook-mcp-cli\SKILL.md" "$HOME\.copilot\skills\facebook-mcp\" - 3
Check your setup.
It names anything that's wrong and the fix.
facebook-cli doctor - 4
Ask Copilot CLI to use facebook-cli.
Running facebook-cli on its own lists every command, so Copilot CLI finds the one it needs.
- 1
Install the CLI. It needs Node 22 or newer.
npm install -g @thenavidm/facebook-mcp-cli@latest - 2
Give Copilot CLI the skill, so it knows every command.
The skill is the SKILL.md in the package. It tells Copilot CLI what each command does and which ones ask first.
mkdir -p ~/.copilot/skills/facebook-mcp
cp "$(npm root -g)/@thenavidm/facebook-mcp-cli/SKILL.md" ~/.copilot/skills/facebook-mcp/ - 3
Check your setup.
It names anything that's wrong and the fix.
facebook-cli doctor - 4
Ask Copilot CLI to use facebook-cli.
Running facebook-cli on its own lists every command, so Copilot CLI finds the one it needs.
- 1
Install the CLI. It needs Node 22 or newer.
npm install -g @thenavidm/facebook-mcp-cli@latest - 2
Check your setup.
It names anything that's wrong and the fix.
facebook-cli doctor - 3
Ask Gemini CLI to use facebook-cli.
Running facebook-cli on its own lists every command, so Gemini CLI finds the one it needs.
- 1
Install the CLI. It needs Node 22 or newer.
npm install -g @thenavidm/facebook-mcp-cli@latest - 2
Give OpenCode the skill, so it knows every command.
The skill is the SKILL.md in the package. It tells OpenCode what each command does and which ones ask first.
mkdir -p ~/.config/opencode/skills/facebook-mcp
cp "$(npm root -g)/@thenavidm/facebook-mcp-cli/SKILL.md" ~/.config/opencode/skills/facebook-mcp/ - 3
Check your setup.
It names anything that's wrong and the fix.
facebook-cli doctor - 4
Ask OpenCode to use facebook-cli.
Running facebook-cli on its own lists every command, so OpenCode finds the one it needs.
- 1
Install the CLI. It needs Node 22 or newer.
npm install -g @thenavidm/facebook-mcp-cli@latest - 2
Give OpenCode the skill, so it knows every command.
The skill is the SKILL.md in the package. It tells OpenCode what each command does and which ones ask first.
New-Item -ItemType Directory -Force "$HOME\.config\opencode\skills\facebook-mcp" | Out-Null
Copy-Item "$(npm root -g)\@thenavidm\facebook-mcp-cli\SKILL.md" "$HOME\.config\opencode\skills\facebook-mcp\" - 3
Check your setup.
It names anything that's wrong and the fix.
facebook-cli doctor - 4
Ask OpenCode to use facebook-cli.
Running facebook-cli on its own lists every command, so OpenCode finds the one it needs.
- 1
Install the CLI. It needs Node 22 or newer.
npm install -g @thenavidm/facebook-mcp-cli@latest - 2
Give OpenCode the skill, so it knows every command.
The skill is the SKILL.md in the package. It tells OpenCode what each command does and which ones ask first.
mkdir -p ~/.config/opencode/skills/facebook-mcp
cp "$(npm root -g)/@thenavidm/facebook-mcp-cli/SKILL.md" ~/.config/opencode/skills/facebook-mcp/ - 3
Check your setup.
It names anything that's wrong and the fix.
facebook-cli doctor - 4
Ask OpenCode to use facebook-cli.
Running facebook-cli on its own lists every command, so OpenCode finds the one it needs.
- 1
Install the CLI. It needs Node 22 or newer.
npm install -g @thenavidm/facebook-mcp-cli@latest - 2
Give OpenClaw the skill, so it knows every command.
The skill is the SKILL.md in the package. It tells OpenClaw what each command does and which ones ask first.
mkdir -p ~/.openclaw/skills/facebook-mcp
cp "$(npm root -g)/@thenavidm/facebook-mcp-cli/SKILL.md" ~/.openclaw/skills/facebook-mcp/ - 3
Check your setup.
It names anything that's wrong and the fix.
facebook-cli doctor - 4
Ask OpenClaw to use facebook-cli.
Running facebook-cli on its own lists every command, so OpenClaw finds the one it needs.
- 1
Install the CLI. It needs Node 22 or newer.
npm install -g @thenavidm/facebook-mcp-cli@latest - 2
Give OpenClaw the skill, so it knows every command.
The skill is the SKILL.md in the package. It tells OpenClaw what each command does and which ones ask first.
New-Item -ItemType Directory -Force "$HOME\.openclaw\skills\facebook-mcp" | Out-Null
Copy-Item "$(npm root -g)\@thenavidm\facebook-mcp-cli\SKILL.md" "$HOME\.openclaw\skills\facebook-mcp\" - 3
Check your setup.
It names anything that's wrong and the fix.
facebook-cli doctor - 4
Ask OpenClaw to use facebook-cli.
Running facebook-cli on its own lists every command, so OpenClaw finds the one it needs.
- 1
Install the CLI. It needs Node 22 or newer.
npm install -g @thenavidm/facebook-mcp-cli@latest - 2
Give OpenClaw the skill, so it knows every command.
The skill is the SKILL.md in the package. It tells OpenClaw what each command does and which ones ask first.
mkdir -p ~/.openclaw/skills/facebook-mcp
cp "$(npm root -g)/@thenavidm/facebook-mcp-cli/SKILL.md" ~/.openclaw/skills/facebook-mcp/ - 3
Check your setup.
It names anything that's wrong and the fix.
facebook-cli doctor - 4
Ask OpenClaw to use facebook-cli.
Running facebook-cli on its own lists every command, so OpenClaw finds the one it needs.
- 1
Install the CLI. It needs Node 22 or newer.
npm install -g @thenavidm/facebook-mcp-cli@latest - 2
Check your setup.
It names anything that's wrong and the fix.
facebook-cli doctor - 3
Ask Antigravity to use facebook-cli.
Running facebook-cli on its own lists every command, so Antigravity finds the one it needs.
- 1
Install the CLI. It needs Node 22 or newer.
npm install -g @thenavidm/facebook-mcp-cli@latest - 2
Check your setup.
It names anything that's wrong and the fix.
facebook-cli doctor - 3
Ask Hermes to use facebook-cli.
Running facebook-cli on its own lists every command, so Hermes finds the one it needs.
- 1
Install the CLI. It needs Node 22 or newer.
npm install -g @thenavidm/facebook-mcp-cli@latest - 2
Check your setup.
It names anything that's wrong and the fix.
facebook-cli doctor - 3
List every command, then try one.
facebook-cli
facebook-cli list-pages
Needs Node 22 or newer and your own Meta app, made once in about 10 minutes. Set it up.
It's free and open source. If it saves you time, star it on GitHub, so more people find it.
Op deze pagina