Who trusts whom: the MCP threat model
In this lesson you will name the parties in an MCP connection, draw the trust boundaries between them, and see where the Cehpoint SOC's MCP server sits in that picture.
Why a threat model first
The Model Context Protocol (MCP) is an open standard that lets an AI application discover and call tools offered by other programs. It is convenient, and that is exactly why it needs a threat model: one line in a configuration file can give a model new powers over real systems. Before you decide what to allow, you need to know who is talking to whom, and what each party can be trusted with.
The parties
The MCP specification describes three roles:
- The host: the AI application a person uses, such as a chat app, an editor or a terminal coding agent. The host holds the conversation, talks to the AI model and decides what the person sees and approves.
- Clients: connectors inside the host. Each client keeps one connection to one server.
- Servers: programs that offer tools (things the model can call), and sometimes resources and prompts.
Around them sit two more parties that a threat model must not forget:
- The person, who should stay in charge of consequential actions.
- The AI model, which reads everything in its context (the person's words, tool descriptions, tool results, documents) and decides which tool to call next. The model cannot reliably tell an instruction from data.
The transports
MCP defines two standard transports:
- stdio: the host starts the server as a local program and talks to it over standard input and output. The server runs on your computer, with your privileges.
- Streamable HTTP: the client sends JSON-RPC messages to a server address over HTTPS. The server runs elsewhere and sees whatever the client sends.
The risks differ. A local server is code running as you: it can read your files and your keys. A remote server receives your data and holds whatever authority your credential gives it.
Who trusts whom
Draw the boundaries and ask what crosses each one.
| Boundary | What crosses it | What must not be trusted |
|---|---|---|
| Person to host | Requests and approvals | The host must not treat a model's suggestion as the person's approval |
| Host to model | Context: prompts, tool descriptions, tool results | The model's output is not authority; it may be steered by injected text |
| Client to server | Tool calls and the credential | The server must check the credential on every request; the client must not trust tool descriptions from servers it does not trust |
| Server to downstream systems | Actions on real systems | The server must limit what any single call can do |
The MCP specification's tools page says there should always be a human in the loop with the ability to deny tool invocations, and that clients must consider tool annotations untrusted unless they come from trusted servers. The security best practices page adds that MCP servers must not accept tokens that were not issued for them.
Where the Cehpoint SOC fits
Cehpoint Agentic SOC offers a remote MCP server at https://soc.cehpoint.co.uk/mcp, next to its REST API at https://soc.cehpoint.co.uk/v1. Both addresses are shown in the console under API and AI agents.

How it handles each boundary, as built:
- Every request carries a Bearer credential, checked before anything else. Without one the server answers HTTP 401. There are no sessions to hijack.
- It accepts only its own credentials: client API keys (
cehs_live_), the skill's device-bound token (socsk_at_) and partner keys. Anything else is refused. - The credential decides the account and the scope. Every answer is limited to the key's own account, and a read key cannot use any of the five act tools.
- Actions are a fixed list. The server's own instructions to agents say it plainly: every action is one of a fixed list built into the device agents, and nothing runs arbitrary commands. There is no "run this shell command" tool to abuse.
- The server tells the agent where to start: the
initializeanswer says to start withaccount_overview, to explain and ask the person beforetake_action,block_iporunblock_ip, and that read-only keys can read but not act. - Rate limit: 120 requests a minute per key; above that, HTTP 429.
The server offers 13 tools. Eight only read: account_overview, list_servers, server_status, list_alerts, explain_alert, vulnerable_software, threat_intel and incident_report. Five act and need an act-scope key: connect_server, run_check, take_action, block_ip and unblock_ip.
A threat model in five questions
For any MCP connection, write down:
- What can each tool do? List read tools and act tools separately.
- What credential does the server hold, and what can it reach? Scope, account, expiry.
- What text reaches the model from outside? Tool results, documents, web pages, alert evidence.
- Who approves consequential calls? The person, a host setting, or nobody?
- How would you know what happened? Which log names the agent?
The NCSC's guidelines for secure AI system development ask for this kind of thinking at the design stage: model the threats to your system, and design so that the impact of a compromised component is limited.
Summary
- MCP has a host, clients and servers; the model and the person are parties too.
- stdio servers run as you; Streamable HTTP servers receive what you send and hold your credential's authority.
- The model's output is never authority, and tool descriptions from untrusted servers are untrusted input.
- The Cehpoint MCP server checks a Bearer credential on every request, accepts only its own credentials, offers 13 tools (8 read, 5 act) and runs only fixed actions.
Sources
- MCP specification, Architecture: https://modelcontextprotocol.io/specification/2025-06-18/architecture
- MCP specification, Transports: https://modelcontextprotocol.io/specification/2025-06-18/basic/transports
- MCP specification, Tools: https://modelcontextprotocol.io/specification/2025-06-18/server/tools
- MCP Security Best Practices: https://modelcontextprotocol.io/specification/2025-11-25/basic/security_best_practices
- NCSC, Guidelines for secure AI system development: https://www.ncsc.gov.uk/collection/guidelines-secure-ai-system-development
- Cehpoint API and MCP reference: https://www.cehpoint.co.uk/docs/soc/developers