PostLake
OfficialPostLake โ MCP server & agent skills for social media
PostLake is the social media API for AI agents. One integration to publish, schedule, and measure across every network โ X, LinkedIn, Instagram, TikTok, Facebook, Threads, Bluesky, YouTube and Pinterest โ with one normalised response shape an agent can reason over instead of nine different error formats.
This repo holds the agent skills and documents the hosted MCP server.
๐ MCP server:
https://api.postlake.dev/mcp(streamable-http, OAuth)๐ Docs: https://postlake.dev/docs/
๐ Site: https://postlake.dev
๐ For LLMs: https://postlake.dev/llms.txt
MCP configuration
PostLake is a remote MCP server โ there is nothing to install, run, or self-host. Point your client at the URL and approve once over OAuth:
{
"mcpServers": {
"postlake": {
"url": "https://api.postlake.dev/mcp"
}
}
}Note: PostLake is not launched with a local
command. Any config that runsnpxto start this server is incorrect โ the server is hosted at the URL above. (Thenpx skills add โฆcommand further down installs the optional agent skills; it does not start an MCP server.)
Related MCP server: meta-mcp
Quick start โ MCP
Your agent never sees an API key; OAuth handles authorisation.
Claude
claude mcp add postlake https://api.postlake.dev/mcpOr in Claude Desktop: Settings โ Connectors โ Add custom connector.
Cursor
~/.cursor/mcp.json:
{
"mcpServers": {
"postlake": { "url": "https://api.postlake.dev/mcp" }
}
}Gemini CLI
gemini mcp add postlake https://api.postlake.dev/mcpVS Code / GitHub Copilot
Agent mode โ MCP servers โ Add, then paste the same URL.
Header auth (for clients without OAuth)
POST https://api.postlake.dev/v1/mcp
Authorization: Bearer <your_api_key>Then just ask:
"Post this photo to Instagram and LinkedIn, schedule a follow-up for Friday at 9am, and tell me which of last week's posts did best."
The toolset
A focused set โ everything an agent needs to publish and reason about the result, and nothing it doesn't. Account setup and connecting networks stay in the dashboard, where a human belongs.
Group | Tools |
Publish & schedule |
|
Discover & validate |
|
Channels & media |
|
Analytics |
|
Identity |
|
Agent-safe by design. Publishing is idempotent โ pass an Idempotency-Key
and a retrying or restarting agent can never double-post. Every post returns a
per-platform state and url in one shape, so there's no per-network branching.
Agent skills
For coding agents (Claude Code, Cursor, Codex, Windsurf) that use file-based skills rather than MCP:
npx skills add postlake/postlake-mcp --allSkill | What your agent can do |
| List connected accounts; see what platforms are ready |
| Publish a post now to one or more platforms |
| Schedule for later; list, reschedule, or cancel |
| Upload an image or video and attach it to a post |
| Read per-post and cross-platform performance |
Set your key once:
export POSTLAKE_API_KEY="sk_live_โฆ"Create one at https://app.postlake.dev/app/keys.
Three ways to connect
Best for | Auth | |
MCP server | Claude, Cursor, ChatGPT, Gemini, any MCP client | OAuth (no key exposed) |
Agent skills (this repo) | Claude Code, Cursor, Codex, Windsurf |
|
REST API | LangChain, CrewAI, AutoGen, OpenAI tools, any language | Bearer key |
REST base URL: https://api.postlake.dev/v1 โ see the
full docs and per-framework guides for
LangChain,
CrewAI,
AutoGen,
Python and
Node.js.
Security
Agents authorise over OAuth, so an API key is never pasted into a chat or seen by the model. Every agent you authorise appears under Connected Apps in your dashboard โ revoke any one and its access is cut off immediately.
Pricing
Usage-based credits: 1 credit per post, with a free tier and no card to start. X costs more because it's the only network that charges per post. See https://postlake.dev/pricing.
Listed in the official MCP Registry
as dev.postlake/social.
Made by CrumbleLake. Issues and PRs welcome.
This server cannot be installed
Maintenance
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/PostLake/postlake-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server