Article
Build AI agents with agent skills, MCP servers, and external tools
Learn how agent skills and MCP servers combine workflow logic, domain knowledge, and external tool integrations to create capable AI agentsImagine that you're building an artificial intelligence (AI) agent that needs to diagnose production incidents and track them in Jira. Traditionally, you face a dilemma: either write extensive prompts for every task or build complex application programming interface (API) integrations for external services. Both approaches are time-consuming and hard to maintain.
Two complementary approaches address this dilemma: agent skills and Model Context Protocol (MCP) servers. Think of skills as teaching your agent "how to think" through natural language instructions. MCP servers give your agent "opportunities to act" by connecting to external tools.
This guide walks you through both approaches, showing you when to use each and how they work together to create powerful AI agents.
Comparing and contrasting agent skills and MCP servers
Skills and MCP servers solve different problems.
- Skills answer the question: "How should I do this task?"
- MCP servers answer the question: "How do I access that external service?"
The following sections describe the key differences between skills and MCP servers.
Understanding agent skills
Consider a simple analogy. When you teach someone a new task, you don't write code; you write instructions. "First, do this. Then, check that. If you see X, do Y." Agent skills work the same way.
A skill is a folder that contains a markdown file called SKILL.md. Inside, you write plain English instructions that tell your agent how to perform a specific task. You don't need to run servers or configure APIs. You need only instructions in a file.
The following image shows a typical skill folder:

Skills capture knowledge in a reusable format. Write the instructions, save them in a folder, and your agent can follow them whenever they are needed.
When you give your agent a task, skills activate through a three-phase lifecycle:
- Discovery. When your agent starts, it scans all skill folders and reads only the name and description from each
SKILL.mdfile. This process is lightweight, at approximately 100 tokens per skill. Your agent now knows what skills are available without loading everything into memory. - Activation. When you make a request, your agent matches it against the skill descriptions. If a skill matches, the agent loads the full instructions from that skill's
SKILL.mdfile. Irrelevant skills stay unloaded, which keeps your context window clean. - Execution. The agent follows the loaded instructions step by step. It might read reference files, run scripts, or call other tools, as the skill directs. The result is consistent, predictable behavior based on your documented process.
This progressive disclosure pattern makes skills efficient. You don't load everything upfront; you load exactly what you need, when you need it.
Understanding MCP servers
The other side of the equation is MCP servers.
If skills teach your agent "how to think," MCP servers give your agent "opportunities to act." MCP is a standardized way for AI agents to connect to external tools and services.
Without MCP, connecting an AI agent to external services is difficult. You need custom integrations for every tool: one for Jira, another for Slack, and another for GitHub. Each integration requires different authentication, different APIs, and different error handling. MCP standardizes this access. One MCP server can work with any MCP-compatible agent. Build it once, use it everywhere.
An MCP server exposes three types of capabilities:
Tools: Functions the AI can call when it decides they are needed.
- Examples:
create_jira_issue,send_slack_message,search_github
- Examples:
Resources: Data the application provides to the agent.
- Examples: Files, database schemas, configuration data
Prompts: Reusable templates users can trigger.
- Examples:
/summarize,/review,/analyze
- Examples:
MCP servers handle the complex parts of external integrations: authentication, persistent connections, predictable execution, and universal standardization.
MCP tools are more universally compatible because they use structured JavaScript Object Notation (JSON) schemas instead of natural language. The input and output formats are fixed and deterministic, which most models can handle reliably.
Skills vs. MCP servers: when to use each
The following table describes the differences:
| Aspect | Skills | MCP servers |
|---|---|---|
| What it provides | Knowledge and workflow logic, decision making, local processing | External tool calls, authentication, real-time data |
| Setup complexity | Write markdown files | Write code, configure auth, deploy server |
| Where it runs | Locally (zero latency) | Over network (50–500 ms typical) |
| Token cost | Approximately 100 tokens per skill (idle) | 2,000 or more tokens (always loaded) |
| Best for | Processes and workflows | External tool integration |
| Works offline | Yes | No |
Think of it this way: If you're teaching an agent to analyze code, that's a skill. If you're giving an agent the ability to create Jira tickets, that's an MCP server.
Comparing the approaches:
| Approach | Strengths | Limitations |
|---|---|---|
| Skills only | Fast, offline, consistent | No external system access or actions |
| MCP only | External system access | No workflow structure, inconsistent |
| Skills + MCP | Structured workflow + external actions | Requires MCP setup |
When should you use skills? When should you use MCP servers? The following decision framework can guide you:
| Question | Answer | Use |
|---|---|---|
| Does the agent need to connect to an external tool? | Yes | MCP servers |
| Does the agent need to follow a specific process? | Yes | Skills |
| Is complex authentication involved (OAuth, single sign-on)? | Yes | MCP servers |
| Is the task self-contained with local scripts? | Yes | Skills |
| Do you need consistency across repeated runs? | Yes | Skills |
| Do you need both knowledge and external access? | Yes | Skills + MCP servers |
Hybrid approach: combine agent skills with MCP servers
The real power comes from combining both approaches. Skills tell your agent what to do, and MCP servers give it the tools to do it.
Real-world example: incident response agent with skills and MCP
To demonstrate this hybrid approach, this article uses an incident response agent that is built with LangChain and a deep agent architecture.
Production incident scenario
Imagine it's 3 AM, your API error rate just spiked, and you're getting paged.
The incident response agent handles the following scenario:
- A developer pushes a faulty deployment.
- The payment service returns 500 errors.
- The on-call engineer pastes the log path.
- The engineer asks the agent a question.
- The agent returns a diagnosis.
- The agent provides a draft Slack post.
- The agent creates a ticket to track the issue.
Incident response agent components
The incident response agent combines skills for incident analysis with an optional Jira MCP server for ticket tracking. The agent supports three model providers: models that IBM watsonx provides, OpenRouter models, and Anthropic Claude models.
In testing, the Claude Sonnet and Claude Haiku models work best with deep agents and skills. Of the models that watsonx provides, the granite-3-8b-instruct and granite-3.1-8b-instruct models work well.
To specify the model, configure the API key in an .env file that you create under the main agent. Copy the .env.example file to .env and add your API key for the chosen large language model (LLM) provider.
The agent uses two skills:
log-parserdiagnoses issues.incident-brief-summarizergenerates Slack communications.
The agent can also integrate the Atlassian MCP server, which creates the Jira ticket.
The MCP integration is optional. The agent works with skills only. The MCP server integration adds the ability to automatically create Jira tickets as part of the agent workflow.
How the incident response agent works
The on-call engineer chats with the incident response agent, provides the logs, and asks it to run the process.
First, you start the agent (python3 agent.py) and provide the log file path when prompted.

Then, you can prompt the agent to analyze the log files.
We have an incident!
Analyze what broke and give me a draft Slack post + action checklist and provide me a JIRA ticket.
Step 1: log-parser skill activates
- Scans logs for
ERROR,FATAL,Exceptionpatterns. - Checks timing against deploy history.
- References
common-errors.mdfor error patterns. - Outputs structured diagnosis with confidence level.
Step 2: incident-brief-summarizer skill activates
- Uses
slack-post.mdtemplate for team update. - Uses
checklist.mdtemplate for action items. - Produces copy-paste ready documents.
Step 3: Jira MCP server creates a ticket (optional)
- Creates a Jira ticket with incident details.
- Links to relevant logs and metrics.
- Assigns to appropriate team.
Step 4: Results returned
The agent returns an incident summary, a Slack post, and an action checklist.

The total time from submitting the logs to an action plan is less than 90 seconds.
Summary
Building intelligent agents no longer requires choosing between simplicity and capability. By understanding when to use agent skills and when to use MCP servers, you can create powerful, maintainable AI systems that solve real-world problems.
The key principles to remember are:
- Start with skills for workflow logic and domain knowledge. They're fast, reliable, and require zero infrastructure.
- Add MCP servers when you need external tool integration, complex authentication, or persistent connections.
- Combine both for complete automation that's both intelligent and capable.
- Choose the right model based on your approach: Some models handle skills better than others, while MCP servers work across most models.
The incident response agent example demonstrates this philosophy in action: Skills provide the expertise and consistency, while optional MCP integration adds automation capabilities. This hybrid approach delivers production-ready solutions that are both powerful and maintainable.
As you build your own agents, add complexity incrementally. Start simple with skills, validate your workflows, and then enhance the agent with MCP servers when the value is clear. This progressive approach ensures that you always build on a solid foundation.
To get hands-on with automating agent workflows using MCP tools, try the tutorial, "Build AI agents with IBM Bob and watsonx Orchestrate."