Skills vs MCP: how they differ and when to use each
Skills vs MCP compares two ways to extend an AI agent: an agent skill is a folder of instructions and scripts that the agent reads when a task calls for it, and an MCP server is a separate program that exposes live tools and data over the Model Context Protocol. The two are often framed as competitors, yet they load into context differently, fail differently, and are governed in different places. This comparison and decision guide covers context loading, token cost, security surface, governance, portability, the official MCP Skills extension, and when to use each or both. For the SKILL.md format itself, see the agent skills explainer; for the protocol, see what the Model Context Protocol is; more guides sit in the MCP topic hub.
Skills vs MCP at a glance#
A skill gives an agent procedural knowledge, and an MCP server gives it access. Skills are static files that the agent reads and executes with its own tools, so they cost little context until used. MCP servers are running services that hold credentials and execute each call themselves, so they suit live data, shared access, and actions on real systems.
| Dimension | Agent skill | MCP server |
|---|---|---|
| What it provides | Instructions, reference files, and scripts for a task | Tools, resources, and prompts from an external system |
| Format | A folder with a SKILL.md file, defined by the Agent Skills specification |
A program that speaks JSON-RPC 2.0 over stdio or Streamable HTTP |
| Who executes code | The agent, through its own shell or code execution tool | The server process, local or remote |
| What loads at startup | Each skill's name and description, about 100 tokens | Every tool definition, or only tool names where the host uses tool search |
| Live data and actions | Only through the agent's own network access and credentials | Yes; the server holds the credentials |
| Main risk | Malicious or stale instructions and scripts | Over-broad access, tool poisoning, misused tokens |
| Governed like | Code: Git, pull requests, pinned versions | A service: authorization scopes, rate limits, audit logs |
| Distribution | Copied or uploaded per agent surface, or served over MCP | One remote deployment serves many clients |
The agent skills vs MCP question is rarely either-or: the table describes two layers of one agent, one that decides how a task is done and one that reaches the systems it touches.
What is the difference between skills and MCP?#
The difference between skills and MCP is the layer each one extends. A skill extends what the agent knows: a procedure, a checklist, or a script it runs itself. MCP extends what the agent can reach: an MCP server runs tools against a database, an API, or a file system and returns the results.
An agent skill is a directory containing a SKILL.md file with a name, a description, and instructions, plus optional scripts and references the agent loads on demand.
An MCP server is a program that exposes tools, resources, and prompts to AI applications over the Model Context Protocol, an open standard built on JSON-RPC 2.0.
The agent skills vs MCP distinction rests on three structural differences:
- Where code runs: a skill's script runs inside the agent's environment with the agent's permissions, while an MCP tool runs in the server's process with the server's credentials.
- How fresh the content is: a skill is static content that changes only when someone edits its files, while an MCP server can return current data on every call.
- What the model receives: a skill gives the model prose to follow, while an MCP server gives it tool definitions to call, each with a JSON Schema for its inputs.
Both depend on tool calling: the model typically reads SKILL.md through a file or shell tool, and the host turns an MCP tool call into a tools/call request.
How skills and MCP load into the context window#
Skills and MCP both decide what enters the context window, through different mechanisms. A skill uses progressive disclosure: metadata at startup, the body when the skill triggers, and other files only when read. An MCP host fetches tool definitions with tools/list and, in a naive implementation, passes all of them to the model before the user's first message.
Anthropic's Agent Skills documentation describes three levels. Each skill's name and description load into the system prompt at startup, at about 100 tokens per skill. The SKILL.md body, advised to stay under 5,000 tokens, enters context only when a request matches the description. Reference files cost nothing until read, and bundled scripts run through bash, so only their output enters context.
MCP works from the other direction. In the MCP tools specification, the client sends tools/list, and each returned tool carries a name, a description, a JSON Schema inputSchema, and optional output schema and annotations. The host converts those definitions into the provider's tool format, and every tool result also flows back into context, which a skill script avoids by printing one line.
The gap is narrowing because hosts now defer MCP definitions too. The MCP project's client best practices guide describes progressive discovery: the host still calls tools/list, but gives the model a small search_tools meta-tool and injects full definitions only for the tools a task needs. In Claude Code, tool search is on by default, so only tool names and server instructions load at session start, according to the Claude Code MCP documentation.
Token cost of skills vs MCP#
Skills cost less context at rest: about 100 tokens per installed skill until one triggers. MCP cost depends on the host. Loading every tool definition upfront can consume tens of thousands of tokens, while tool search or progressive discovery cuts that to the few definitions a task needs. Tool results add a second cost, which skills avoid by running scripts.
The documented figures, as of November 2026, come from both sides. Anthropic's tool search documentation says a typical setup with GitHub, Slack, Sentry, Grafana, and Splunk servers can consume about 55,000 tokens in definitions before Claude does any work, and that tool search typically cuts this by over 85 percent. The MCP client guide's own example puts upfront loading at about 150,000 tokens against about 2,000 with progressive discovery.
| Stage | Agent skill | MCP, all definitions upfront | MCP with tool search or code mode |
|---|---|---|---|
| Session start | About 100 tokens per skill | Every name, description, and schema; about 55,000 tokens for five servers in Anthropic's example | A search tool and a small catalog; about 2,000 tokens in the MCP guide's example |
| When the task needs it | The SKILL.md body, under 5,000 tokens advised |
Already loaded | Full definitions for the 3 to 5 matching tools |
| Doing the work | Script output only | Every tool result passes through context | Code mode returns only the final output |
| Chained steps | One script can run the chain and print a summary | Each intermediate result flows through the model | About a 200-token script and a 15-token summary in the MCP guide's example |
Neither side scales without limits, and the limits concern accuracy as much as tokens. Anthropic's tool search page says Claude's ability to pick the right tool degrades past 30 to 50 available tools. Anthropic's guidance for skills at enterprise scale makes the same point about skills: every skill's metadata competes for attention, too many active skills cause Claude to miss the right one, and an API request accepts at most 20 skills.
For Claude skills vs MCP specifically, three practical rules follow from the documentation:
- Measure before switching. The MCP guide suggests switching to progressive discovery once tool definitions pass a threshold such as 1 to 5 percent of the context window, and Anthropic recommends tool search for 10 or more tools or more than 10,000 tokens of definitions.
- Keep the prefix stable. Adding or removing tool definitions mid-conversation invalidates prompt caching, and the MCP guide warns the cache miss can cost more than the definitions removed.
- Move bulk data into code. A skill script or an MCP code mode sandbox can filter thousands of log lines and return one sentence, which is where the largest savings in both systems come from.
Without tool search or code mode, MCP definitions outweigh any realistic skill catalog; with both, MCP approaches a skill's footprint and the choice rests on the other rows of the comparison.
Security surface: supply chain vs live access#
A skill is a supply-chain risk: its instructions and scripts run with whatever access the agent already has, so a malicious skill can misuse the agent's tools. An MCP server is a live-access risk: it holds credentials to real systems, and its tool descriptions and results reach the model as text. Each needs its own review.
Anthropic's documentation says to install skills only from trusted sources, meaning ones you wrote or obtained from Anthropic, and to treat installation like installing software. Its enterprise risk table rates bundled scripts as high risk because they run with full environment access, along with instructions that hide actions, network calls, and hardcoded credentials. It also rates a skill's references to MCP tools as high risk, because they extend access beyond the skill itself. Claude Enterprise can scan custom skills uploaded in claude.ai and Cowork, but the scan does not cover the Skills API or the Claude Console.
MCP vs skills security also differs in kind: MCP's rules are normative, and the tools specification puts duties on both ends. Servers must validate all tool inputs, implement access controls, rate limit invocations, and sanitize outputs. Clients should prompt for confirmation on sensitive operations, show tool inputs before calling the server, validate results, and log tool usage for audit. The specification also says there should always be a human in the loop who can deny a tool call, and that clients must treat tool annotations as untrusted unless the server is trusted.
| Risk | Agent skill | MCP server | Main control |
|---|---|---|---|
| Malicious instructions | Body text the model treats as guidance | Tool descriptions and server instructions | Review before install; pin versions |
| Code execution | Bundled scripts run in the agent's environment | Server code runs in its own process | Sandbox the agent; isolate the server |
| Credentials | Inherits the agent's; secrets must never sit in skill files | Holds credentials for upstream systems | Least-privilege scopes; no token passthrough |
| Data exfiltration | Scripts or instructions that send data out | One server's results fed into another server's calls | Network limits; approval on sensitive calls |
| Change after approval | A new version changes production unless pinned | The tool list can change between calls | Pin and diff; review again on change |
Both risks reach the model as text in its context, which makes each a prompt injection channel. Hidden instructions in a tool's metadata are called tool poisoning, and a skill body can carry the same payload with more authority, since the model is told to follow it. Run third-party skills in an agent sandbox, and review an MCP server as you would a service account with write access.
Credentials are where the two models differ most. The MCP authorization specification defines an optional OAuth 2.1-based flow for HTTP transports, requires servers to accept only tokens issued for them, and forbids passing other tokens through; stdio servers take credentials from the environment instead. A skill has no credential model at all: it uses whatever the agent holds. The MCP security guide covers the server-side threat model and controls in depth.
Governance and portability#
Skills are governed like code and MCP servers like services. A skill lives in Git, changes through pull requests, and ships as a pinned version to each agent surface. An MCP server is one deployment that many clients share, so access is decided per request through authorization scopes, with rate limits and audit logs kept in one place.
Governing skills#
Anthropic's enterprise guidance treats a skill as a software artifact: store it in Git, separate authors from reviewers, pin production versions, compute checksums, and sign commits. Pinning matters because a request that omits version uses the latest, so a new upload by anyone in the workspace immediately changes what production agents run.
For Claude skills vs MCP servers, distribution is the main gap on the skills side as of November 2026. Custom skills do not sync across claude.ai, the Claude API, and Claude Code, so each surface needs its own upload or folder, and API uploads are shared with the whole workspace. The Skills API also had no usage analytics, so Anthropic advises logging which skills each request includes and keeping a registry of each skill's owner, version, and MCP server dependencies.
Governing MCP servers#
An MCP server centralizes the decisions a skill cannot make. The tools specification lets a server return a different tool list depending on the authorization presented on each request, for example only the tools the caller's granted scopes permit. The authorization specification has servers name the scopes an operation needs, so clients request the least privilege required.
Clients add their own controls. In Claude Code, project servers live in a .mcp.json file committed to version control, Claude Code asks for approval in interactive sessions before using them, and administrators can deploy or restrict servers through managed configuration with allowlists and denylists. Rules set server by server still drift as the count grows, which is the problem an MCP gateway addresses by enforcing one policy in front of many servers; the MCP platforms directory lists gateways and registries.
Portability#
Both formats travel across vendors, and both are now hosted by the Agentic AI Foundation. The Agent Skills specification requires only a name and a description, offers a compatibility field for environment requirements, and marks allowed-tools as experimental, with support that varies by agent. The agent skills explainer covers the standard's move to the foundation and lists the agents that read the format.
The portability limits differ. A skill's file format is portable, but its runtime is not: on the Claude API, skills run in a container with no network access and no runtime package installation, while in Claude Code they have the same network access as any program on the machine. An MCP server works with any MCP client that supports its transport, so one remote server can serve an IDE, a chat app, and a custom agent without changes.
Skills over MCP: the official Skills extension#
The Skills extension lets an MCP server publish agent skills alongside its tools. A server that declares io.modelcontextprotocol/skills lists skills with skills/list, returns one with skills/get, and serves each file as an MCP resource, usually under a skill:// URI. SEP-2640, which defines the extension, is Final, and host support was still being implemented as of November 2026.
The Skills extension overview explains the design: the skill format stays with the Agent Skills specification, and the extension defines only discovery and retrieval. Serving a skill over MCP keeps the instructions with the service they describe, where before a server and the skill that teaches agents to use it were versioned and installed separately.
The extension builds review and integrity checks into the protocol:
- Integrity: every listing carries a manifest with each file's URI, SHA-256 digest, and byte size, and hosts must verify size and digest before using any file.
- Trust: hosts must treat skill content as untrusted, and code execution or
allowed-toolsgrants need explicit approval for each skill. - Change control: approval binds to the full manifest, so a changed, added, or removed file revokes it until the user approves again.
- Progressive disclosure: hosts must not fetch skill files ahead of need, so a served skill keeps the on-demand loading of a local one.
The extension changes the comparison for vendor-maintained workflows: a team that owns a service can ship its tools and the procedure for using them in one release. Procedures specific to one team, such as its release format or review checklist, still belong in that team's own repository.
When to use skills vs MCP: a decision guide#
Use a skill when the agent needs to know how to do something your team does a particular way. Use an MCP server when the agent needs current data or must act on a system behind credentials. Use both when a repeatable workflow depends on live systems, which describes many production agent tasks.
The skills vs MCP tools choice gets clearer with concrete cases:
| Scenario | Choose | Why |
|---|---|---|
| Write release notes in the house format | Skill | A procedure and a template; no live data |
| Validate a config file against team rules | Skill with a script | A deterministic check; only the result enters context |
| Read open tickets or query a database | MCP server | Current data behind credentials |
| Several agents or apps need the same access | MCP server | One deployment and one place to manage credentials |
| Actions must be authorized per user | MCP server | Per-request authorization and scopes |
| An agent on the Claude API needs an external system | MCP server | Skills on the API have no network access |
| Triage incidents across logs and tickets | Skill plus MCP servers | The skill sets order and checks; the servers provide access |
| A vendor wants agents to use its API correctly | MCP server that serves a skill | The Skills extension ships tools and instructions together |
In MCP vs skills design reviews, three signals show that a piece of work sits in the wrong layer:
- A skill that contains API keys or authenticated curl commands is doing an MCP server's job, and Anthropic's risk table rates hardcoded credentials as high risk.
- An MCP server whose tool descriptions read like a runbook is doing a skill's job; move the procedure into a skill and keep the descriptions about what each tool does.
- A thin MCP server that wraps a command-line tool the agent can already run locally may cost more context than a skill that teaches the command; the skill saves context but gives up central authorization and audit logs.
Using skills and MCP together#
Skills and MCP combine by division of labor. The MCP server holds credentials and exposes tools, and the skill tells the agent which tools to call, in what order, with which checks, and when to stop and ask a person. Hosts can also connect the MCP servers a skill declares only when that skill runs, keeping both costs low.
The skill below triages incidents with two MCP servers. It names each tool in the ServerName:tool_name form that Anthropic's skill authoring best practices recommend, so the agent finds the right tool when several servers are connected, and it records its dependencies in the compatibility field.
---
name: triaging-incidents
description: Triages production incidents by pulling recent error logs and filing one ticket per new error. Use when the user reports an outage or an error spike, or asks to triage alerts.
compatibility: Requires the Logging and Ticketing MCP servers
---
# Triaging incidents
1. Call Logging:get_logs with level "error" for the last hour.
2. Group entries by message. Skip messages listed in references/known-noise.md.
3. For each new group, call Ticketing:create_issue with a title, the first-seen
time, the occurrence count, and priority "high".
4. Before filing more than 5 tickets, stop and ask the user to confirm.
5. Reply with a table of tickets filed and groups skipped.The skill holds no credential and can be reviewed in a pull request, while the servers enforce authorization on every call and keep the audit trail. Step 4 adds a human checkpoint on top of the host's own confirmations. With code mode, a host could run steps 1 to 3 as one sandboxed script, so the log entries never enter the model's context.
The combination has one failure mode to watch: a server and a skill that give conflicting instructions, for example on output format, leave the model choosing between them. Keep usage hints in the MCP server generic, put the workflow in the skill, and list the skill's server dependencies in the team's skill registry.
Where to go next#
The skills vs MCP decision often ends with both, so start with the layer you are missing. For authoring, triggering, and evaluating skills, the agent skills explainer goes further than this comparison. To build the server side, follow the guide on how to build an MCP server, then apply the security controls covered earlier.
When the agent itself is the open question, the guide on how to build an AI agent shows where skills and tools enter the loop. For agents that delegate to other agents rather than tools, the comparison of A2A and MCP covers the protocol for that layer.
Frequently asked questions
Do agent skills replace MCP?
- No. Agent skills replace long, repeated instructions, not live access. A skill cannot hold credentials for a shared remote system, serve many clients from one deployment, or enforce per-user authorization, and on the Claude API skills run with no network access. A skill can replace an MCP server whose only job was to carry instructions, or to wrap a command-line tool the agent can already run with its own credentials.
Are Claude skills better than MCP?
- Claude skills are better for procedures, and MCP is better for access. A skill costs about 100 tokens until it triggers and keeps a team's workflow in version control. An MCP server gives Claude current data and actions behind credentials that the server, not the model, controls. The two are complements: one skill can coordinate several MCP servers, and one server can support many skills.
Can a skill call MCP tools?
- Yes. A skill's instructions can name MCP tools, the order to call them, and the checks between calls. Anthropic recommends fully qualified names in the form ServerName:tool_name, such as GitHub:create_issue, so the agent finds the right tool when several servers are connected. The MCP project's client guide also describes hosts that connect the servers a skill declares only when that skill is invoked.
Which uses fewer tokens, skills or MCP?
- Skills use fewer tokens at rest: about 100 per installed skill until one triggers, and under 5,000 for a triggered body. MCP cost depends on the host. Loading every definition upfront took about 55,000 tokens for five servers in Anthropic's example, and tool search typically cuts that by over 85 percent. Code mode also keeps intermediate tool results out of context.
Can an MCP server provide skills?
- Yes, through the official Skills extension defined in SEP-2640, which is Final. A server declares io.modelcontextprotocol/skills, lists skills with skills/list, and serves each SKILL.md and supporting file as a resource with a SHA-256 digest. Hosts must verify each file, treat the content as untrusted, and ask for approval again when any file changes. Host support was still being implemented as of November 2026.
Can a skill that wraps a CLI replace an MCP server?
- Sometimes. If the agent runs locally with a shell and the user's own credentials, a skill that teaches it a command-line tool can do the same job with less context. The trade-off is control: credentials sit on each machine, and calls bypass any central authorization, rate limits, or audit log. Shared access, per-user scopes, and agents without network access still need an MCP server.
Terms in this guide
Cite this guide
The AI Engineering Editors. "Skills vs MCP: how they differ and when to use each." The AI Engineering, updated Nov 25, 2026. https://theaiengineering.com/articles/skills-vs-mcp
- Title
- Skills vs MCP: how they differ and when to use each
- Author
- The AI Engineering Editors
- Publisher
- The AI Engineering
- Published
- Updated