What Is an MCP Server? A Simple Guide for Software Testers

You have built an agent with tools written directly in your own code. But what is an MCP server, and why does everyone in testing keep mentioning it? In this lesson you will learn what MCP really is, what it is not and when a QA team actually needs it.

Advertisement

📖 What You’ll Learn

  • What MCP means in simple words
  • What tools, resources and prompts are
  • What MCP is not
  • When a QA team should and should not use it

💡 What Is an MCP Server?

Explain Like I’m 5: A Restaurant Menu

Imagine: A restaurant gives you a menu. You read what it offers, and you order from it. You never need to walk into the kitchen.

What it really means: An MCP server publishes a menu of tools that an AI application can read and order from.

In testing: A browser server offers actions such as “open page” and “read the page”.

MCP stands for Model Context Protocol. It is an open standard for connecting AI applications to tools and data. A server built once can work with any application that speaks MCP.

Without MCPWith MCP
Each AI app needs its own integrationOne server works with many apps
Tool code lives inside your agentTools live in a separate server
Sharing tools means copying codeTeams can share one server

🔍 The Three Things a Server Can Offer

Explain Like I’m 5: Three Parts of a Library

Imagine: You can ask a librarian to do a job. You can read a book. You can pick up a ready-made form to fill in.

What it really means: Servers offer tools to act, resources to read and prompts to reuse.

In testing: Run a test, read a report or start a bug-report template.

FeatureMeaningQA example
ToolsActions that the model can callRead the failed tests
ResourcesData that the app can readA test report file
PromptsReusable message templatesA bug-report template

Most QA servers start with tools, so this level focuses on them.


🧩 What a Tool Looks Like

Every tool has a name, a description and a schema for its inputs. This simplified example is the kind of entry that a server returns when it is asked for its tools.

{
  "name": "list_failed_tests",
  "description": "List the names of failed tests from the latest run",
  "inputSchema": {
    "type": "object",
    "properties": {
      "limit": { "type": "number", "description": "Maximum names to return" }
    },
    "required": ["limit"]
  }
}

The model reads this description to decide when to use the tool. That is why clear tool design matters so much.


🛠️ What MCP Is Not

Explain Like I’m 5: A Telephone

Imagine: A telephone lets two people talk. It is not the person, and it does not decide what is said.

What it really means: MCP carries the conversation between an AI app and its tools.

In testing: MCP does not test anything by itself.

MCP is notWhat that means for you
An AI modelYou still need a model to make decisions
An agentThe agent loop lives in the application
A test frameworkPlaywright still does the browser work
A safety systemYou must still limit what tools can do
Always necessaryTools inside one small agent can be enough

Old tutorials may be out of date

The MCP specification changes often. The 2026-07-28 revision removed the older connection handshake and sessions. Always check the official documentation and the version that you are using.


📌 When Should a QA Team Use MCP?

Use MCP when several AI applications need the same tools. It also helps when one team owns a tool and another team uses it. A ready-made server can save you from writing an integration.

Skip MCP when one small agent needs one or two private functions. Plain code is simpler and easier to test, as you saw when you built your first agent.


🌍 Real-Life Example: One Server, Many Assistants

A QA team uses two different AI coding assistants. Each person wants to ask about the latest test failures. The team writes one read-only MCP server that returns those failures. Both assistants can use it, and the team maintains only one piece of code.


🧪 Try It Yourself

  1. List three things that you repeatedly look up during testing.
  2. Decide whether each one is a tool, a resource or a prompt.
  3. Mark which ones change data and which only read it.
  4. Choose one read-only item as your first server idea.
  5. Run the prompt below to check your thinking.

📋 Ready-to-Copy Prompt

You are a senior QA automation architect who understands MCP.

Here is a task I want to make available to AI assistants:
[describe the task with no confidential details]

Tell me:
1. Whether it should be an MCP tool, a resource, a prompt or plain code
2. Why that choice is the simplest one that works
3. Whether it only reads data or can change something
4. What could go wrong if a model called it by mistake

If you need more information, ask me instead of guessing.

⚠️ Common Mistakes

  • Thinking that MCP is an AI model or an agent
  • Adding MCP when a small function would do
  • Following a tutorial written for an older protocol revision
  • Connecting a server without reading what it can do
  • Assuming that a standard protocol means a safe tool

🎯 Key Takeaways

  • MCP is a standard way to connect AI apps to tools and data.
  • Servers can offer tools, resources and prompts.
  • MCP is not the model, the agent or the test framework.
  • Use it when sharing tools across apps is worth the extra parts.

🎤 Interview Questions

1. What is an MCP server?

Model answer: It is a program that exposes tools, resources or prompts through the Model Context Protocol. An AI application can discover what it offers and use those capabilities in a standard way.

2. What is the difference between MCP and an AI agent?

Model answer: An agent uses a model to decide on and carry out steps. MCP is the standard that connects the application to tools. An agent may use MCP, but MCP is not an agent.

3. What is the difference between a tool and a resource?

Model answer: A tool performs an action that a model can call, such as running a check. A resource provides data for context, such as a report file.

4. When would you avoid using MCP?

Model answer: I would avoid it for a small agent with a few private functions. If nothing needs to be shared across applications, plain code has fewer parts to run, secure and test.

5. Does MCP make an AI tool safe?

Model answer: No. It standardises the connection, but the permissions and behaviour still depend on the server and client. I would still review tools, limit access and require approval for risky actions.


📝 Assignment

Write a one-page proposal for one read-only MCP server for your team. Include its users, its tools, the data it can read and one reason why plain code would not be enough. Keep it for Build an MCP Server for QA.


❓ FAQ

Do I need to know MCP to use AI for testing?

No. It becomes useful when you connect AI applications to real tools. Everything you learned about prompts still applies.

Is MCP only for one AI company?

No. It is an open standard, and many AI applications and development tools support it.


🚀 Next Steps

Well done on finishing this lesson. Complete the assignment, then continue with MCP Architecture Explained: Host, Client, Server and Transports.