Meta (Facebook) Developer Apps MCP
Provides tools for interacting with Facebook/Meta Developer applications and the Facebook Graph API, enabling management of app configurations, roles, webhook subscriptions, permissions, test users, and connected Facebook Pages.
Provides tools for managing Meta Developer applications, including discovering apps, updating app settings, managing team roles, configuring webhooks, monitoring permissions, creating test users, and invoking the Meta Graph API directly.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Meta (Facebook) Developer Apps MCPlist all the Meta developer apps I have access to"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Meta (Facebook) Developer Apps MCP (was-meta-apps-mcp)
A self-contained, cross-platform Model Context Protocol (MCP) server for managing Meta (Facebook) Developer applications. Exposes 14 tools allowing AI coding assistants (Claude Desktop, Cursor, Antigravity, VS Code, Zed, etc.) to discover apps, update configurations, manage team roles, configure webhooks, monitor permissions, create test users, and invoke the Meta Graph API directly. Built by Web Analytics Solution.
Prerequisites
Required | How to install | |
Node.js 18+ | running | Mac: |
Git | letting | Mac: |
Meta Developer Account | to access Developer Apps | |
Meta Access Token | for authentication | Walked through below |
Related MCP server: meta-mcp
Quick Start — 3 Steps
Step 1 — Get Access Token
Go to the Meta Graph API Explorer.
Select your Meta App in the top dropdown (or create one at developers.facebook.com/apps).
Under User or Page, select User Token or create a System User Token in Meta Business Settings.
Add permissions as needed (e.g.,
ads_management,business_management,email).Click Generate Access Token.
(Optional) Find your App Secret under App Settings > Basic if you want automatic
appsecret_proofcalculation.
Step 2 — Connect
Run the interactive setup command in your terminal:
npx -y github:mnsmasum62786/was-meta-apps-mcp authPaste your Meta Access Token when prompted.
(Optional) Paste your App Secret (or press Enter to skip).
(Optional) Paste your default App ID (or press Enter to skip).
The CLI will verify your token against the Meta Graph API and save credentials locally at
~/.was-meta-apps-mcp/config.jsonwith secure0600permissions.
Step 3 — Add to Your AI Client
Add the following configuration to your AI client's MCP configuration JSON file:
{
"mcpServers": {
"Meta Apps MCP": {
"command": "npx",
"args": ["-y", "github:mnsmasum62786/was-meta-apps-mcp"]
}
}
}Configuration File Locations by Client:
Claude Desktop (Mac):
~/Library/Application Support/Claude/claude_desktop_config.jsonClaude Desktop (Windows):
%APPDATA%\Claude\claude_desktop_config.jsonCursor:
~/.cursor/mcp.json(or via Cursor Settings -> MCP)Google Antigravity / Windsurf:
~/.gemini/antigravity/mcp.jsonor~/.codeium/windsurf/mcp_config.json
What You Can Ask the AI
Discovery & Inspection
"List all the Meta developer apps I have access to."
"Show me the settings, allowed domains, and contact email for app ID
123456789.""What permissions and features does my app currently have approved?"
App Configuration
"Update my Meta app's privacy policy URL to
https://example.com/privacyand contact email toadmin@example.com.""Add
example.comandapi.example.comto my app's allowed domains.""Set server IP whitelist for my app to
192.0.2.1."
Roles & Team Management
"List all administrators and developers on my Meta app."
"Add user ID
987654321as a tester to my app.""Remove user ID
987654321from the app roles."
Webhooks & Subscriptions
"List all active webhook subscriptions for my app."
"Subscribe my app to
pagewebhook events formessagesandfeedwith callbackhttps://example.com/webhook.""Delete the
permissionswebhook subscription."
Sandbox Testing
"List all test users created for this app."
"Create a new test user named 'Test John' with
emailandpublic_profilepermissions."
Universal Graph API
"Query the Graph API endpoint
/me/accountsto see connected Facebook Pages."
All Tools (14 Total)
Category | Tools | Description |
App Discovery |
| List all Meta developer apps accessible by the current token. |
| Get detailed settings, domains, and metadata for a specific app. | |
App Settings |
| Update app details, URLs, domains, and server IP whitelists. |
Role Management |
| List all admins, developers, testers, and insights users. |
| Add a user role (administrator, developer, tester, insights user). | |
| Remove a user role from the app. | |
Webhooks |
| List webhook subscriptions configured on the app. |
| Subscribe or update webhook endpoints (user, page, instagram, etc.). | |
| Remove a webhook subscription from the app. | |
Permissions |
| Check review status and approved permissions/features. |
Testing Sandbox |
| List test users created under the app. |
| Create a test user with pre-granted permissions. | |
| Delete a test user. | |
Universal API |
| Universal escape hatch: call any Meta Graph API endpoint directly. |
CLI Commands
You can run these commands directly via npx -y github:mnsmasum62786/was-meta-apps-mcp <command>:
auth— Interactive prompt to connect or re-connect Meta credentials.status— Show config file location and summary of saved credentials.logout— Delete the locally stored credentials file (~/.was-meta-apps-mcp/config.json).help— Print command line usage and environment variable options.
Multi-Account Setup
You can bypass the local config file by setting environment variables in your client configuration. This allows running multiple Meta accounts or apps simultaneously:
{
"mcpServers": {
"Meta Developer (Personal)": {
"command": "npx",
"args": ["-y", "github:mnsmasum62786/was-meta-apps-mcp"],
"env": {
"META_ACCESS_TOKEN": "EAA...",
"META_APP_ID": "111111111111"
}
},
"Meta Developer (Agency)": {
"command": "npx",
"args": ["-y", "github:mnsmasum62786/was-meta-apps-mcp"],
"env": {
"META_ACCESS_TOKEN": "EAA...",
"META_APP_SECRET": "abc123secret",
"META_APP_ID": "222222222222"
}
}
}
}Troubleshooting
1. "Meta (Facebook) Developer Apps MCP — not configured yet"
Cause: The MCP server was started before configuring credentials.
Fix: Open your terminal and run
npx -y github:mnsmasum62786/was-meta-apps-mcp auth.
2. "Token verification failed (HTTP 400 / 401)"
Cause: The token has expired, or the user/system token does not have adequate permissions.
Fix: Generate a fresh token from Graph API Explorer and run
authagain.
3. Windows PowerShell Execution Policy Error
If you see an error like npx.ps1 cannot be loaded because running scripts is disabled:
Fix: Run the following command in PowerShell:
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSigned
4. Cache Issues after Updates
To force clear the npx cache and download the latest release:
Windows (PowerShell):
Remove-Item -Recurse -Force "$env:LOCALAPPDATA\npm-cache" -ErrorAction SilentlyContinue npm cache clean --forceMac / Linux:
rm -rf ~/.npm/_npx npm cache clean --force
License
MIT License. Built by Web Analytics Solution.
This server cannot be deployed
Maintenance
Related MCP Connectors
Manage Meta apps: creation, configuration, webhooks, permissions, compliance, and App Review.
60+ Meta Ads tools for AI agents: audits, campaign management, audiences and CAPI tracking.
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Deploy apps from GitHub, read build/runtime logs, and manage your app's users from your AI agent.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to manage Facebook and Instagram advertising data through the Meta Marketing API. It supports full campaign lifecycle management, performance analytics, audience targeting, and creative optimization.1,621 npmMIT
- AlicenseAqualityCmaintenanceEnables AI assistants to manage Instagram and Threads accounts — publish content, handle comments, view insights, search hashtags, and manage DMs through the Meta Graph API.5955 npm13MIT
- AlicenseBqualityBmaintenanceConnects AI assistants to Meta's business platforms (Facebook, Instagram, Threads, Ads, Commerce) with 200 tools for publishing, engagement, analytics, ads, and commerce management.100305 npm55MIT
- AlicenseAqualityBmaintenanceExposes 10 tools to manage Facebook Pages, Posts, Comments, Ad Accounts, Campaigns, Insights, and execute any raw Graph API request from AI coding assistants.10MIT