Module 3 — Building Clients
By Nelson Lin — 7+ years building ML / AI agent systems, founder of agent-engineering.dev & sandx.ai.
Published: Last updated:
mcp clientclient transportstool callingllm integrationclient testing
@modelcontextprotocol/client + transports (StdioClientTransport, Streamable HTTP)
Connecting, listing tools/resources/prompts, calling tools, reading resources
Handling structured content, errors, and pagination
Integrating with an LLM tool-calling loop (simple host example)
In-process and in-memory testing patterns
Official anchors: First client guide, Calling guide
Outcome: A working client that drives your server (and can evolve into a mini host).
Get new posts by Nelson Lin
Subscribe to receive email notifications when a new article is published.