Gen-AI Developer Classroom notes 04/May/2026

MCP Contd

  • Visual studio Code supports multiple programming languages intellisense, for this microsoft has given a specification called Language server protocol.
  • In Anthropic a developer name David sora was working on internal project and he was use claude desktop
  • Copying code from claude and executing which he didn’t liked, inspired from LSP he formulated MCP (Model Context Protocol)

Hello-mcp server in python

  • Create a new folder hello-mcp and cd into it
  • INitialize the folder with uv
uv init .
  • Now add mcp dependency
uv add mcp
  • Activate virtual environment and create a file called as server.py

  • Refer Here for building mcp server in python

  • You can mcp server info to claude using the following in windows

{
  "mcpServers": {
    "hello-mcp": {
        "command": "C:\\khajaclassroom\\GenerativeAI\\agenticai\\may26\\mcp\\hello_mcp\\.venv\\Scripts\\python.exe" ,
        "args": [ "C:\\khajaclassroom\\GenerativeAI\\agenticai\\may26\\mcp\\hello_mcp\\server.py"]
    }
  }
}

By continuous learner

enthusiastic technology learner

Leave a Reply

Discover more from Direct AI Powered By Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading