Lab build
Python MCP server
Python MCP server exposing tools, resources and prompt templates over stdio, SSE and streamable HTTP.
What it does
A server built with the MCP Python SDK registers tools, resources and prompt templates, is debugged in MCP Inspector over stdio and is connected to hosts through a JSON config file. The same server runs over SSE and streamable HTTP transports and is published to GitHub.
What was built
- 01
Tools are registered with the Python SDK and tested in MCP Inspector over stdio.
- 02
Resources and prompt templates are added alongside the tools.
- 03
Host config file connects the server to Claude Desktop and other MCP clients.
- 04
Transport setting runs the same server over stdio, SSE or streamable HTTP.
The pipeline, layer by layer
Four layers, one pipeline.
L1Server
- Python MCP server
L2Capabilities
- Tools
- Resources
- Prompt templates
L3Transport
- stdio
- SSE
- Streamable HTTP
L4Clients
- MCP Inspector
- Claude Desktop