MCP from zero: write a server and call it
A minimal MCP server in Python with two tools and one resource, plus a client that lists and calls them over stdio. Tested with mcp 2.3.0.
Articles / tag
3 articles.
A minimal MCP server in Python with two tools and one resource, plus a client that lists and calls them over stdio. Tested with mcp 2.3.0.
A small eval harness for a tool-using agent. It checks which tools were called, with what arguments and in what order, then grades the final answer.
A 70-line Python bot that answers questions from a PDF, quotes the exact sentence with its page number, and refuses when the answer isn't there.