We use analytics to count visits and form use. It is on unless you reject it. We show no ads on this site.

Glossary

Model Context Protocol (MCP)

Published . Last updated . Published by Zapple.Tech, founded by the founders of CodeceptJS and Codeception, open-source testing frameworks.

Also called
MCP
Published
Updated
Related service
Agentic e2e testing
Definition

The Model Context Protocol (MCP) is an open standard for connecting AI applications to external tools and data. An AI application, the host, opens one client connection per MCP server, and each server offers tools, resources or prompts. MCP standardizes the connection, not what the agent does with it, so every server still needs its own tests.

What is the Model Context Protocol?

The Model Context Protocol is “an open protocol that enables seamless integration between LLM applications and external data sources and tools”. The project’s own introduction calls it “an open-source standard for connecting AI applications to external systems”. The current specification is version 2026-07-28, which the site marks as the latest.

For a QA lead the practical meaning is this: an agent that drives a browser, reads your test results or files a defect can do it through an MCP server. Each server is an interface your team now depends on, and it needs testing like any other.

What are hosts, clients and servers?

The architecture documentation names three participants. The host is the AI application. The client is a component that keeps one connection to one server, and the host works by “creating one MCP client for each MCP server”. The server is “a program that provides context to MCP clients”, running locally or remotely.

The same page states what MCP leaves out: it “does not dictate how AI applications use LLMs or manage the provided context”. Which tool the model picks, and what it does with the result, is not part of the protocol.

What does a server offer, and who is in control?

A server offers three kinds of capability. The specification says who decides when each one is used, and that tells you where to look for failures.

Capability What it is Who is in control What can go wrong What a test checks
Tools Functions the model can execute The model: tools are “model-controlled” The model calls the wrong tool or passes bad arguments Each tool’s inputs, outputs and failures
Resources Context and data for the user or the model The application: resources are “application-driven” Stale or oversized data reaches the model The right data is returned, and only to a caller allowed to see it
Prompts Templated messages and workflows The user: prompts are “user-controlled” A template drifts from what the user expects The template renders as intended
Elicitation (a client feature) The server asks the user for more information The client and the user A server asks for more than it needs The request is clear and the user can decline

Descriptions of each capability and who controls it come from the specification’s tools, resources, prompts and elicitation pages. The last two columns are our reading, not the specification’s.

Model Context Protocol: the host, the AI application, opens one client connection per MCP server; each server offers tools controlled by the model, resources driven by the application and prompts controlled by the user; MCP standardizes the connection, not what the agent does with it

Should your team expose its test tools or product through an MCP server, or call the API directly?

Our rule of thumb: build an MCP server when more than one AI application or agent needs the same tools, and call the API directly when only your own code calls it and the set of calls is fixed. A server adds a layer to maintain, so it has to earn its place.

Ask three questions. Who calls it: your own pipeline, or agents you do not control? How often does the tool set change? Who owns the server’s tests? If the answers are “agents we do not control”, “weekly” and “nobody yet”, you are ready to design the server but not to ship it. If you want AI agents to draft and repair your end-to-end tests, with engineers reviewing each change, agentic end-to-end testing is the service that matches.

What should you check before you connect a third-party MCP server to an agent?

Start with the permissions, because the specification does. It says “tools represent arbitrary code execution and must be treated with appropriate caution”. It also says descriptions of tool behavior, annotations included, are untrusted unless they come from a trusted server.

A short checklist, in our order:

  1. Who wrote the server, and who maintains it?
  2. What can each tool do? Read the tool list, not the server’s marketing.
  3. Is a person able to approve or deny a call? The specification says there “SHOULD always be a human in the loop with the ability to deny tool invocations”.
  4. Does the server get only the permissions it needs? The security best practices page lists scope minimization and warns against “token passthrough”, where a server accepts tokens not issued to it.
  5. Are tool calls logged, so you can reconstruct what the agent did?

Host software can help: OpenAI’s Agents SDK documentation has sections on tool filtering and on approval policies for local MCP servers. Our judgment: a tool description is text the model reads, so a hostile or careless one can steer the agent. Treat a new server like a new dependency, not a new colleague.

Where does testing fit?

Testing a server is a topic of its own. Our guide to how to test an MCP server has the method, a worked example and the CI gate. For the agent on the other side of the connection, see how to test AI agents. A server’s interface is a contract between it and each client, so, in our view, contract testing ideas carry over. A test harness is where a server’s tests run. Where an agent chooses tools by itself, the work moves toward autonomous testing, and our agentic test case standard describes how we write cases for it.

What does the Model Context Protocol not solve?

The protocol standardizes the connection and nothing else. It does not make the agent pick the right tool, check what a server returns, or limit what a tool may do. The specification itself says MCP “cannot enforce these security principles at the protocol level”. Those parts stay with your tests, your permissions and a person who reviews. A server that follows the specification can still be wrong, slow or unsafe, and an agent can still misuse a correct server.

What does Zapple.Tech do about it?

If you are not sure how your AI agents use tools, start with the evidence. Zapple.Tech starts with a one-week QA audit of one product area. It looks at its tests, pipeline and release process, and ends in a written report on what is at risk and what to fix first, plus a pilot plan you can run with Zapple.Tech or without it. Read more on the QA audit and assessment page.

Tell us about your agents and the tools they use in the form below.

  • Autonomous testing

    Autonomous testing means software, not a person, decides what to test, writes the checks and runs them. Tools cover parts of that loop today: Playwright's documented test agents explore an app, draft tests and repair failing ones. You still own the expected result, the test data and the release decision.

  • Contract testing

    Contract testing checks an integration point by testing each application in isolation against a shared contract that records the messages one side sends and the other expects. The caller is the consumer and the responder is the provider. It catches a breaking API change without deploying both services, but it does not prove the whole flow works.

  • API testing

    API testing checks a service directly through its interface rather than through a screen. Tests send requests to endpoints and verify responses, business rules, data and access rules. Our API testing services write automated API tests in your repository, covering contracts and back-end rules, and run them in your CI on every change.

  • AI testing

    AI testing is the testing of software that uses machine learning or large language models, whose outputs vary and cannot always be checked against one fixed answer. Our AI testing services build an evaluation dataset for your AI feature, a baseline of how it behaves today, and checks that run in your CI.

All terms in the glossary

Test with AI

Agentic e2e testing

End-to-end test automation where AI agents draft, run and repair tests and engineers review each change. Playwright or CodeceptJS. One-week audit.

See the service

Questions about Model Context Protocol

What is the Model Context Protocol?

The Model Context Protocol (MCP) is an open standard for connecting AI applications to external systems such as data sources, tools and workflows. The current specification is version 2026-07-28. It defines how a host application, its clients and a server exchange messages.

What is an MCP server?

An MCP server is a program that provides context to MCP clients. It can run on the same machine as the AI application or remotely. It offers any of three features: tools the model can run, resources with data, and prompts that a user can pick.

What is the difference between MCP and an API?

An API is one service's own interface. MCP is a shared protocol that lets an AI application discover and call the tools of any server that speaks it. In our view, an MCP server can wrap an existing API, so it adds a layer rather than replacing one.

Is MCP secure?

The specification says MCP cannot enforce its security principles at the protocol level. It tells implementors to build consent and authorization flows, and it calls tools arbitrary code execution. Security depends on the host, the server and how you configure permissions.

Request a QA audit quote

Tell us what you ship and what worries you.

What happens after you send this

  1. You send the form: your situation and what you need tested, then your name and work email.
  2. Within one business day, we reply with a suggested first step, its scope, timeline and a quote.
  • Fixed scope
  • You decide after each step
  • The tests live in your repository
  • An NDA signed before access

“They helped us to close the positions and consult our team how to proceed further. High-quality quick feedbacks with the deep checking of the required tasks, professional approach, great understanding of the company's technologies and product, detailed reports.”

Kristina Lavrentieva, Manager at keepgo.com, Israel
  • Rated 4.9 out of 5 on Clutch, from 7 client reviews
  • 42 completed test automation and infrastructure projects
  • Founded by the founders of CodeceptJS and Codeception, open-source testing frameworks

Request a QA audit quote

    What is closest to your situation?
    Optional. The product, the platforms, how often you release, what broke last.

    You decide after our reply whether to go ahead.

    Prefer to talk first? Book a call

    One-week QA audit · written report

    Request a QA audit quote