"What Is an MCP Server? A Plain-English Guide"
An MCP server is a program that gives an AI application access to specific tools and data through the Model Context Protocol (MCP), an open standard Anthropic introduced in November 2024. The AI app connects to the server, learns which tools it offers, and calls them when a question needs live information. It is usually a small process, not a physical machine.
This guide explains MCP in plain terms. It covers why models need outside data at all, how hosts, clients, and servers fit together, which transports are current, and the security trade-offs. It ends with a concrete example: an assistant reading live social media data through a read-only MCP server.
MCP vs. an MCP server
The two terms are easy to mix up.
- MCP (the protocol) is the open standard. It defines how an AI application and an external capability exchange messages. The official documentation lives at modelcontextprotocol.io.
- An MCP server is one program that implements the protocol and wraps something useful, such as a file system, a database, GitHub, a calendar, or a data API.
The official docs define servers as "programs that expose specific capabilities to AI applications through standardized protocol interfaces." Put simply, one protocol supports many servers.
On the acronym: in this context MCP means Model Context Protocol. Some pages mix it up with unrelated "multi-cloud platform" products. Those have nothing to do with AI tool access.
Why models need live data in the first place
A language model cannot simply "know" current facts, for three reasons:
- Training cutoff. A model learns from data up to a fixed date. It cannot see yesterday's post, today's follower count, or a file you created this morning.
- No access to your systems. Your database, your repo, and your calendar were never in its training data. Even public pages change after training.
- Guessing produces errors. When a model lacks a fact, it may produce a plausible-sounding number anyway. "About 90 million followers" sounds right and can be wrong.
MCP fixes this at the source. The model asks a tool, the tool reads a real system, and the model answers from the returned data rather than from memory.
The problem MCP solves
Before MCP, connecting a tool to an AI product meant custom integration work for every pairing. Five AI apps and twenty tools meant up to a hundred separate integrations. This is often called the N×M problem.
MCP turns that into N+M. A tool vendor writes one server, and any compliant client can use it. Wikipedia cites the common "USB-C for AI" analogy: one connector shape instead of a drawer full of adapters. MCP also borrows message-flow ideas from the Language Server Protocol (LSP), which solved a similar problem between code editors and programming languages.
Host, client, and server: who does what
Many explainers blur these three roles. Here they are precisely:
- Host: the AI application you use, such as Claude Desktop, ChatGPT, Cursor, or VS Code. It manages the model, the user interface, and user consent.
- Client: a connector the host creates for one specific server. The host creates one dedicated client per server. Five connected servers means five clients.
- Server: the program that exposes capabilities, either locally on your machine or remotely over the network.
The client and the host are not the same thing. The host is the app, and the clients are the one-to-one connections the app maintains.
The three server primitives
A server can offer three kinds of things. The official docs also say who controls each one:
| Primitive | What it is | Who controls it | Example |
|---|---|---|---|
| Tools | Functions the model can call | The model decides when to call | "Look up a TikTok profile" |
| Resources | Read-only data the app can attach | The application decides | A file, a database schema |
| Prompts | Reusable instruction templates | The user picks them | "Summarize this creator's last 10 posts" |
Most practical servers center on tools, because tools let the model fetch exactly what a question needs.
How a request flows
- The host starts and creates a client for each configured server.
- The client asks the server what it offers. On the wire, that is a JSON-RPC 2.0 message such as:
{ "jsonrpc": "2.0", "id": 1, "method": "tools/list" }
- The server replies with each tool's name, a description, and an input schema.
- You ask a question. The model reads the tool descriptions and decides one fits.
- The host asks for your consent where required, and the client sends a
tools/callrequest. - The server runs the tool, for example by calling an API, and returns the result.
- The result enters the model's context, and the model answers using it.
Every step is a structured JSON-RPC 2.0 message. That is why any compliant client can talk to any compliant server.
Transports: local and remote (current spec)
This guide describes MCP as defined in the 2025-06-18 specification and the current official docs. The docs now carry a 2026-07-28 version path. Earlier dated versions are 2024-11-05 and 2025-03-26. The changelog on modelcontextprotocol.io lists what changed in each.
- stdio: the host launches the server as a local process and talks to it over standard input and output. This is typical for single-user servers on your own machine.
- Streamable HTTP: used for remote servers that many users reach over the network.
- HTTP+SSE (deprecated): the older remote transport, replaced by Streamable HTTP. Pages that still say "stdio or HTTP/SSE" are describing an outdated spec.
Remote servers usually sit behind authentication. MCP defines an OAuth 2.1-based authorization flow for them. Local stdio servers typically read a key from an environment variable.
Where MCP runs today
Support has spread quickly:
- Launch. Anthropic launched MCP with Python and TypeScript SDKs, local server support in Claude Desktop, and prebuilt servers for tools like Google Drive, Slack, GitHub, Git, and Postgres.
- OpenAI. OpenAI added MCP support to ChatGPT in September 2025.
- Other clients. Cursor, VS Code, Gemini, and Microsoft Copilot also support MCP.
- Governance. On December 9, 2025, Anthropic donated MCP to the Agentic AI Foundation. The foundation is a directed fund under the Linux Foundation, co-founded by Anthropic, Block, and OpenAI, with support from Google, Microsoft, AWS, Cloudflare, and Bloomberg. The existing maintainers and the SEP (proposal) process still govern the protocol. The Linux Foundation does not set its technical direction.
A concrete example: live social data through MCP
Most explainers stop at GitHub and Slack. Here is a case they skip: asking an assistant about public social media accounts.
Without a tool, "How many followers does @tiktok have?" gets a guess from training data. With a social data MCP server, the model calls a tool and answers from a live read.
Setting it up takes about two minutes
The SocialLens MCP server is published in the official MCP registry as dev.sociallens/sociallens-mcp. Add it to your host's MCP config, for example in Claude Desktop or Cursor:
{
"mcpServers": {
"sociallens": {
"command": "npx",
"args": ["-y", "sociallens-mcp"],
"env": { "SOCIALLENS_API_KEY": "sk_live_YOUR_KEY" }
}
}
}
Restart the host and its client will list the server's tools. Host-specific walkthroughs are in How to Give Claude Social Media Data and How to Give Cursor Social Media Data. ChatGPT users can follow the Custom GPT guide.
Then ask a question
You: How many followers does TikTok's official account have, and how many videos has it posted?
Assistant (after calling the tool): @tiktok has 97,391,097 followers (an exact count), 471,037,381 total likes, and 1,521 videos. The account is verified and public. Read on 2026-12-04.
What the tool read behind the scenes
The server called the same endpoint you can hit directly:
curl "https://api.sociallens.dev/v1/profile?platform=tiktok&username=tiktok" \
-H "Authorization: Bearer sk_live_YOUR_KEY"
{
"exists": true,
"username": "tiktok",
"platform": "tiktok",
"verified": true,
"private": false,
"followers": 97391097,
"followers_rounded": 97400000,
"is_exact": true,
"following": 2,
"likes": 471037381,
"videos": 1521,
"bio": "Your next discovery is waiting on TikTok.",
"external_link": null,
"category": null,
"fetched_at": "2026-12-04T03:58:12Z"
}
A few details matter for reliability:
is_exact: truetells the model the count is exact, not rounded, so it can say so with confidence.nullfields (external_link,category) mean the source did not expose a value. The model has nothing to guess from.- Missing handles return
"exists": falserather than an error, so the model can say the account does not exist.
Posts and comments
The same server reaches post and comment data. /v1/profile-posts returns recent posts with fields like caption, publish time, likes, comments, and views for video. /v1/post-comments returns the comment thread under a post.
Together they cover prompts like "pull this creator's recent posts" or "compare engagement across platforms." The same request shape works across 17 networks, from TikTok and Instagram to Reddit, Bluesky, and GitHub.
For a deeper comparison of wiring this up as MCP, a REST call, or function calling, see MCP vs API vs Function Calling.
MCP vs. REST APIs, function calling, and RAG
| Approach | What it is | When it fits |
|---|---|---|
| REST/GraphQL API | Endpoints that developers call from code | Apps, scripts, pipelines |
| Function calling | A model feature for emitting a structured call | One app, tools defined in your own code |
| MCP | A standard layer above function calling, with built-in discovery | Reusable tools across many AI apps |
| RAG | Retrieving documents into context | Large, mostly static knowledge bases |
MCP does not replace APIs. Most MCP servers are thin wrappers around an API, and the API keeps doing the real work.
Read-only vs. write servers
The spec is direct: "Tools represent arbitrary code execution and must be treated with appropriate caution." Hosts must get explicit user consent before invoking a tool.
The practical risk depends on what a server can do:
- A read-only server looks things up and returns data. The worst realistic outcome is reading something you did not need.
- A write-capable server sends email, edits files, posts, or moves money. A bad tool call can have real side effects.
When a read-only server answers the question, prefer it. The SocialLens server is read-only by design. It reads public data, never posts, never acts as an account, and never touches private data.
Security risks to know (without the panic)
OWASP and security researchers flag a few recurring issues:
- Tool poisoning. Hidden instructions in a tool's description steer the model.
- Rug pulls. A server changes a tool's behavior after you approved it.
- Tool shadowing. One server's tool impersonates or overrides another's.
- Prompt injection through outputs. Fetched content, such as a web page or a comment, contains instructions the model might follow.
- Data exfiltration and confused deputy. A tool with broad permissions acts on behalf of a request it should not serve.
Sensible defaults: install servers from known publishers or the official registry, keep consent prompts on, limit write access, and treat tool output as data rather than instructions.
What MCP (and public social data) does not do
Being clear about limits:
- MCP does not make data accurate. A server is only as good as its source.
- MCP does not make data cheap or permitted. Costs and access rules still come from the underlying API.
- More servers is not always better. Every tool definition uses context. Connecting dozens of servers can degrade how well the model picks the right tool.
- Public social data has edges. A public read cannot see private accounts (they return
private: true), DMs, or owner-only analytics like reach and impressions. It cannot post on anyone's behalf.
Ways to give a model social data
| Option | Pricing model | Notes |
|---|---|---|
| SocialLens MCP server | Pay-as-you-go, one credit per successful read, credits never expire | Read-only, 17 networks, one schema, 250 free reads |
| Apify | Platform usage plus per-actor pricing | Large marketplace of scrapers, one actor per task |
| Bright Data | Usage-based infrastructure and datasets | Strong for large-scale custom collection |
| EnsembleData | Per-call units | Per-endpoint unit costs |
| Data365 | Subscription tiers | Monthly plans |
| Your own MCP server around official APIs | Free to build, API terms apply | Full control, but you maintain the auth and parsing for each platform |
For a ranked look at social data servers, see Best Social Media MCP Server for AI Agents.
Frequently asked questions
What is an MCP server in simple terms? It is a program that lets an AI app use a specific tool or data source through the Model Context Protocol. The app discovers what the server offers, and the model calls it when needed.
Is an MCP server a real server? It is a real program, but not necessarily a machine. Many MCP servers are small local processes your AI app launches over stdio. Others are remote services reached over Streamable HTTP.
What is the difference between MCP and an MCP server? MCP is the open protocol. An MCP server is one implementation of it that wraps a particular capability, such as GitHub, a database, or a social data API.
Does MCP replace APIs? No. Most MCP servers call an API underneath. MCP standardizes how AI apps discover and call those capabilities.
Which transports does MCP use today? stdio for local servers and Streamable HTTP for remote ones. The older HTTP+SSE transport is deprecated.
Can an AI assistant read live social media data through MCP?
Yes. A read-only server like sociallens-mcp lets Claude, Cursor, or other MCP clients read public profiles, posts, and comments across 17 networks. You can start with a free key and the agent guide.
Related guides
- Social Media MCP Server: Give Your AI Agent Data
- Social Media Data for AI Agents: MCP vs API vs Function Calling
- How to Give Claude Social Media Data
- Best TikTok Data API in 2026
Last updated: 2026-12-04