"What Is an MCP Server? A Plain-English Guide"

Published · 10 min read

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.

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:

  1. 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.
  2. No access to your systems. Your database, your repo, and your calendar were never in its training data. Even public pages change after training.
  3. 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:

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

  1. The host starts and creates a client for each configured server.
  2. 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" }
  1. The server replies with each tool's name, a description, and an input schema.
  2. You ask a question. The model reads the tool descriptions and decides one fits.
  3. The host asks for your consent where required, and the client sends a tools/call request.
  4. The server runs the tool, for example by calling an API, and returns the result.
  5. 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.

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:

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:

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:

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:

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:

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.

Last updated: 2026-12-04

Run these requests yourself

Every example on this page is a real call to the SocialLens API. A new account starts with 250 free reads, no card needed, and a read that fails is never charged.

Keep reading