What is an MCP server?
An MCP server is a program that gives AI applications access to a service's tools and data through the Model Context Protocol, an open standard for connecting AI apps to external systems. The AI app connects as a client, discovers what the server offers and calls its tools, so one integration works in any assistant that supports MCP.
Also called: Model Context Protocol server, MCP
Local and remote servers
A local MCP server runs on your own machine and talks to the AI app over standard input and output (stdio), usually for a single client. A remote server runs on the web over the Streamable HTTP transport and can serve many clients, and the protocol recommends OAuth for getting its access tokens. The messages are the same JSON-RPC either way, so a server can offer both.
What a social media MCP server exposes
Typically tools to list connected accounts, upload media, and create, schedule, update or delete posts. The PublishQ MCP server, for example, runs hosted at publishq.com/mcp or locally through npx, and lets an assistant draft, schedule and publish to the accounts you connected. The MCP specification asks hosts to get explicit user consent before calling a tool, so posting can stay behind an approval step.
Frequently asked questions
What is the difference between an MCP server and an API?
An API is built for developers writing code against it. An MCP server describes actions as tools that an AI model can discover and call by itself, and it often sits on top of an existing API.
What are tools, resources and prompts in MCP?
They are the three things a server can offer. Tools are actions the model can run, resources are data it can read for context, and prompts are reusable templates for working with the model.
Which AI apps support MCP servers?
The MCP documentation names Claude, ChatGPT, Visual Studio Code and Cursor among the clients that support it, and many other assistants and coding tools have added it.
Related terms
- AI agentAn AI agent is software built on a large language model that works toward a goal by choosing its own steps and using tools, such as web search, code or other apps' APIs, until the task is done.
- Social media APIA social media API is the programming interface a platform offers so that other software can read from or publish to accounts without a person using the app.
- Social media management toolA social media management tool is software for running several social media accounts from one place.
Post to every platform from one place
Write a post once, adjust it per platform, and schedule it to YouTube, TikTok, X, LinkedIn, Instagram, Facebook, Threads and Bluesky with PublishQ.
Explore related
API & Developer Tools
Schedule posts, manage accounts, and upload media programmatically. Build your own integrations, automate workflows, or connect PublishQ to your existing tools.
The social media MCP server for AI agents
One MCP server gives any MCP client tools to list your connected social accounts, upload media, and publish or schedule posts.
The social media CLI for humans and AI agents
Install @publishq/cli, sign in through your browser and post from a shell. JSON output by default, one command per action, and PUBLISHQ_API_KEY for CI and cron.
One social media API for every platform you post to
A REST API that publishes to Instagram, TikTok, YouTube, X, LinkedIn, Facebook, Threads and Bluesky. One POST fans out, and the OpenAPI spec is public.
MCP Server
API reference for MCP Server.
CLI
API reference for CLI.
SDK
API reference for SDK.
Instagram MCP Server for Claude Code, Cursor, Codex and More
Post to Instagram from Claude Code, Cursor or Codex with one MCP server. Feed posts, carousels, Reels and Stories, no Meta developer app needed.