S
Study LibraryPractice Lab

MCP Transport and Authorization

atomic-noteD8 · 10.6%Section: D8 Tools & MCPsUpdated 2026-11-15

MCP standard transports include stdio for local process communication and Streamable HTTP for networked servers; identity and trust remain separate design decisions.

Blueprint area: D8 - Tools and MCPs MOC (official domain weight 10.6%).

Engineering principles

  • With stdio, the client launches a subprocess, JSON-RPC messages use stdin/stdout, and logs must go to stderr rather than corrupting protocol output.
  • With Streamable HTTP, address endpoint authorization, session handling, origin validation and transport threats according to the current specification.
  • Never assume using HTTP implies OAuth is automatically enforced; implement the authorization model appropriate to your client/server deployment.
  • Use scoped service identities, rate limits and input validation independent of transport.

Failure modes

  • Printing debug logs to stdout can break stdio protocol framing.
  • Treating remotely supplied arguments as trusted can expose internal networks or secrets.

Check your understanding

  • ☐ Test JSON-RPC message exchange over both transports in an isolated lab.
  • ☐ Verify an unauthenticated remote client cannot call a privileged tool.

MCP Architecture Tools Resources and Prompts · Security Boundaries and Least Privilege · Exam Blueprint and Coverage

Evidence and verification

  • Provenance: author-written engineering synthesis aligned to exam guide objectives; this is not a transcript or hidden Skilljar lesson.
  • Primary references:
  • Check currency: model options, pricing, API flags, release-specific behavior and runtime permissions can change after the source was read. See Source Register.