Module 2 • Lesson 645 mins

The Model Context Protocol (MCP)

How MCP solves the N×M connectivity challenge, comparing Stdio vs SSE transports, MCP Inspector tooling, integration checklists, and schema contracts.

Understand technical and business value of the open MCP standard
Choose transport mechanisms (Local Stdio vs Remote SSE/HTTP)
Design strict tool contracts and apply the MCP consumption checklist

Start with the smallest useful interface

Use a direct function or API when one application owns both sides and the contract is stable. Add a protocol when independent tools, teams, runtimes, or clients need a shared boundary. Standardization has value only when it removes repeated integration work or makes governance clearer.

MCP addresses the model-to-tool boundary. Instead of building a custom wrapper for every model and every external system, the host connects to a server through a standard contract. This changes integration effort from a growing set of model-tool pairs into two smaller sets: models that understand MCP and tools exposed through MCP.

The onboarding flow has three product-relevant gates.

Onboarding an MCP Server

Three gates stand between a working server and a trustworthy dependency.

Select a gate to inspect what it must prove

Configuration

What this gate proves

Fixes credentials, read or write access, project boundary, and allowed resources up front.

PM evidence to require

Which data, for which users, under which identity, and with what retention - stated before connection.

If the synthetic test call fails, there is no reason to tune the model prompt yet.

Discovery answers where the capability comes from. A public community server is useful for a local prototype, but it should not quietly become a production dependency. Official managed servers and internal registries offer clearer ownership and review.

Configuration defines scope before connection. Credentials, read or write access, project boundaries, and allowed resources belong here. A tool described as "search company data" is not a usable contract until the team can say which data, for which users, under which identity, and with what retention.

Connection proves the contract works. The client should complete a handshake, list available tools, validate schemas, and run a harmless test call. This is the first point where the team can observe the difference between a connection problem, a schema problem, and an agent reasoning problem.

For the vendor agent, discovery finds an approved internal MCP server that exposes vendor records. Configuration grants read-only access to the analytics-pilot project and no other project. Connection lists findVendors and getVendorEvidence, validates their schemas, then requests one synthetic record. Only after those three gates pass does the agent use the server in its planning loop. If the synthetic call fails, there is no reason to tune the model prompt yet.