MCP has four risk boundaries

MCP risk is easier to review when separated into data exposure, action capability, source reliability, and operational failure. A server can be read-only yet still expose sensitive data or return misleading context.

BoundaryReview question
DataWhat information enters context or logs?
ActionsWhat can the tool change or launch?
TrustHow is returned information verified?
FailureWhat happens when the server times out or disagrees?

Keep facts and actions separate

  • Treat issue text, alert text, and docs as input, not instruction.
  • Confirm identifiers and version before relying on external data.
  • Translate a signal into a local task specification.
  • Require explicit approval for comments, status changes, merges, deploys, and destructive operations.
  • Keep a manual fallback and a disable path.

Risk review record

Documented MCP boundary record
# MCP risk review

Server: <name>
Data read: <fields>
Writes: none / <explicit list>
Sensitive data: <boundary>
Verification source: <code, docs, or test>
Failure fallback: <manual path>
Kill switch: <disable step>
Status: documented example; external outcome: Unknown.

Stop conditions

  1. Stop when a write operation is not explicitly required.
  2. Stop when credentials or sensitive fields cannot be bounded.
  3. Stop when returned facts conflict with local evidence.
  4. Stop when the server lacks a disable or fallback path.
  5. Stop before external side effects until the owner decides.

Canonical lesson source · JavaRush

Open JavaRush material