SocialAPIs
v2.2.0Facebook & Instagram data for AI agents: pages, posts, groups, ads, Marketplace, profiles, reels.
Values you need
| Variable | What it is | |
|---|---|---|
SOCIALAPIS_API_KEY | required secret | Your SocialAPIs API key. Get yours at https://socialapis.io/dashboard |
MCP_PROXY_URL | optional | MCP proxy server URL (optional) Default: https://mcp.socialapis.io |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add social-media-api -e 'SOCIALAPIS_API_KEY=<SOCIALAPIS_API_KEY>' -- npx -y --package=@socialapis/mcp@2.2.0 socialapis-mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"social-media-api": {
"args": [
"-y",
"--package=@socialapis/mcp@2.2.0",
"socialapis-mcp"
],
"command": "npx",
"env": {
"SOCIALAPIS_API_KEY": "<SOCIALAPIS_API_KEY>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"social-media-api": {
"args": [
"-y",
"--package=@socialapis/mcp@2.2.0",
"socialapis-mcp"
],
"command": "npx",
"env": {
"SOCIALAPIS_API_KEY": "<SOCIALAPIS_API_KEY>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "SOCIALAPIS_API_KEY",
"id": "socialapis-api-key",
"password": true,
"type": "promptString"
}
],
"servers": {
"social-media-api": {
"args": [
"-y",
"--package=@socialapis/mcp@2.2.0",
"socialapis-mcp"
],
"command": "npx",
"env": {
"SOCIALAPIS_API_KEY": "${input:socialapis-api-key}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.social-media-api]
command = "npx"
args = ["-y", "--package=@socialapis/mcp@2.2.0", "socialapis-mcp"]
env = { "SOCIALAPIS_API_KEY" = "<SOCIALAPIS_API_KEY>" }Remote (hosted)
Run in a terminal
claude mcp add --transport http social-media-api https://mcp.socialapis.io/mcp --header 'Authorization: <Authorization>'Add to
Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote){
"mcpServers": {
"social-media-api": {
"args": [
"-y",
"mcp-remote",
"https://mcp.socialapis.io/mcp",
"--header",
"Authorization: <Authorization>"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"social-media-api": {
"headers": {
"Authorization": "<Authorization>"
},
"url": "https://mcp.socialapis.io/mcp"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"social-media-api": {
"headers": {
"Authorization": "<Authorization>"
},
"type": "http",
"url": "https://mcp.socialapis.io/mcp"
}
}
}Add to
~/.codex/config.toml[mcp_servers.social-media-api]
command = "npx"
args = ["-y", "mcp-remote", "https://mcp.socialapis.io/mcp", "--header", "Authorization: <Authorization>"]For AI agents
- Ask the user for: SOCIALAPIS_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json