Anthropic MCP Server
Anthropic MCP Server
A GUIDE ON
MODEL CONTEXT
PROTOCOL (MCP)
WORKING
HANDS-ON
APPLICATIONS
& MORE
MCP
WHAT IS MCP?
It is a powerful open standard that was launched by Claude’s
parent company, Anthropic, in November 2024.
WHAT CAN WE DO
WITH MCP?
MCP streamlines communication between the AI clients and
data servers, enabling the system to access real-time data from
various sources without custom code or manual uploads.
Client: The interface for LLM responses (e.g., Claude's app, IDE-
like cursor, custom chatbots, etc).
Server: The data source storing context (e.g., Google Drive,
GitHub, database, local files, etc ).
MCP
GROWING POPULARITY
OF MCP
Clients Servers
MCP
MCP: HANDS ON
Tasks:
Server: Local files like documents and PDFs that are available
on the local system
MCP
Code:
An MCP server listens for greetings ("Hi", "Hey", "Hello") and responds with a
personalized message.
The server is created simply using FastMCP and the tool is added using
@mcp.tool() decorator.
Outputs can differ since the LLM decides the final response.
MCP
Output:
MCP
MCP: APPLICATIONS
Multi-Step Projects: MCP enables AI to coordinate tasks across platforms,
like event planning, without complex integrations.
Real-World Awareness: MCP helps AI interact with smart environments and IoT
devices, making it more proactive.