How to Install FastMCP on Windows, macOS and Linux
Check your Python version, install the package with uv or pip, confirm it works and fix the problems people meet most often.
Read articleNine tutorials, arranged in the order most people need them: install the package, build a server, understand its components, then secure, deploy and test it.
Check your Python version, install the package with uv or pip, confirm it works and fix the problems people meet most often.
Read articleWrite a single-file server with a tool, a resource and a prompt, run it locally or over HTTP and call it from Python.
Read articleThe three MCP building blocks compared: what each one does, how to declare it and which to choose for a given job.
Read articleHow the STDIO and HTTP transports differ, when to use each and how to switch between them with a single argument.
Read articleConnect to local or remote servers from Python, call tools, read resources and handle results and errors.
Read articleProtect remote servers with JWT verification, token introspection or OAuth, and adopt habits that keep secrets safe.
Read articleRun your server over HTTP, add health checks, scale with stateless mode and put it behind systemd and nginx.
Read articleWrite quick, reliable tests with an in-memory client, pytest fixtures, parametrised cases and snapshots.
Read articleLet tools return forms, tables and charts that render in the conversation, and preview them locally.
Read article