Build your own MCP server in Python with the current SDK (v2), test it without any AI or API key, and plug it into Claude Code. Version 2 renamed FastMCP to MCPServer, so tutorials made before July 2026 break on their first import: this one uses the new code, run and tested on mcp . 00:00 Intro 00:38 What MCP actually is 01:53 What changed in v2 02:53 Step 1: Install the SDK 03:29 Step 2: Your first tool 04:12 Step 3: Try it in the MCP Inspector 04:46 Step 4: Build a notes server 06:33 Step 5: Test it (no AI needed) 07:13 Step 6: Plug it into Claude Code 08:06 The silent mistake 08:59 Same server, other hosts 09:21 What to try next + recap Install: pip install "mcp[cli]" (or: uv add "mcp[cli]"; Python +) Inspector: uv run mcp dev Test: pytest Claude Code: claude mcp add notes -- uv run --with "mcp[cli]" mcp run /absolute/path/to/ (then /mcp in a session) Building and testing is free. Using the server inside Claude Code runs on your Claude plan or API credits. The full (53 lines) is shown line by line in Step 4. Numbers (as of 4 Nov 2026): 235,193,557 downloads of the mcp package in the last month ( ); 24,754 GitHub stars on modelcontextprotocol/python-sdk; 11,227 on the MCP Inspector. Sources: Logos and screenshots are shown for education and commentary. This channel is not affiliated with Anthropic, the Model Context Protocol project, Cursor or Microsoft. #MCP #ClaudeCode #Python











