MCP Client SDK

MCP Server SDK

Misc

MCP Client and Server Architecture

What is the Model Context Protocol?

The Model Context Protocol (MCP) enables AI applications to access external tools, data sources, and prompts. It serves as a bridge between AI models and the outside world, allowing language models to interact with application-specific resources and functionality.

MCP provides several core capabilities:

In short, MCP gives LLM applications a standardized way to interact with external resources and tools.

Architecture

The AJ MCP SDK is structured around several core components that work together to implement the MCP specification:

The architecture follows a client-server model with flexible transport options. The client exchanges JSON-RPC messages over standard I/O pipes or the legacy HTTP/SSE transport implemented by this version.

Stdio Mode vs SSE Mode Comparison

Feature Stdio Mode SSE Mode
Deployment Local subprocess Independent server
Use Case Local development Distributed environments
Configuration Subprocess command required HTTP endpoints required
Multi-Client Support Not supported Supported
Network Requirement None Requires network connection