• Agentic AI – MCP Custom Server Implementation

    Agentic AI – MCP Custom Server Implementation Table Of Contents: MCP Server Implementation? Math MCP Server Implementation. Weather MCP Server Implementation. MultiServer MCP Client + LangChain Agent. Run The Workflow. (1) MCP Server Implementation (2) Math MCP Server Implementation # math_server.py from fastmcp import FastMCP mcp = FastMCP("Math") @mcp.tool() def add(a: int, b:int)->int: """Add Two Numbers""" return a * b @mcp.tool() def multiply(a:int, b:int)-> int: """Multiply Two Numbers""" return a * b if __name__ ==== "__main__": mcp.run(transport="stdio") (3) Weather MCP Server Implementation # weather_server.py from fastamcp import FastMCP mcp = FastMCP("Weather") @mcp.tool() async def get_weather(location: str) -> str: """Get Weather

    Read More

  • Agentic AI – MCP Server Theory

    Agentic AI – MCP Server Explanation Table Of Contents: What Is MCP Server? How MCP Server Fit In The Flow? What An MCP Server Provides? Simple Analogy Of MCP Server. Why MCP Server Matter In Agentic AI. Challenges Of MCP Server. Example Of MCP Server. (1) What Is An MCP Server ? (2) How MCP Server Fits In The Flow ? (3) What An MCP Server Provides? (4) Simple Analogy (5) Why MCP Servers Matters In Agentic AI (6) Challenges Of MCP Servers (7) Examples Of MCP Servers

    Read More

  • Agentic AI – MCP Client Implementation

    Agentic AI – MCP Client Implementation Table Of Contents: What Is MultiServerMCPClient? Constructor  ‘connection’ Parameter. ‘callbacks’ Parameter. ‘tool_interceptor’ Parameter. ‘tool_name_prefix’ Parameter. ‘handle_tool_error’ Parameter. A Complete Example. Commonly Used Methods. (1) What Is MultiServerMCPClient ? (2) Constructor For MultiServerMCPClient ? (3) ‘connections’ Parameter (4) ‘callbacks’ Parameter (4) ‘tool_interceptors’ Parameter (5) ‘tool_name_prefix’ Parameter (5) ‘handle_tool_errors’ Parameter (6) A Complete Example. (6) Methods You Will Commonly Use. (7) Server Configurtion Parameters (8) Structure Of A Connection (9) Structure Of A Connection (10) Transport Parameter (11) ‘command’ Parameter (12) ‘env’ Parameter (13) ‘cwd’ Parameter (14) ‘url’ Parameter (15) ‘headers’ Parameter (16) ‘timeout’ Parameter (17)

    Read More

  • Agentic AI – MCP Client Theory

    Agentic AI – MCP Client Table Of Contents: What Is MCP Client? Example Analogy Of MCP Client. Where Does MCP Client Sit? Why Do We Need MCP Client. What Does The MCP Client Actually Do? Does The MCP Client Contain Tools? Does The MCP Client Execute Tools? What Does The MCP Client Know? Different Types Of MCP Client. Real World Example. Why Is  “MultiServerMCPClient” Is Asynchronous? Responsibilitiues Of MCP Client. Interview Questions. (1) What Is An MCP Client? (2) Real World Analogy Of MCP Client. (3) Where Does MCP Client Sit? (4) Why Do We Need AN MCP Client? (5)

    Read More